Skip to content

Commit feec89a

Browse files
committed
Update ray.py
1 parent 34be7e2 commit feec89a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎modules/api/ray.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def ray_only():
3939
dashboard_port=int(os.environ.get("RAY_DASHBOARD_PORT", 8265))
4040
)
4141
elif "RAY_HEAD_ADDRESS" in os.environ:
42-
ray.init(os.environ.get("RAY_HEAD_ADDRESS", ""))
42+
ray.init(address=os.environ.get("RAY_HEAD_ADDRESS", ""))
4343
elif "RAY_SERVE_ONLY" in os.environ:
4444
ray_only()
4545
else:

0 commit comments

Comments
 (0)