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

GPU #44

Closed
abdcef opened this issue Nov 20, 2022 · 4 comments
Closed

GPU #44

abdcef opened this issue Nov 20, 2022 · 4 comments

Comments

@abdcef
Copy link

abdcef commented Nov 20, 2022

I get this error message:
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.

@ahmetoner
Copy link
Owner

Hello @abdcef,

Thank you for reporting, could you please describe your environment?

Distribution name and version (e.g. Ubuntu 18.10):
NVIDIA driver/Cuda version:
GPU (e.g. Asus Strix OC 1080 Ti):
Repository docker image version:
Docker run command:

Ahmet

@abdcef
Copy link
Author

abdcef commented Nov 20, 2022

Thanks. The run command was docker run -d --gpus all -p 9000:9000 -e ASR_MODEL=base onerahmet/openai-whisper-asr-webservice:latest-gpu
CleanShot 2022-11-20 at 09 11 04@2x
CleanShot 2022-11-20 at 09 11 55@2x

@autolyticus
Copy link

GPU passthrough does not work on macOS due to fundamental design limitations of Docker. Docker actually runs containers within a LinuxVM on macOS. If you wish to run GPU-accelerated containers, I'm afraid Linux is your only option.

Cf. NVIDIA/nvidia-container-runtime#133

drnic added a commit to drnic/whisper-asr-webservice that referenced this issue Nov 24, 2022
@abdcef abdcef closed this as completed Nov 24, 2022
@abdcef
Copy link
Author

abdcef commented Nov 24, 2022

Thanks for letting me know

ahmetoner added a commit that referenced this issue Nov 25, 2022
Explicit MacOS readme with explanation for no-GPU [closes #44]
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

3 participants