myshell-ai / MeloTTS

High-quality multi-lingual text-to-speech library by MyShell.ai. Support English, Spanish, French, Chinese, Japanese and Korean.
MIT License
4.81k stars 625 forks source link

MacOS installed though Docker. but docker run error:could not select device driver "" with capabilities: [[gpu]]. #40

Closed dcdebug closed 8 months ago

dcdebug commented 8 months ago

docker build successfully. my macbookpro is M1 chip. I run the command : sudo docker run --gpus all -it -p 8888:8888 melotts then get the error:

docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
ERRO[0000] error waiting for container:

Not supported ?

Zengyi-Qin commented 8 months ago

Try removing the --gpus all

dcdebug commented 8 months ago

Try removing the --gpus all

Thank you, it worked.