I guess your NVIDIA driver installation might not have been successful, as PyTorch cannot detect any GPUs or alternatively, you are installing the CPU-only binaries.
We’ve seen these issues in the past when users forgot to restart their machine after a driver update, so maybe this could also be the case for you?