下载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 .

相关推荐
CAD老兵17 小时前
一张 HTML 走天下:CAD-Viewer 首创的「离线 CAD 看图」
前端·javascript·github
ziyitty17 小时前
GitHub CLI 与 Codex 项目目录映射说明
github
Soari20 小时前
AI 编码智能体的“安全防弹衣”:深度拆解 agent-skills,构建百分百受信任的专业技能注册表
人工智能·网络安全·github·软件工程·aiagent·claudecode·agent-skills
淘矿人1 天前
Claude助力后端开发
java·开发语言·人工智能·python·github·php·pygame
森旺电子1 天前
白盒测试覆盖题
github
啵啵肠2 天前
给 AI Agent 一把求职 CLI:推荐一个面向 BOSS 直聘工作流的开源项目 boss-agent-cli
人工智能·github
谷哥的小弟2 天前
(最新版)Git&GitHub实操图文详解教程(03)—Git工作原理
git·github·版本控制·工作原理·git工作原理
STDD2 天前
Teeworlds / DDNet 服务器搭建:经典 2D 竞技平台游戏
服务器·游戏·github
STDD2 天前
Alien Swarm《异星虫群》: Reactive Drop 专用服务器搭建教程
运维·服务器·github
OpenTiny社区2 天前
2026 OpenTiny NEXT 产品调研启动!
前端·开源·github