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
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
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.