openxlab / openxlab_lora.sh
ACCA225's picture
Upload openxlab_lora.sh
7f654da verified
raw
history blame contribute delete
No virus
320 Bytes
git clone --recurse-submodules https://github.com/Akegarasu/lora-scripts
cd lora-scripts
bash install.bash
# 将虚拟环境的 bin 目录添加到 PATH 环境变量
export PATH="/home/xlab-app-center/venv/bin:$PATH"
# 设置环境变量
export HF_ENDPOINT="https://hf-mirror.com"
# 运行 test.sh 脚本
bash test.sh