Skip to content

Commit

Permalink
fix no-value-for-parameter in iscan
Browse files Browse the repository at this point in the history
  • Loading branch information
lelelelelez committed Apr 25, 2021
1 parent f16981b commit 9a37f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/fluid/distributed/ps_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class PaddlePSInstance(object):
instance = PaddlePSInstance(1, 2)
"""

def __init__(self, server_worker_mode, proc_per_node):
def __init__(self, server_worker_mode=1, proc_per_node=2):
self.dh = MPIHelper()
self._rankid = self.dh.get_rank()
self._server_worker_mode = server_worker_mode
Expand Down

0 comments on commit 9a37f68

Please sign in to comment.