Deprecate num_workers argument to ray.init and ray start. (#3114)

* Remove num_workers argument.

* Fix

* Fix
This commit is contained in:
Robert Nishihara
2018-10-28 20:12:49 -07:00
committed by Philipp Moritz
parent 9868af4c7c
commit 32f0d6b77e
17 changed files with 31 additions and 72 deletions
-4
View File
@@ -1303,8 +1303,6 @@ def _init(address_info=None,
object IDs. The same value can be used across multiple runs of the
same job in order to generate the object IDs in a consistent
manner. However, the same ID should not be used for different jobs.
num_workers (int): The number of workers to start. This is only
provided if start_ray_local is True.
num_local_schedulers (int): The number of local schedulers to start.
This is only provided if start_ray_local is True.
object_store_memory: The maximum amount of memory (in bytes) to
@@ -1554,8 +1552,6 @@ def init(redis_address=None,
object IDs. The same value can be used across multiple runs of the
same job in order to generate the object IDs in a consistent
manner. However, the same ID should not be used for different jobs.
num_workers (int): The number of workers to start. This is only
provided if redis_address is not provided.
local_mode (bool): True if the code should be executed serially
without Ray. This is useful for debugging.
redirect_worker_output: True if the stdout and stderr of worker