CUDA support for vGPU in container/on host

hlab

New Member
Mar 26, 2023
22
1
3
I've installed driver version: 525.85.07 on pve host.
However support CUDA Version shows N/A.

How do I make sure CUDA is supported by `nvidia-smi` ?

I'm using:
NVIDIA Tesla P40
pve 7.4.13

Running `nvidia-smi`:

Bash:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.85.07    Driver Version: 525.85.07    CUDA Version: N/A      |
|-------------------------------+----------------------+----------------------+
| 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  Tesla P40           On   | 00000000:81:00.0 Off |                  Off |
| N/A   36C    P8    21W / 250W |     50MiB / 24576MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
 
I've installed driver version: 525.85.07 on pve host.
However support CUDA Version shows N/A.

How do I make sure CUDA is supported by `nvidia-smi` ?

I'm using:
NVIDIA Tesla P40
pve 7.4.13

Running `nvidia-smi`:

Bash:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.85.07    Driver Version: 525.85.07    CUDA Version: N/A      |
|-------------------------------+----------------------+----------------------+
| 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  Tesla P40           On   | 00000000:81:00.0 Off |                  Off |
| N/A   36C    P8    21W / 250W |     50MiB / 24576MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
Just to update: I need to install normal drivers (instead of host drivers) if I want cuda support on host (and in container)
In case of VM it's ok to install host driver and then normal drivers in VM itself
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!