Reputation: 1611
I tried following steps at: https://pytorch.org/get-started/locally/
First I created a conda environment as:
conda create -n facenet37_2 python=3.7
Then on above site I selected:
PyTorch Build: Stable (1.4)
OS: Linux (I am using Ubuntu 18.04)
Package: conda
Language: python
CUDA: 10.1
and it asked me to run following command:
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
But after that when I opened python and typed:
import torch
torch.cuda.is_available()
I get False
I have GeForce GT 630M (computeCapability: 2.1). But it is not getting detected. Why? Is it too old and no longer supported? How can I fix the issue?
Edit: Why did I get a negative vote?
Upvotes: 4
Views: 11135
Reputation: 22204
The GeForce GT 630M has compute capability 2.1 and therefore only supports up to CUDA 8.
Due to the second point there's no way short of changing the PyTorch codebase to make your GPU work with the latest version. Your options are:
Upvotes: 3
Reputation: 8981
Your GPU architecture is Fermi. Last CUDA
version with support for Fermi is 8.0
and you have installed 10.1
The possible solution might be to install older CUDA
and PyTorch
version.
conda install pytorch==1.0.0 torchvision==0.2.1 cuda80 -c pytorch
Upvotes: 1