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