NilsIrl / dockerc

container image to single executable compiler
GNU General Public License v3.0
2.74k stars 40 forks source link

What should I do to support CUDA? #15

Open mrhan1993 opened 4 months ago

mrhan1993 commented 4 months ago

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 commented 3 months ago

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 commented 3 months ago

it's not work.🥹

NilsIrl commented 1 week ago

Pointers on where to begin tackling this issue: