@@ -152,6 +154,8 @@ Note: Add and adjust other parameters accroding to specific models and tasks.
...
@@ -152,6 +154,8 @@ Note: Add and adjust other parameters accroding to specific models and tasks.
You may add `--fp16=1` to start train using mixed precisioin training, which the training process will use float16 and the output model ("master" parameters) is saved as float32. You also may need to pass `--scale_loss` to overcome accuracy issues, usually `--scale_loss=8.0` will do.
You may add `--fp16=1` to start train using mixed precisioin training, which the training process will use float16 and the output model ("master" parameters) is saved as float32. You also may need to pass `--scale_loss` to overcome accuracy issues, usually `--scale_loss=8.0` will do.
Note that currently `--fp16` can not use together with `--with_mem_opt`, so pass `--with_mem_opt=0` to disable memory optimization pass.
### CE
### CE
CE is only for internal testing, don't have to set it.
CE is only for internal testing, don't have to set it.