Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for versions of Ray 2.4+ #3806

Open
chainlink opened this issue Dec 5, 2023 · 3 comments
Open

Support for versions of Ray 2.4+ #3806

chainlink opened this issue Dec 5, 2023 · 3 comments

Comments

@chainlink
Copy link

Is your feature request related to a problem? Please describe.
Hi there, just curious when you're planning support more recent versions of Ray. It looks like the ray version has been explicitly limited in the code.

@chainlink
Copy link
Author

It looks like this is being worked on

Could you give me an idea of priority / when this would land?

@arnavgarg1
Copy link
Contributor

Hi @chainlink! Thanks for raising this issue. You are right that this has been explicitly limited in Ludwig code to be Ray 2.3.1 or lower.

The reason we haven't supported further versions of Ray is that Ray's APIs were very unstable between Ray 2.1 and 2.4, and it took quite a few engineering hours to make each Ray release compatible with Ludwig. This is because Ludwig makes use of 4 Ray libraries - Ray core, Ray Data, Ray Train, and Ray Tune, all of which have changing APIs that need to be updated. We were waiting for their APIs to stabilize, which may now be the case.

I'm happy to pick this up in the coming weeks, but would be curious to know if there are certain features or enhancements that we should be aware of that would make it more compelling to upgrade to Ray 2.8.1 sooner rather than later from your perspective?

@chainlink
Copy link
Author

chainlink commented Dec 11, 2023

Makes sense! Maintaining integrations with a remote product is always a tricky balance. My biggest ask would be being able to schedule a ludwig training run in a ray job via the CLI (vs using the old direct attach method)

ie.

ray job submit --address="http://10.10.10.10:8265" --runtime-env-json='{"working_dir": ".", "pip": "requirements.txt" }' --entrypoint-num-gpus 1 -- ludwig train --config model.yaml --dataset "ludwig://alpaca"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants