Skip to content

Pytorch version #47

Answered by mzjb
keysongkang asked this question in Q&A
Jun 6, 2023 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Based on my usage experience, the CUDA version of PyTorch does not need to be exactly the same as the CUDA version on your machine. For example, I have a computer with CUDA 11.4 installed, and I have installed PyTorch with CUDA version 11.1, and it works fine.

The reason I suggest you install PyTorch with CUDA 11.1 is that I checked the pre-compiled binary files provided by PyTorch for version 1.9.1, and they only have CUDA version 11.1 available. You can see this by searching for torch-1.9.1 on https://download.pytorch.org/whl/torch_stable.html.

That's also why you ended up installing the CPU version of PyTorch when you tried to install CUDA version 11.2. If you want to install PyTorch 1…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@keysongkang
Comment options

@mzjb
Comment options

@keysongkang
Comment options

@mzjb
Comment options

Answer selected by keysongkang
@keysongkang
Comment options

@mzjb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants