torchx
torchx copied to clipboard
eliminate ray dashboard address from runopts
Description
Currently we require the ray dashboard_address for communicating with the ray head node. Since runopts are only available during scheduling we embed it into the app_id as a work around. This stops working when we want to use list
since we don't have runopts or an app_id.
Ideally we'd switch to using RAY_ADDRESS
environment variable instead since that's standard and would be available in all methods. It's a tad problematic that RAY_ADDRESS is used in two different ways, one for dashboard and one for the client api.
Additional context/links
- https://github.com/ray-project/ray/issues/22221