未验证 提交 03710112 编写于 作者: B Bin Lu 提交者: GitHub

Update test_train_inference_python.sh

上级 921c24f5
...@@ -259,7 +259,7 @@ else ...@@ -259,7 +259,7 @@ else
fi fi
for autocast in ${autocast_list[*]}; do for autocast in ${autocast_list[*]}; do
if [ ${autocast} = "amp" ]; then if [ ${autocast} = "amp" ]; then
set_amp_config="Gloabl.use_amp=True Global.scale_loss=1024.0 Global.use_dynamic_loss_scaling=True" set_amp_config="Global.use_amp=True Global.scale_loss=1024.0 Global.use_dynamic_loss_scaling=True"
else else
set_amp_config=" " set_amp_config=" "
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册