Need Example Docker File with GPU Support
Hi,Are there good examples of docker files which run apps using a GPU?  I’ve copied the docker file statements from a log for a Gradio space with a GPU enabled to create my docker file. But the Python statement “torch.cuda.is_available()” yields “false”.Thanks.
2023-10-09T08:45:12Z
i think@chris-rannoucan help!
2023-10-09T15:02:22Z
We dont expose GPU at build time, tha’ts this instruction will never work at build time, but should work at runtime
2023-10-09T18:55:05Z
A couple of templates examples for youhuggingface.coDockerfile · SpacesExamples/llama-cpp-python-cuda-gradio at mainWe’re on a journey to advance and democratize artificial intelligence through open source and open science.huggingface.coDockerfile · SpacesExamples/Gradio-Docker-Template-nvidia-cuda at mainWe’re on a journey to advance and democratize artificial intelligence through open source and open science.
2023-10-12T23:27:28Z
I appreciate it. I’ll check them out.