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

What should I do to support CUDA? #15

Open
mrhan1993 opened this issue Apr 19, 2024 · 5 comments
Open

What should I do to support CUDA? #15

mrhan1993 opened this issue Apr 19, 2024 · 5 comments

Comments

@mrhan1993
Copy link

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?

@NilsIrl
Copy link
Owner

NilsIrl commented Apr 20, 2024

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.

@mrhan1993
Copy link
Author

it's not work.🥹

@NilsIrl
Copy link
Owner

NilsIrl commented Aug 5, 2024

Pointers on where to begin tackling this issue:

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

@soitun
Copy link

soitun commented Oct 14, 2024

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

@hotwa
Copy link

hotwa commented Nov 26, 2024

so,dockerc not support nvidia gpu and other gpu?

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

4 participants