-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytorch-wheels镜像没有生效 #288
Comments
Is there any update? WORKAROUNDYou can manually specify the version and add the pip3 install \
torch==2.0.0+cu118 \
torchvision==0.15.1+cu118 \
torchaudio==2.0.1+cu118 \
-f https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html And you may need to find the version by visiting |
请遵循我们帮助文档的说明进行安装 |
https://mirror.sjtu.edu.cn/docs/pytorch-wheels 给的说明(首先捉个虫,写'=='就行了,文档里写成了'===')是 pip install torch===1.7.1 torchvision===0.8.2 torchaudio===0.7.2 -f https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html 用高版本pip (ubuntu22.04下的包管理版本) 执行会有警告信息:
此外,如果这些模块想要指定cuda版本(如cuda11.8),就得写成 pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu118 这个有无可能也做类似支持?目前 https://mirror.sjtu.edu.cn/pytorch-wheels/cu118 会直接重定向到torch官网。 此外, https://mirror.sjtu.edu.cn/pytorch-wheels/cu118/?mirror_intel_list 这个是自动更新的吗? torchvision的版本似乎没有0.16.0的。如果这个网址能保持最新,也可以避免每个torch模块都要单独指定cuda版本。 缕一下问题是以下几点:
|
尝试使用pip install torch --extra-index-url https://mirror.sjtu.edu.cn/pytorch-wheels/cu113 安装torch

但是最后还是走到了https://download.pytorch.org/whl/cu113/torch-1.12.1%2Bcu113-cp310-cp310-win_amd64.whl
这个文件确实是存在于https://mirror.sjtu.edu.cn/pytorch-wheels/cu113/torch-1.12.1%2Bcu113-cp310-cp310-win_amd64.whl 的,是我的使用方法有问题吗?如果确实是使用方法不对还请赐教
由于要写泛用的安装脚本,torch又比较大,直连的话速度非常不稳定,贵站的镜像会很有帮助,感谢
The text was updated successfully, but these errors were encountered: