fix: fix typo
This commit is contained in:
parent
ba90bf1625
commit
f71f62f2f6
|
@ -35,13 +35,11 @@ export USE_MODELSCOPE_HUB=1
|
||||||
# echo "${gpu_status_pid}"
|
# echo "${gpu_status_pid}"
|
||||||
|
|
||||||
if [ "${gpu_cnt}"="1" ]; then
|
if [ "${gpu_cnt}"="1" ]; then
|
||||||
ASCEND_RT_VISIBLE_DEVICES=0 llamafactory-cli train ${output_dir}/${run_name}.yml \
|
ASCEND_RT_VISIBLE_DEVICES=0 llamafactory-cli train ${output_dir}/${run_name}.yml | tee "${output_dir}/log.txt" &
|
||||||
| tee ${output_dir}/log.txt" &
|
|
||||||
train_pid=$!
|
train_pid=$!
|
||||||
echo "Start train"
|
echo "Start train"
|
||||||
else
|
else
|
||||||
FORCE_TORCHRUN=1 llamafactory-cli train ${output_dir}/${run_name}.yml \
|
FORCE_TORCHRUN=1 llamafactory-cli train ${output_dir}/${run_name}.yml | tee "${output_dir}/log.txt" &
|
||||||
| tee ${output_dir}/log.txt" &
|
|
||||||
train_pid=$!
|
train_pid=$!
|
||||||
echo "Start train"
|
echo "Start train"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue