fix: fix typo

This commit is contained in:
wql 2024-09-05 14:47:17 +08:00
parent ba90bf1625
commit f71f62f2f6
1 changed files with 2 additions and 4 deletions

View File

@ -35,13 +35,11 @@ export USE_MODELSCOPE_HUB=1
# echo "${gpu_status_pid}"
if [ "${gpu_cnt}"="1" ]; then
ASCEND_RT_VISIBLE_DEVICES=0 llamafactory-cli train ${output_dir}/${run_name}.yml \
| tee ${output_dir}/log.txt" &
ASCEND_RT_VISIBLE_DEVICES=0 llamafactory-cli train ${output_dir}/${run_name}.yml | tee "${output_dir}/log.txt" &
train_pid=$!
echo "Start train"
else
FORCE_TORCHRUN=1 llamafactory-cli train ${output_dir}/${run_name}.yml \
| tee ${output_dir}/log.txt" &
FORCE_TORCHRUN=1 llamafactory-cli train ${output_dir}/${run_name}.yml | tee "${output_dir}/log.txt" &
train_pid=$!
echo "Start train"
fi