diff --git a/dashboard/agent.py b/dashboard/agent.py index 7bf5e1551..cac2aa600 100644 --- a/dashboard/agent.py +++ b/dashboard/agent.py @@ -7,6 +7,7 @@ import platform import sys import socket import json +import time import traceback import aiohttp @@ -296,6 +297,16 @@ if __name__ == "__main__": max_bytes=args.logging_rotate_bytes, backup_count=args.logging_rotate_backup_count) + # The dashboard is currently broken on Windows. + # https://github.com/ray-project/ray/issues/14026. + if sys.platform == "win32": + logger.warning( + "The dashboard is currently disabled on windows." + "See https://github.com/ray-project/ray/issues/14026" + "for more details") + while True: + time.sleep(999) + agent = DashboardAgent( args.node_ip_address, args.redis_address,