From 4c4b689f6a57605887e7fac557bbceb33629fcf5 Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Tue, 20 Jun 2017 16:43:13 +0800 Subject: [PATCH] disable go master --- go/pserver/cclient/test/test_mnist.py | 2 +- python/paddle/v2/__init__.py | 1 - python/setup.py.in | 4 +--- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/go/pserver/cclient/test/test_mnist.py b/go/pserver/cclient/test/test_mnist.py index d6fecc81b97..c3a3af55e28 100644 --- a/go/pserver/cclient/test/test_mnist.py +++ b/go/pserver/cclient/test/test_mnist.py @@ -81,7 +81,7 @@ def main(): trainer = paddle.trainer.SGD(cost=cost, parameters=parameters, update_equation=optimizer, - is_local=True, + is_local=False, pserver_spec="localhost:3000") lists = [] diff --git a/python/paddle/v2/__init__.py b/python/paddle/v2/__init__.py index 102331c0bb6..6a5b1160b91 100644 --- a/python/paddle/v2/__init__.py +++ b/python/paddle/v2/__init__.py @@ -57,7 +57,6 @@ __all__ = [ 'plot', 'evaluator', 'image', - 'master', ] diff --git a/python/setup.py.in b/python/setup.py.in index 8fe1cfd8b33..2e22f640cb5 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -8,8 +8,7 @@ packages=['paddle', 'paddle.v2', 'paddle.v2.dataset', 'paddle.v2.reader', - 'paddle.v2.plot', - 'paddle.v2.master'] + 'paddle.v2.plot'] setup_requires=["requests", "numpy", @@ -25,7 +24,6 @@ setup(name='paddle', description='Parallel Distributed Deep Learning', install_requires=setup_requires, packages=packages, - package_data={'paddle.v2.master': ['libpaddle_master.so'], }, package_dir={ '': '${CMAKE_CURRENT_SOURCE_DIR}' }, -- GitLab