How to update NVIDIA-SMI and NVML in wsl-ubuntu?

i notice that after i update nvidia driver in windows, nvidia-smi version in wsl is not the same as in windows.
in WSL, the driver is updated but nvidia-smi and nvml is not. why is that and how to update it?

Windows 10:
NVIDIA-SMI version : 552.12
NVML version : 552.12
DRIVER version : 552.12
CUDA Version : 12.4

WSL2- ubuntu:
NVIDIA-SMI version : 550.73.01
NVML version : 550.73
DRIVER version : 552.12
CUDA Version : 12.4

1 Like

I have the same issue; when I run nvidia-smi it has a seg fault - interestingly when I run nvidia-smi.exe there is no seg fault and versions are all correct:

Windows 11:
NVIDIA-SMI version : 551.86
NVML version : 551.86
DRIVER version : 551.86
CUDA Version : 12.4

WSL2 (Ubuntu):
NVIDIA-SMI version : 550.65
NVML version : 550.65
DRIVER version : 551.86
CUDA Version : 12.4