libtorch各版本windows下载

libtorch 1.0.0

release
# 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
debug (失效)
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.0.0.zip
# cuda
https://download.pytorch.org/libtorch/cu80/libtorch-win-shared-with-deps-debug-1.0.0.zip
https://download.pytorch.org/libtorch/cu90/libtorch-win-shared-with-deps-debug-1.0.0.zip
https://download.pytorch.org/libtorch/cu100/libtorch-win-shared-with-deps-debug-1.0.0.zip

libtorch 1.0.1

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.0.1.zip
# cuda
https://download.pytorch.org/libtorch/cu80/libtorch-win-shared-with-deps-1.0.1.zip
https://download.pytorch.org/libtorch/cu90/libtorch-win-shared-with-deps-1.0.1.zip
https://download.pytorch.org/libtorch/cu100/libtorch-win-shared-with-deps-1.0.1.zip
debug (失效)
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.0.1.zip
# cuda
https://download.pytorch.org/libtorch/cu80/libtorch-win-shared-with-deps-debug-1.0.1.zip
https://download.pytorch.org/libtorch/cu90/libtorch-win-shared-with-deps-debug-1.0.1.zip
https://download.pytorch.org/libtorch/cu100/libtorch-win-shared-with-deps-debug-1.0.1.zip

libtorch 1.1.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.1.0.zip
# cuda
https://download.pytorch.org/libtorch/cu90/libtorch-win-shared-with-deps-1.1.0.zip
https://download.pytorch.org/libtorch/cu100/libtorch-win-shared-with-deps-1.1.0.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.1.0.zip
# cuda
https://download.pytorch.org/libtorch/cu90/libtorch-win-shared-with-deps-debug-1.1.0.zip
https://download.pytorch.org/libtorch/cu100/libtorch-win-shared-with-deps-debug-1.1.0.zip

libtorch 1.2.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.2.0.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-1.2.0.zip
https://download.pytorch.org/libtorch/cu100/libtorch-win-shared-with-deps-1.2.0.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.2.0.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-debug-1.2.0.zip
https://download.pytorch.org/libtorch/cu100/libtorch-win-shared-with-deps-debug-1.2.0.zip

libtorch 1.3.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.3.0.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-1.3.0.zip
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.3.0.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.3.0.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-debug-1.3.0.zip
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.3.0.zip

libtorch 1.3.1

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.3.1.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-1.3.1.zip
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.3.1.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.3.1.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-debug-1.3.1.zip
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.3.1.zip

libtorch 1.4.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.4.0.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-1.4.0.zip
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.4.0.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.4.0.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-debug-1.4.0.zip
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.4.0.zip

libtorch 1.5.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.5.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-1.5.0%2Bcu92.zip
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.5.0.zip
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.5.0.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.5.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-debug-1.5.0%2Bcu92.zip
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.5.0.zip
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.5.0.zip

libtorch 1.6.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.6.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.6.0%2Bcu101.zip
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.6.0.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.6.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.6.0%2Bcu101.zip
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.6.0.zip

libtorch 1.7.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.7.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.7.0%2Bcu101.zip
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.7.0.zip
https://download.pytorch.org/libtorch/cu110/libtorch-win-shared-with-deps-1.7.0%2Bcu110.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.7.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.7.0%2Bcu101.zip
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.7.0.zip
https://download.pytorch.org/libtorch/cu110/libtorch-win-shared-with-deps-debug-1.7.0%2Bcu110.zip

libtorch 1.7.1

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.7.1%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.7.1%2Bcu101.zip
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.7.1.zip
https://download.pytorch.org/libtorch/cu110/libtorch-win-shared-with-deps-1.7.1%2Bcu110.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.7.1%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.7.1%2Bcu101.zip
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.7.1.zip
https://download.pytorch.org/libtorch/cu110/libtorch-win-shared-with-deps-debug-1.7.1%2Bcu110.zip

libtorch 1.8.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.8.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.8.0.zip
https://download.pytorch.org/libtorch/cu111/libtorch-win-shared-with-deps-1.8.0%2Bcu111.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.8.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.8.0.zip
https://download.pytorch.org/libtorch/cu111/libtorch-win-shared-with-deps-debug-1.8.0%2Bcu111.zip

