Failed to initialize NVML: GPU access blocked by the operating system

Hi there, I’ve just installed Windows insider build 21354 and am getting the following errors when running nvidia-smi. Edit: it was working on the previous build.
Failed to initialize NVML: GPU access blocked by the operating system
Failed to properly shut down NVML: GPU access blocked by the operating system
Is this a known issue with this latest build? Is there any more info I can provide?
It looks like others are having the same issue.

1 Like

Got the same issue here.

WIP: 21354 + 470.14 driver

Semes it’s a known issue with WSL2
https://github.com/microsoft/WSL/issues/6773

1 Like

This issue has been fixed in the latest preview build 21359

https://github.com/microsoft/WSL/issues/6773#issuecomment-819755993