记录AutoDL云服务器文件下载到本地
·
官方提供了文件存储挂载在了/root/autodl-fs下面,一般我们会选择压缩后移动到该目录下,再做下载(虽然文件夹也可以移动到该目录下,但是后续windows不好拉取)
以下都是在ssh连接后进行的指令
1、临时开个 http 下载
先压缩文件,压缩:V8_Epochs下面的checkpoint300
tar -C /root/autodl-tmp/output/qwen3-8b-tcm-lora/V8_Epochs20 \
-czf checkpoint-300-best.tar.gz checkpoint-300-best
下载依赖
apt install python3-pyftpdlib
把文件挂到 8000 端口
cd ~
python3 -m http.server 8000
打开本地powershell
wget http://localhost:8000/checkpoint-300-best.tar.gz -OutFile D:\LLaMA-Factory\output\qwen3-8b-tcm-lora\V8_Epochs20\checkpoint-300-best.tar.gz
就会下载到指定地址
坦然,git确实会更方便……
更多推荐
所有评论(0)