mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 09:22:57 +08:00
[Dashboard] Start the new dashboard (#9860)
This commit is contained in:
+7
-3
@@ -617,8 +617,11 @@ class Node:
|
||||
if we fail to start the dashboard. Otherwise it will print
|
||||
a warning if we fail to start the dashboard.
|
||||
"""
|
||||
stdout_file, stderr_file = self.get_log_file_handles(
|
||||
"dashboard", unique=True)
|
||||
if "RAY_USE_NEW_DASHBOARD" in os.environ:
|
||||
stdout_file, stderr_file = None, None
|
||||
else:
|
||||
stdout_file, stderr_file = self.get_log_file_handles(
|
||||
"dashboard", unique=True)
|
||||
self._webui_url, process_info = ray.services.start_dashboard(
|
||||
require_dashboard,
|
||||
self._ray_params.dashboard_host,
|
||||
@@ -800,7 +803,8 @@ class Node:
|
||||
|
||||
self.start_plasma_store()
|
||||
self.start_raylet()
|
||||
self.start_reporter()
|
||||
if "RAY_USE_NEW_DASHBOARD" not in os.environ:
|
||||
self.start_reporter()
|
||||
|
||||
if self._ray_params.include_log_monitor:
|
||||
self.start_log_monitor()
|
||||
|
||||
Reference in New Issue
Block a user