File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def __init__(self, np):
4747 which maps to a GPU on a GPU cluster or a CPU core on a CPU cluster.
4848 Accepted values are:
4949
50- - If -1 , this will spawn a subprocess on the driver node to run the Horovod job locally.
50+ - If <0 , this will spawn -np subprocesses on the driver node to run Horovod locally.
5151 Training stdout and stderr messages go to the notebook cell output, and are also
5252 available in driver logs in case the cell output is truncated. This is useful for
5353 debugging and we recommend testing your code under this mode first. However, be
@@ -63,8 +63,6 @@ def __init__(self, np):
6363 - If 0, this will use all task slots on the cluster to launch the job.
6464 """
6565 self .num_processor = np
66- if self .num_processor < - 1 :
67- raise ValueError ("Invalid number of processes: np = %s" % str (self .num_processor ))
6866
6967 def run (self , main , ** kwargs ):
7068 """
You can’t perform that action at this time.
0 commit comments