Closed Sebulba46 closed 8 months ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Cuda support is done entirely through the nvidia runtime. nvidia-smi
for instance is injected into the container by the runtime. I'm not sure if nvcc
is also supposed to be injected or not. You may have to install that from a repo. But all that is beyond the scope of this image and the repo.
Try also setting the env vars for capabilities and gpu selection and see if that makes a difference.
Yeah, you are right, sorry for that. Basically, i found a way to install CUDA and cuDNN inside container. For those who whant to do this too:
Just follow this guide: https://github.com/ashutoshIITK/install_cuda_cudnn_ubuntu_20#uninstall-previous-versions
Make sure that nvidia-smi
command is working, then just install "libxml2" package via running this command:
sudo apt-get install libxml2
And follow steps of that guide.
Is there an existing issue for this?
Current Behavior
abc@0bede98b26ec:~/workspace$ nvcc --version nvcc command not found
abc@0bede98b26ec:~/workspace$ nvidia-smi +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 535.113.01 Driver Version: 535.113.01 CUDA Version: 12.2 | |-----------------------------------------+----------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+======================+======================| | 0 NVIDIA GeForce RTX 3090 Off | 00000000:01:00.0 Off | N/A | | 0% 27C P8 28W / 350W | 5MiB / 24576MiB | 0% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | No running processes found | +---------------------------------------------------------------------------------------+
Expected Behavior
abc@0bede98b26ec:~/workspace$ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Mon_Oct_11_21:27:02_PDT_2021 Cuda compilation tools, release 11.4, V11.4.152 Build cuda_11.4.r11.4/compiler.30521435_0
Steps To Reproduce
abc@0bede98b26ec:~/workspace$ nvcc --version
Environment
CPU architecture
x86-64
Docker creation
Container logs