File size: 436 Bytes
3d27cfe | 1 2 3 4 5 6 7 8 9 | # 1. 开始训练
llamafactory-cli train /root/test/weitiao/LLaMA-Factory/examples/train_lora/qwen3_4b_rm_lora.yaml
# 2. 训练完成后,调用 API 停止实例
curl --request POST \
--url https://api.ppinfra.com/gpu-instance/openapi/v1/gpu/instance/stop \
--header "Authorization: Bearer sk_BXypUUFtanaH9nwIXilww2I8IKxEXnEFLS-dqBpTJ54" \
--header "Content-Type: application/json" \
--data '{"instanceId":"58a06bbf6df6af07"}' |