libtorch 1.8.1

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.8.1%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.8.1%2Bcu102.zip
https://download.pytorch.org/libtorch/cu111/libtorch-win-shared-with-deps-1.8.1%2Bcu111.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.8.1%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.8.1%2Bcu102.zip
https://download.pytorch.org/libtorch/cu111/libtorch-win-shared-with-deps-debug-1.8.1%2Bcu111.zip

libtorch 1.8.2 (LTS)

release
# cpu
https://download.pytorch.org/libtorch/lts/1.8/cpu/libtorch-win-shared-with-deps-1.8.2%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/lts/1.8/cu102/libtorch-win-shared-with-deps-1.8.2%2Bcu102.zip
https://download.pytorch.org/libtorch/lts/1.8/cu111/libtorch-win-shared-with-deps-1.8.2%2Bcu111.zip
debug
# cpu
https://download.pytorch.org/libtorch/lts/1.8/cpu/libtorch-win-shared-with-deps-debug-1.8.2%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/lts/1.8/cu102/libtorch-win-shared-with-deps-debug-1.8.2%2Bcu102.zip
https://download.pytorch.org/libtorch/lts/1.8/cu111/libtorch-win-shared-with-deps-debug-1.8.2%2Bcu111.zip

libtorch 1.9.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.9.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.9.0%2Bcu102.zip
https://download.pytorch.org/libtorch/cu111/libtorch-win-shared-with-deps-1.9.0%2Bcu111.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.9.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.9.0%2Bcu102.zip
https://download.pytorch.org/libtorch/cu111/libtorch-win-shared-with-deps-debug-1.9.0%2Bcu111.zip

libtorch 1.9.1

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.9.1%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.9.1%2Bcu102.zip
https://download.pytorch.org/libtorch/cu111/libtorch-win-shared-with-deps-1.9.1%2Bcu111.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.9.1%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.9.1%2Bcu102.zip
https://download.pytorch.org/libtorch/cu111/libtorch-win-shared-with-deps-debug-1.9.1%2Bcu111.zip

libtorch 1.10.0

release
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.10.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.10.0%2Bcu102.zip
https://download.pytorch.org/libtorch/cu113/libtorch-win-shared-with-deps-1.10.0%2Bcu113.zip
debug
# cpu
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.10.0%2Bcpu.zip
# cuda
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.10.0%2Bcu102.zip
https://download.pytorch.org/libtorch/cu113/libtorch-win-shared-with-deps-debug-1.10.0%2Bcu113.zip
### LibTorch 使用教程和文档 #### 一、LibTorch简介 LibTorchPyTorch 的 C++ 前端实现,专为希望在 C++ 中构建深度学习应用的开发者设计。值得注意的是,LibTorch 仅适用于 C++ 开发环境[^1]。 #### 二、下载与安装指南 对于想要获取并配置 LibTorch 库的用户来说,官方提供了详细的指导说明来帮助完成这一过程。具体操作包括但不限于通过官方网站提供的链接直接下载预编译版本或者源码自行编译两种方式。 #### 三、核心组件解析 PyTorch 的 C++ API 主要由以下几个方面构成: - **ATen**: 提供基本的张量运算支持以及必要的数学函数集合; - **Autograd**: 构建于 ATen 之上,增加了反向传播所需的自动求导机制; - **C++ Frontend**: 实现了更高层次的功能抽象,便于快速搭建神经网络结构; - **TorchScript**: 支持即时执行模式下的动态图计算,并允许将模型序列化保存下来以便后续加载运行; - **C++ Extensions**: 利用这些工具可以在不改变现有 Python 接口的前提下引入高效的底层优化代码片段[^3]。 #### 四、Tensor 创建API详解 当涉及到具体的编程实践时,创建 Tensor 对象是最常见的需求之一。为此,LibTorch 提供了一套完整的接口用于定义不同类型的张量实例及其属性设置,如形状、数据类型等参数的选择均可以通过调用相应的方法轻松达成目标[^2]。 ```cpp // 示例:创建一个简单的二维浮点型tensor auto options = torch::TensorOptions().dtype(torch::kF32); torch::Tensor t = torch::ones({2, 3}, options); // 创建全1矩阵 std::cout << t << std::endl; ``` #### 五、进一步资源推荐 除了上述提及的内容外,还有更多关于如何有效利用该库的信息等待探索者们去发掘。建议查阅最新的官方文档以获得最权威的帮助和支持。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

和风细动帘帷暖

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值