Linux version:
cpu版本(Mac仅有cpu版本,和linux的cpu版本链接一样)
https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.0.0.zip
cuda版本
https://download.pytorch.org/libtorch/cu80/libtorch-shared-with-deps-1.0.0.zip
https://download.pytorch.org/libtorch/cu90/libtorch-shared-with-deps-1.0.0.zip
`
Windows version:
cpu版本
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.0.0.zip
cuda版本
https://download.pytorch.org/libtorch/cu80/libtorch-win-shared-with-deps-1.0.0.zip
https://download.pytorch.org/libtorch/cu90/libtorch-win-shared-with-deps-1.0.0.zip
https://download.pytorch.org/libtorch/cu100/libtorch-win-shared-with-deps-1.0.0.zip
Linux version:
https://download.pytorch.org/libtorch/cu90/libtorch-shared-with-deps-1.1.0.zip
https://download.pytorch.org/libtorch/cu100/libtorch-shared-with-deps-1.1.0.zip
Linux version:
https://download.pytorch.org/libtorch/cu92/libtorch-shared-with-deps-1.2.0.zip
https://download.pytorch.org/libtorch/cu100/libtorch-shared-with-deps-1.2.0.zip
Linux version:
https://download.pytorch.org/libtorch/cu100/libtorch-shared-with-deps-1.3.0.zip
https://download.pytorch.org/libtorch/cu101/libtorch-shared-with-deps-1.3.0.zip
Linux version:
https://download.pytorch.org/libtorch/cu101/libtorch-shared-with-deps-1.3.1.zip
Linux version:
https://download.pytorch.org/libtorch/cu101/libtorch-shared-with-deps-1.4.0.zip
Linux version:
https://download.pytorch.org/libtorch/cu101/libtorch-shared-with-deps-1.5.0.zip
https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.5.0.zip
https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.5.1.zip
Linux version:
https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.6.0.zip
Linux version:
https://download.pytorch.org/libtorch/cu110/libtorch-shared-with-deps-1.7.0%2Bcu110.zip
个人实践,发现libtorch对应的cuda版本对于本机的cuda版本是向下兼容的,比如cuda100的libtorch1.1.0可以在cuda9.0的机器上使用,不会报错,但是反过来会报错(cuda90的libtorch在cuda10的机器上去编译运行)。(没有所有版本都去实践,大致情况是如此,不排除个别情况)。另外要注意的是在Linux上,gcc必须要>=4.9.2,否则编译能通过,运行时报free()错。