dockerc icon indicating copy to clipboard operation
dockerc copied to clipboard

What should I do to support CUDA?

Open mrhan1993 opened this issue 1 year ago • 5 comments

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?

mrhan1993 avatar Apr 19 '24 02:04 mrhan1993

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.

NilsIrl avatar Apr 20 '24 21:04 NilsIrl

it's not work.🥹

mrhan1993 avatar Apr 22 '24 15:04 mrhan1993

Pointers on where to begin tackling this issue:

  • Figure out what --gpus actually does
  • Replicate what it does in dockerc

NilsIrl avatar Aug 05 '24 19:08 NilsIrl

@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.

soitun avatar Oct 14 '24 03:10 soitun

so,dockerc not support nvidia gpu and other gpu?

hotwa avatar Nov 26 '24 05:11 hotwa