torchx icon indicating copy to clipboard operation
torchx copied to clipboard

eliminate ray dashboard address from runopts

Open d4l3k opened this issue 2 years ago • 0 comments

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

d4l3k avatar Jul 13 '22 20:07 d4l3k