Skip to content

Commit

Permalink
amp list updated
Browse files Browse the repository at this point in the history
  • Loading branch information
arlesniak committed Feb 2, 2022
1 parent 0e0c5f4 commit e00e38b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ def _update_list(self):
}

# depends on the prev_op type
gray_list = gray_list_fp16
gray_list = {
'elementwise_add', 'elementwise_sub', 'elementwise_mul', 'elementwise_div',
'relu', 'layer_norm', 'slice', 'concat', 'uniform_random', 'reshape2',
'transpose2', 'pool2d', 'sigmoid', 'cast', 'scale', 'fill_constant', 'split'
}

_, _, _sys_unsupported_bf16_list = core.op_supported_infos(
'CPU', core.VarDesc.VarType.BF16)
Expand Down

0 comments on commit e00e38b

Please sign in to comment.