下载github.com上的依赖资源

下载github.com上的依赖资源(需要反复试才能成功,所以单独安装)

export GIT_TRACE=1

export GIT_CURL_VERBOSE=1

pip install git+https://github.com/PanQiWei/AutoGPTQ.git -i https://pypi.mirrors.ustc.edu.cn/simple --trusted-host=pypi.mirrors.ustc.edu.cn

pip install git+https://github.com/huggingface/peft -i https://pypi.mirrors.ustc.edu.cn/simple

pip install git+https://github.com/huggingface/transformers -i https://pypi.mirrors.ustc.edu.cn/simple

服务器由于各种原因不能下载

采用方法之一:

win下:

git clone https://github.com/huggingface/transformers

发送到linux上,

pip install git+https://github.com/PanQiWei/AutoGPTQ.git -i https://pypi.mirrors.ustc.edu.cn/simple --trusted-host=pypi.mirrors.ustc.edu.cn

pip install git+https://github.com/huggingface/peft -i https://pypi.mirrors.ustc.edu.cn/simple

可采用:

pip setup install命令安装

安装:pip install git+https://github.com/huggingface/transformers -i https://pypi.mirrors.ustc.edu.cn/simple方法:

git clone https://github.com/huggingface/transformers.git(win上,服务器不能访问huggingface情况下)

cd transformers

pip install -e .

相关推荐
Jurio.16 小时前
开源 Codex Sticky:在终端 Codex CLI 长对话中始终固定底部输入框
linux·rust·github·开源软件·codex·codex cli
半夜修仙17 小时前
RabbitMQ中如何保证消息的可靠性传输
java·分布式·中间件·rabbitmq·github·java-rabbitmq
旅之灵夫18 小时前
【GitHub项目推荐--Harness:一体化的开源 DevOps 平台】⭐
github
虾壳云智能20 小时前
详解 OpenClaw 部署难点 绕过安全拦截与路径报错解决方案
人工智能·github·open claw教程·open claw一键部署
_codemonster21 小时前
Codex中github cli未通过身份验证解决方法
github
baozj1 天前
把徒步轨迹做成 3D 地形模型:开源工具「印迹 TrailPrint 3D」
前端·vue.js·github
逛逛GitHub1 天前
这 2 个免费的开源 Skill 太给劲儿,直接替代 Playwright。
github
uhakadotcom1 天前
什么是Mass Assignment(批量赋值)风险
后端·面试·github
Harvy_没救了1 天前
【github爆款】MarkItDown 部署与测评报告
github
comcoo1 天前
避坑指南:OpenClaw v2.7.9 Windows/macOS 零基础安装全过程
人工智能·windows·macos·github·开源软件·open claw·open claw部署包