未验证 提交 04a9e121 编写于 作者: W Wei Shengyu 提交者: GitHub

Merge pull request #617 from zhangting2020/fix_resnet_oom

fix oom for batch_size=208
......@@ -68,7 +68,7 @@ def main(args):
if 'AMP' in config:
AMP_RELATED_FLAGS_SETTING = {
'FLAGS_cudnn_exhaustive_search': 1,
'FLAGS_conv_workspace_size_limit': 4000,
'FLAGS_conv_workspace_size_limit': 1500,
'FLAGS_cudnn_batchnorm_spatial_persistent': 1,
'FLAGS_max_inplace_grad_add': 8,
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册