Reputation: 172
I'm trying to check my GPUs from Windows PowerShell with nvidia-smi
but I can't get it to work.
I already checked this post but I don't see a folder that starts with nvdm in my C:\Windows\System32\DriverStore\FileRepository directory.
I have two version of CUDA installed v8.0 and v11.2 but my System Variables (CUDA_HOME, CUDA_PATH, CUDA_PATH_v11_2) all point towards the v11.2 folder.
Is there a reason I would have CUDA but not nvidia-smi
on my PC?
Upvotes: 3
Views: 10768
Reputation: 336
Just in case sommeone stumbles upon this problem in a more recent version:
Nvidia-smi commes included with cuda 12.4 (since cuda version 8 https://developer.nvidia.com/gpu-deployment-kit).
And the exec file is located at C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_362f239e9bd019fc
.
This means that the command will work in CMD but not in PowerShell. To solve this you need to add the path to environment variables.
Upvotes: 0
Reputation: 151849
Make sure that nvidia-smi.exe
is in the folder C:\Program Files\NVIDIA Corporation\NVSMI
. If it is not, you may wish to reinstall a NVIDIA GPU driver for your GPU, choosing a driver from a CUDA toolkit installer.
add the path to your windows Path
variable:
C:\Program Files\NVIDIA Corporation\NVSMI
to the Path
variable listed in the system variables section (select the variable, click "edit")nvidia-smi
Upvotes: 5