PyTorch not supported

I’m having trouble installing PyTorch. I’ve been trying to get it to work for hours, but it’s not working…
I get this error:

Found GPU0 NVIDIA GeForce GTX 1080 Ti which is of cuda capability 6.1.
Minimum and Maximum cuda capability supported by this version of PyTorch is
(7.0) - (12.0)

I downloaded PyTorch using this command:

pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu118

and in theory, cu118 is supported by my 1080ti.
The GTX 1080 Ti has a CUDA compute capability of 6.1
NVIDIA’s official documentation and support information confirm that the CUDA Toolkit 11.8 supports GPUs with compute capabilities starting at version 3.5. Since 6.1 is greater than 3.5, my GPU is fully supported.

What does torch.__version__, torch.version.cuda , and torch.cuda.get_arch_list()return?

Thank you for your attention, here it is:

PyTorch Version: 2.7.1+cu118
CUDA Version (PyTorch compiled with): 11.8
Supported CUDA Architectures: [‘sm_37’, ‘sm_50’, ‘sm_60’, ‘sm_61’, ‘sm_70’, ‘sm_75’, ‘sm_80’, ‘sm_86’, ‘sm_90’, ‘compute_37’]

The error message does not match the support matrix your current PyTorch binary supports:

So I guess you are using different environments and have installed a new PyTorch binary built with CUDA 12.8+.

Make sure you are installing and using a single PyTorch binary in each environment and uninstall all others.

OK, yes… there is a problem with the application I am using. Thank you for pointing that out to me.

I was looking for a Torch version compatible with the Nvidia 1080Ti and found the solution below; it worked for me.

I use the command below to install Pytorch 2.7.1 and Cuda 12.6.

# CUDA 12.6
pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu126

Note: I know it does not affect the GPU. I still got the warning below, which may not be related:

[W1128 19:26:28.710122151 NNPACK.cpp:57] Could not initialize NNPACK! Reason: Unsupported hardware.