mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 10:33:16 +08:00
Add ability to not start Monitor when calling ray start (#13505)
This commit is contained in:
@@ -95,6 +95,8 @@ class RayParams:
|
||||
metrics_agent_port(int): The port to bind metrics agent.
|
||||
metrics_export_port(int): The port at which metrics are exposed
|
||||
through a Prometheus endpoint.
|
||||
no_monitor(bool): If True, the ray autoscaler monitor for this cluster
|
||||
will not be started.
|
||||
_system_config (dict): Configuration for overriding RayConfig
|
||||
defaults. Used to set system configuration and for experimental Ray
|
||||
core feature flags.
|
||||
@@ -150,6 +152,7 @@ class RayParams:
|
||||
enable_object_reconstruction=False,
|
||||
metrics_agent_port=None,
|
||||
metrics_export_port=None,
|
||||
no_monitor=False,
|
||||
lru_evict=False):
|
||||
self.object_ref_seed = object_ref_seed
|
||||
self.redis_address = redis_address
|
||||
@@ -190,6 +193,7 @@ class RayParams:
|
||||
self.java_worker_options = java_worker_options
|
||||
self.metrics_agent_port = metrics_agent_port
|
||||
self.metrics_export_port = metrics_export_port
|
||||
self.no_monitor = no_monitor
|
||||
self.start_initial_python_workers_for_first_job = (
|
||||
start_initial_python_workers_for_first_job)
|
||||
self._system_config = _system_config or {}
|
||||
|
||||
Reference in New Issue
Block a user