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

相关推荐
崔庆才丨静觅12 小时前
Claude Code GitHub Actions 使用教程
github·api·claude
砖厂小工1 天前
用 GLM + OpenClaw 打造你的 AI PR Review Agent — 让龙虾帮你审代码
android·github
程序员鱼皮1 天前
又一个新项目完结,我要出海了!
ai·github·开源项目
徐小夕1 天前
pxcharts-vue:一款专为 Vue3 打造的开源多维表格解决方案
前端·vue.js·github
Moment1 天前
想要长期陪伴你的助理?先从部署一个 OpenClaw 开始 😍😍😍
前端·后端·github
我叫黑大帅1 天前
前端如何利用 GitHub Actions 自动构建并发布到 GitHub Pages?
前端·面试·github
HelloGitHub2 天前
这个年轻的开源项目,想让每个人都能拥有自己的专业级 AI 智能体
开源·github·agent
刘发财2 天前
弃用html2pdf.js,这个html转pdf方案能力是它的几十倍
前端·javascript·github