提交 fb42b2fe 编写于 作者: L LDOUBLEV

unset CUDA_VISIBLE_DEVICES before train

上级 98d74348
......@@ -248,6 +248,7 @@ for gpu in ${gpu_list[*]}; do
cmd="${python} -m paddle.distributed.launch --ips=${ips} --gpus=${gpu} ${run_train} ${save_model_key}=${save_log} ${set_pretrain} ${set_epoch} ${set_autocast} ${set_batchsize} ${set_train_params1}"
fi
# run train
eval "unset CUDA_VISIBLE_DEVICES"
eval $cmd
status_check $? "${cmd}" "${status_log}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册