I have new windows server where I have installed WSL2 for GPU pass through, but nvidia-smi command is not working and it gives NVML initialization : unknown error whereas nvidia-smi.exe is working from the windows side
However, It works on another server with similar setup
how did you create this log output? WSL2 by default does not contain that script unless you have installed an NVIDIA driver inside the VM. Which you explicitly should not do.
Beside that, the log file does not contain any information on any NVIDIA GPU either.
If you are running in a server environment with Enterprise GPUs (and support) you might not be able to use WSL at all but should rather look at our VGPU services.
@MarkusHoHo , Can you please confirm if NVIDIA A100 in TCC mode supports on GPU pass through inside Hyper-V Ubuntu VM using DDA?
I have tried to allocate the GPU to Hyper-V Ubuntu VM and installed the driver inside the VM but nvidia-smi command still throwing the below error,
“NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.”