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

相关推荐
C++ 老炮儿的技术栈8 小时前
在 Scintilla 中为 Squirrel 语言设置语法解析器的方法
linux·运维·c++·git·ubuntu·github·visual studio
油泼辣子多加9 小时前
2025年07月25日Github流行趋势
github
OpenTiny社区9 小时前
把 SearchBox 塞进项目,搜索转化率怒涨 400%?
前端·vue.js·github
王小义笔记10 小时前
创建属于自己的github Page主页
github
猫头虎13 小时前
GitHub下载教程:2025年最新详解从GitHub上传、下载文件、子目录与完整项目【图文教程】
git·svn·gitee·开源·github·gitea·gitcode
go546315846513 小时前
在本地环境中运行 ‘dom-distiller‘ GitHub 库的完整指南
人工智能·深度学习·神经网络·算法·矩阵·github
绝无仅有18 小时前
Redis 服务挂掉排查与解决
后端·面试·github
飞询18 小时前
Window 部署 coze-stdio(coze 开发平台)
docker·github·coze
kymjs张涛18 小时前
零一开源|前沿技术周刊 #9
前端框架·开源·github
HelloGitHub18 小时前
《HelloGitHub》第 112 期
开源·github