NVIDIA_Drivers
NVIDIA_Drivers copied to clipboard
Which one should I use for Docker?
Use case: Currently OpenHands has a Docker container (assuming Ubuntu as the default WSL distro), and that often times it did not recognize the GPU (even when --gpus=all is added to the docker run function) https://github.com/All-Hands-AI/OpenHands
- Are we supposed to run these three in order?
docker_gpu_setup.shfor getting GPU access for DockerNVIDIA_drivers.shfor installing Nvidia driversinstall_cuda.mdfor installing CUDA
- Can these script just pick the latest compatible version of the packages?
- Is
docker_gpu_setup.shsupposed to run inside or outside the container? - Is this supposed to happen? Deprecation? https://github.com/NVIDIA/nvidia-docker https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html