[linux]服务器挂代理提升下载权重速度

写在前面

这里主要以huggingface下载权重为例,介绍如何在linux中部署代理提升下载速度

实际操作

第一步:服务器安装clash文件

python 复制代码
https://github.com/Dreamacro/clash/releases#下载clash链接

第二步:使用自己的配置文件

将config.yaml替换掉即可
第三步:添加代理端口

python 复制代码
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890     ######以上代码只对当前窗口有效

第四步:开启服务器代理

python 复制代码
./clash -d .

第五步:找到huggingface权重下载链接

python 复制代码
git lfs install
git clone yourpath

第六步:下载权重,监控速度

python 复制代码
bwm-ng

欢迎关注!

相关推荐
未济1 天前
linux 配置环境变量
linux
傲世仙尊1 天前
目录即文件-Ext文件系统收尾篇
linux·c语言
_艾伦 耶格尔.1 天前
进程间通信
linux
Liuqy-051 天前
Linux IO编程——静态库、动态库
linux
彧azz1 天前
Linux 环境下 Redis 学习总结:数据类型、持久化、锁、事务、主从与缓存问题
linux·redis·笔记·学习·面试
-梅1 天前
linux(8) 软硬链接
linux·运维·服务器
AIgorithmGEEK1 天前
[Linux]线程三部曲(上):一个执行流的诞生——从操作系统一路拆到 pthread_create
linux·线程·pid
琥珀色糖1 天前
SimlpeHttp
linux·服务器
qeen871 天前
【Linux】操作系统之进程介绍(二)
linux·笔记·学习·进程
Zenova EdgeOS1 天前
Linux ss 工业边缘网络分析实战
linux·python·边缘计算·工业网关