I want to run pytorch on my GPU: Nvidia GeForce 730 which compute capability is sm_35.
I found that the latest pytorch version supports this compute capability is pytorch 1.2.0, but I can’t install it because my pip only allows products with tags:
Compatible tags: 30
cp38-cp38-win_amd64
cp38-abi3-win_amd64
cp38-none-win_amd64
cp37-abi3-win_amd64
cp36-abi3-win_amd64
cp35-abi3-win_amd64
cp34-abi3-win_amd64
cp33-abi3-win_amd64
cp32-abi3-win_amd64
py38-none-win_amd64
py3-none-win_amd64
py37-none-win_amd64
py36-none-win_amd64
py35-none-win_amd64
py34-none-win_amd64
py33-none-win_amd64
py32-none-win_amd64
py31-none-win_amd64
py30-none-win_amd64
cp38-none-any
py38-none-any
py3-none-any
py37-none-any
py36-none-any
py35-none-any
py34-none-any
py33-none-any
py32-none-any
py31-none-any
py30-none-any
And there is not a pytorch 1.2.0 or lower versions are compiling with any of them. So I decided to compile source codes, and I met this error (full output is too long, and can be seen at Ubuntu Pastebin):
error C3861: “IsWindowsXPOrGreater”: 找不到标识符
Which means “Identifier ‘IsWindowsXPOrGreater’ Not Found”. I try to run commands build
, develop
or install
after run python setup.py clean
, but it still occur.
How to solve it? Or Is there a pytorch-1.2.0 for gpu cp38+cp38 distribution? Or other pytorch version can run in Nvidia GeForce 730 with cp38+cp38? If not, How can I solve the compilation error “error C3861: IsWindowsXPOrGreater: Identifier Not Found”?