diff --git a/paddle/operators/nccl/nccl_gpu_common.h b/paddle/operators/nccl/nccl_gpu_common.h index 017492a0d8..55e7d8db66 100644 --- a/paddle/operators/nccl/nccl_gpu_common.h +++ b/paddle/operators/nccl/nccl_gpu_common.h @@ -17,10 +17,8 @@ class NCCLManager { ~NCCLManager() {} private: - // clang-format off std::vector _comms; std::vector _gpu_worlds; - // clang-format on }; class NCCLContext : public DeviceContext { @@ -29,11 +27,9 @@ class NCCLContext : public DeviceContext { virtual ~NCCLContext(); private: - // clang-format off std::vector _gpu_ids; std::vector _streams; int root_gpu; - // clang-format on }; } }