From c2a60bb1fa116610aa90a24f7b03388e9f9ccd62 Mon Sep 17 00:00:00 2001 From: guofei <52460041+gfwm2013@users.noreply.github.com> Date: Wed, 15 Apr 2020 10:37:26 +0800 Subject: [PATCH] Correct the wrong name in the flag comment (#22977) Correct the name [`FLAGS_sync_nccl_allreduce`](https://www.paddlepaddle.org.cn/documentation/docs/zh/advanced_guide/flags/others_cn.html#flags-sync-nccl-allreduce) based on the information from our official website. --- paddle/fluid/platform/flags.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/fluid/platform/flags.cc b/paddle/fluid/platform/flags.cc index 046fd16fb15..a5dd3401007 100644 --- a/paddle/fluid/platform/flags.cc +++ b/paddle/fluid/platform/flags.cc @@ -171,9 +171,9 @@ DEFINE_bool(cudnn_batchnorm_spatial_persistent, false, /** * NCCL related FLAG - * Name: FLAGS_enable_cublas_tensor_op_math - * Since Version: - * Value Range: + * Name: FLAGS_sync_nccl_allreduce + * Since Version: 1.3 + * Value Range: bool, default=true * Example: * Note: asynchronous nccl allreduce or synchronous issue: * https://github.com/PaddlePaddle/Paddle/issues/15049 -- GitLab