Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: manual device selection #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ztjhz
Copy link
Contributor

@ztjhz ztjhz commented Sep 30, 2022

Closes #11

chocies: cuda, cpu

yt_whisper "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --device cpu
yt_whisper "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --device cuda

If --device is not provided, default will be cuda if available else cpu (as implemented in the whisper model).

@axfelix
Copy link

axfelix commented Oct 19, 2022

Can this be merged? This appears to be defaulting to running on the CPU for me and I'm not sure why...

@axfelix
Copy link

axfelix commented Oct 19, 2022

Nevermind, I just had to update my pytorch library :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support running the model without GPU
2 participants