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

相关推荐
zhengqweasd8 小时前
机房托管服务器怎么选硬盘,机械盘和 SSD 托管场景差异
运维·服务器·github
七牛云行业应用11 小时前
OpenCode 报错 Rate limit exceeded:限流原因、日志定位与修复步骤(2026 年 10 月)
人工智能·github
SL_staff11 小时前
目标健康度自检清单:开发者视角下的目标-计划-任务链路断点诊断
java·开源·github
SL_staff11 小时前
设备越多系统越崩?根源在三层抽象失效
spring boot·物联网·github
北极象12 小时前
Adobe全家桶被AI克隆,github地址
adobe·github
来自于狂人14 小时前
GitHub 开源趋势日报 | 2026年10月9日
开源·github
wflynn14 小时前
GitHub 今日推荐|wordcraft:用 Rust 重写 Word 内核并开放给 AI 调用
rust·开源·github
用户8132679332516 小时前
行情数据晚到几秒,会让量化策略失去优势吗?从信号时间到回测偏差
后端·github·api
MicrosoftReactor16 小时前
技术速递|使用 GitHub Security Lab Taskflow Agent 实现 AI 驱动的模糊测试
人工智能·ai·github·copilot·agent·模糊测试·ai-agent