NVIDIA_Drivers icon indicating copy to clipboard operation
NVIDIA_Drivers copied to clipboard

Which one should I use for Docker?

Open TomLucidor opened this issue 10 months ago • 1 comments

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

  1. Are we supposed to run these three in order?
  • docker_gpu_setup.sh for getting GPU access for Docker
  • NVIDIA_drivers.sh for installing Nvidia drivers
  • install_cuda.md for installing CUDA
  1. Can these script just pick the latest compatible version of the packages?
  2. Is docker_gpu_setup.sh supposed to run inside or outside the container?
  3. 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

TomLucidor avatar Jan 01 '25 11:01 TomLucidor