jina-ai / dalle-flow

🌊 A Human-in-the-Loop workflow for creating HD images from text
grpcs://dalle-flow.dev.jina.ai
2.83k stars 209 forks source link

Error running dalle-flow docker container on GPU VM in Azure #123

Open justin-romano opened 1 year ago

justin-romano commented 1 year ago

$ docker run -p 51005:51005 -it -v $HOME/.cache:/home/dalle/.cache --gpus all jinaai/dalle-flow docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown. ERRO[0000] error waiting for container: context canceled

Any ideas?

AmericanPresidentJimmyCarter commented 1 year ago

Sounds like nvidia-docker is not installed.

justin-romano commented 1 year ago

ok. so i did not spot this docker host requirement in the server hardware requirements. Maybe its worth a mention, not being familiar with docker assumed the containers could access the GPU hardware directly. I will figure out how to install this.