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

could not select device driver "" with capabilities: [[gpu]]. #16

Closed
LordKayBanks opened this issue Nov 6, 2023 · 6 comments
Closed

Comments

@LordKayBanks
Copy link

screenshot below:

image

@jim60105
Copy link
Owner

jim60105 commented Nov 6, 2023

Do you have gpu support for your docker?
Please try again after completing this guide:
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html

@LordKayBanks
Copy link
Author

LordKayBanks commented Nov 7, 2023

thanks. i got it working.

@LordKayBanks
Copy link
Author

LordKayBanks commented Nov 7, 2023

One more thing, How can I use the large v2 model (mult-language model), so that i dont have to run and download another docker image over and over whenever i need to transcribe for a different language?

On Server:
image

On collab:

image

As you can see, It did not re-download in this case

@jim60105
Copy link
Owner

jim60105 commented Nov 8, 2023

On your collab, it did not re-download the align model because it had been downloaded before and the model is stored on the machine.
As for Docker, every time you excute docker run, it will open a new container and its cache is not shared.
You can docker mount the /cache folder to solve this problem.

@jim60105
Copy link
Owner

jim60105 commented Nov 8, 2023

Oh, I think I should add this to the readme.

@LordKayBanks
Copy link
Author

thank you. I should have thought of that.

persisted cache
docker run --gpus all -it -v ".:/app" -v whisper_cache:/cache ghcr.io/jim60105/whisperx:no_model -- --model large-v2 --language en --output_format srt audio.mp3

jim60105 added a commit that referenced this issue Nov 10, 2023
@jim60105 jim60105 pinned this issue Nov 23, 2023
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

No branches or pull requests

2 participants