Hi to everyone,
I probably have some some compatibility problem between the versions of CUDA and PyTorch.
I can’t use the GPU and everytime I ran the command torch.cuda.is_available() the result is always FALSE.
I’m using Anaconda (on Windows 11) and I have tried many things (such as upgrading and downgrading variuos versions), but nothing has worked.
I have a GeForce MX150 and currently my versions are:
CUDA Version: 11.6
PyTorch Version: 1.13.1
Python Version 3.9.13
Thank you for your answer.
Unfortunatelly, there seams that the ‘1.13.1+cu117’ version doesn’t work with conda, but only with pip. Did you used pip or conda to install it?
I’m having the same problem with 2.0.0 as mentioned above, however the torch==1.3.1+cu117 doesn’t seem to work anymore:
ERROR: Could not find a version that satisfies the requirement torch==1.3.1+cu117 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0)
ERROR: No matching distribution found for torch==1.3.1+cu117
1.3.1+cu117 isn’t a valid build and I assume you want to install 1.13.1+cu117.
In any case I would still recommend installing the latest stable release instead of trying to fall back.
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0)
ERROR: No matching distribution found for torch==1.13.1+cu117
Installing 2.0.0&1.13.1 gives me AssertionError: Torch not compiled with CUDA enabled.
Previously, it couldn’t detect the CUDA of my RTX 2060. Spend two weeks on this.