libtorch如何下载之前的版本

近期要将Pytorch训练出来的模型,部署到libtorch上。由于我的机器上CUDA是9.0的版本,而现在Pytorch官网上提供的libtorch为1.4的版本. 不想再重新升级CUDA. 就寻找了一下libtorch之前的版本. 特此记录一下.

libtorch之前版本

下面为V1.0版本示例,想要下载其他版本,直接修改后面的版本号即可!!!

Linux

https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.0.0.zip
https://download.pytorch.org/libtorch/cu90/libtorch-shared-with-deps-1.0.0.zip

Mac

https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.0.0.zip

Windows:

https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.0.0.zip
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

Pytorch之前版本

直接访问下面网址根据命令下载即可
https://pytorch.org/get-started/previous-versions/

你可能感兴趣的:(随笔)