Commit 835271fb authored by liangjing's avatar liangjing
Browse files

Update run_pretrain.py

parent fdac8fd9
......@@ -419,7 +419,7 @@ def dist_optimizer(args, optimizer):
dist_strategy.fuse_grad_size_in_MB = 0
if args.use_amp:
dist_strategy.amp = True
custom_white_list = [
custom_black_list = [
# 'softmax',
# 'softmax_grad',
# 'softmax_with_cross_entropy',
......@@ -428,7 +428,7 @@ def dist_optimizer(args, optimizer):
# 'reduce_sum_grad',
]
custom_black_list = [
custom_white_list = [
'arg_max',
'concat',
'cumsum',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment