dockerc
dockerc copied to clipboard
What should I do to support CUDA?
I am using this project to run a project like stable-diffusion that requires CUDA support, but I cannot use --gpus all to specify GPU. What should I do?
Maybe try without --gpus all? If it works great. Otherwise it means it's a feature that needs to be implemented into dockerc. I don't currently have the time to look into this for the next couple of weeks.
it's not work.🥹
Pointers on where to begin tackling this issue:
- Figure out what
--gpusactually does - Replicate what it does in dockerc
@NilsIrl --gpus is a new option after installing nvidia docker runtime. For details, refer to docker runtime. When executing docker run , attach the --gpus option to mount the GPU on the host to the container.
so,dockerc not support nvidia gpu and other gpu?