From f4219c0d1dedd1593a02fa7cd6a585c8b697e8c7 Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Sun, 23 Sep 2018 19:44:21 +0800 Subject: [PATCH] fix table grad send sync_mode --- python/paddle/fluid/transpiler/distribute_transpiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/transpiler/distribute_transpiler.py b/python/paddle/fluid/transpiler/distribute_transpiler.py index 3f8c7b844..5c5987b92 100644 --- a/python/paddle/fluid/transpiler/distribute_transpiler.py +++ b/python/paddle/fluid/transpiler/distribute_transpiler.py @@ -1082,7 +1082,7 @@ to transpile() call.") if self.sync_mode else [] }, attrs={ - "sync_mode": False, + "sync_mode": self.sync_mode, "epmap": pserver_endpoints, RPC_OP_ROLE_ATTR_NAME: RPC_OP_ROLE_ATTR_VALUE, OP_ROLE_VAR_ATTR_NAME: [ -- GitLab