Hi,
The PyTorch version you have downloaded is incompatible with GPU. Uninstall current version fully and install it again using available commands in PyTorch’s website.
But if you are sure about the package, update your Nvidia and cuda driver . You can still check consistent versions in the install page.