From 96f7356958bcea36a10f2a217ed912e9c789286b Mon Sep 17 00:00:00 2001 From: gongweibao Date: Wed, 16 Oct 2019 22:21:02 +0800 Subject: [PATCH] make dgc local off test=develop (#20652) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d1c3d4913..831448d1bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ option(WITH_GRPC "Use grpc as the default rpc framework" ${WITH_D option(WITH_INFERENCE_API_TEST "Test fluid inference C++ high-level api interface" OFF) option(WITH_HIGH_LEVEL_API_TEST "Test fluid python high-level api interface" OFF) option(PY_VERSION "Compile PaddlePaddle with python3 support" ${PY_VERSION}) -option(WITH_DGC "Use DGC(Deep Gradient Compression) or not" ON) +option(WITH_DGC "Use DGC(Deep Gradient Compression) or not" ${WITH_DISTRIBUTE}) option(SANITIZER_TYPE "Choose the type of sanitizer, options are: Address, Leak, Memory, Thread, Undefined" OFF) # PY_VERSION -- GitLab