我正在尝试在现有 Colab 脚本中执行 PyTorch 安装(torch==1.10.1+cu113),该脚本已开始失败

问题描述 投票:0回答:1

这些是 Google Colab 脚本(YOLOv5-obb 训练)的前几行,已经运行了几个月,但现在失败了:

!pip3 安装 torch==1.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html !nvcc -V !蟒蛇

这是我现在看到的输出: 查看索引:https://pypi.org/simplehttps://us-python.pkg.dev/colab-wheels/public/simple/ 查看链接:https://download.pytorch.org/whl/cu113/torch_stable.html 错误:找不到满足要求的版本 torch==1.10.1+cu113(来自版本:1.11.0、1.11.0+cu113、1.12.0、1.12.0+cu113、1.12.1、1.12.1 +cu113, 1.13.0, 1.13.1, 2.0.0) 错误:找不到 torch==1.10.1+cu113 的匹配分布 nvcc:NVIDIA (R) Cuda 编译器驱动程序 版权所有 (c) 2005-2022 NVIDIA 公司 建立于 Wed_Sep_21_10:33:58_PDT_2022 Cuda 编译工具,版本 11.8,V11.8.89 构建 cuda_11.8.r11.8/compiler.31833905_0 Linux 上的 Python 3.10.11(主要,2023 年 4 月 5 日,14:15:10)[GCC 9.4.0]

旧版本的 PyTorch 是否会在某个时候从存储库中转储?

installation torch
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.