Search code examples
pytorch

How to install PyTorch==1.12.1 with cudatoolkit==11.4?


The official installation page of PyTorch excludes the torch==1.12.1, cudatoolkit=11.4 option. How can I install it?

Alternatively, can I just install torch==1.12.1 with cudatoolkit=11.3 instead (which was present on the page)? Will it causing any harm to speed or performance?


Solution

  • yes, no harm. they are compatible.