I can see the GPU memery was consumed and I have all indications from pytorch that I am using GPU(such as torch.cuda.is_available(), and torch.cuda.get_device_name(0) ). But why GPU is alway 0% in task manager? Also I can’t see CUDA from dropdown in GPU tab:
I have CUDA version 12.0, and i have below installed:
torch.version
‘2.0.1+cu118’
torch.version.cuda
‘11.8’
I also did another check. I set the device=torch.device(‘cpu’) to make a comparison, and I found out CPU usage is rising (CPU usage is normal when I use GPU).
Seems something is wrong (because it feels the training process using GPU is vvvvvery long), but I can’t be sure. Could you please advise?
I’m not sure if it’s different in Windows. On Linux, nvidia-smi only shows you to current snapshot. If you want to continuously observe the usage while running something, try