abdeladim-s / subsai

🎞️ Subtitles generation tool (Web-UI + CLI + Python package) powered by OpenAI's Whisper and its variants 🎞️
https://abdeladim-s.github.io/subsai/
GNU General Public License v3.0
1.15k stars 96 forks source link

problem running with nvidea #121

Open diaverso opened 3 months ago

diaverso commented 3 months ago

I have ubuntu installed on WSL2, with cuda installed. https://imgur.com/jU0VFJQ

But when I run docker with the command "sudo docker compose run -p 8501:8501 -v /path/to/your/media_files/folder:/media_files subsai-webui"

I get this error https://imgur.com/RmA87Wo How can I solve it?

abdeladim-s commented 3 months ago

I think docker does not detect you have a NVIDIA GPU. Does the nbody docker image run without any problem ?

diaverso commented 3 months ago

Yes, it works without any problem.

abdeladim-s commented 3 months ago

Have you tried to run the docker with the argument --gpus=all ? You can take a look at this example