stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

Run docker compose up get error: nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1:

Open FreeBlues opened this issue 3 years ago • 0 comments

I can not install the "NVIDIA Container Toolkit" to my macOS(intel chip) on the 1st step "1 Install Docker, Docker Compose plugin, and NVIDIA Container Toolkit".

Any other done and success, but when I run the command "docker compose up", it returns the error:

" (venv) (base) ppt@MacBook-Pro stable-diffusion-optimizedSD-docker % docker compose up [+] Running 1/0 ⠿ Container stable-diffusion-optimizedsd-docker-sd-1 Created 0.1s Attaching to stable-diffusion-optimizedsd-docker-sd-1 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 (venv) (base) ppt@MacBook-Pro stable-diffusion-optimizedSD-docker % "

Any of you have the same problem? thanks.

FreeBlues avatar Sep 28 '22 09:09 FreeBlues