mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Fix ray memory command broken with RAY_ADDRESS='auto'. (#15892)
This commit is contained in:
parent
891648ea9e
commit
29e9ad01e2
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@ def memory_summary(address=None,
|
|||
from ray.new_dashboard.memory_utils import memory_summary
|
||||
if not address:
|
||||
address = services.get_ray_address_to_use_or_die()
|
||||
if address == "auto":
|
||||
address = services.find_redis_address_or_die()
|
||||
|
||||
state = GlobalState()
|
||||
state._initialize_global_state(address, redis_password)
|
||||
if stats_only:
|
||||
|
|
Loading…
Add table
Reference in a new issue