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

Python 3.12 alpha support #45904

Open
can-anyscale opened this issue Jun 12, 2024 · 6 comments
Open

Python 3.12 alpha support #45904

can-anyscale opened this issue Jun 12, 2024 · 6 comments
Assignees
Labels
core Issues that should be addressed in Ray Core Devprod enhancement Request for new feature and/or capability P0 Issues that should be fixed in short order

Comments

@can-anyscale
Copy link
Collaborator

can-anyscale commented Jun 12, 2024

Python 3.12 for Ray is now available under alpha support, starting from 2.31.0 version. You can either:

During the alpha and experimental phase, the wheel has been passing our smoke and critical tests, and we are looking forward to the community using it and giving us feedback as we continue to stabilize all use cases.

Following the alpha phase, we are now working on publishing the Ray Docker images. Thank you for your continuous feedback and patience.

@can-anyscale
Copy link
Collaborator Author

can-anyscale commented Jun 21, 2024

June 21st updates:

  • https://github.com/ray-project/ray/pull/45726/files is the current work to update python 3.12 across ray core, serve, data, ml and rllib
  • This task is highly complex since Ray supports numerous ecosystems and dependencies, many of which do not yet support Python 3.12 (e.g., Horovod, Gymnasium, Sklearn, MosaicML, among others).
  • We are making strategic decisions to allow the community to benefit from parts of Ray, rather than delaying an entire Ray release. Stay tuned for updates.

@OpenCoderX
Copy link

Thanks for the update. I appreciate the focus on stability. The last thing I want is to upgrade to 3.12 and then have to roll back to 3.11.

@anyscalesam anyscalesam added enhancement Request for new feature and/or capability P0 Issues that should be fixed in short order core Issues that should be addressed in Ray Core Devprod labels Jun 21, 2024
@can-anyscale can-anyscale changed the title Python 3.12 experimental support Python 3.12 alpha support Jun 26, 2024
@can-anyscale
Copy link
Collaborator Author

Jun 26th update:

  • python 3.12 ray wheel is now available at pypi, starting from 2.31.0 version (https://pypi.org/project/ray/2.31.0/)
  • this is an alpha release of the wheel, where the wheel has been passing our smoke and critical tests, and we are looking forward to the community using it and giving us feedback as we continue to stabilize all use cases.

@wallies
Copy link

wallies commented Jun 26, 2024

@can-anyscale will docker images be pushed at this alpha stage. Is this all thats needed to make that happen #46285?

@can-anyscale
Copy link
Collaborator Author

@wallies the docker images do not come with alpha stage yet, it will be the next and the last GA stage of the release

the docker image, in addition to just the ray wheel, comes with a set of dependencies pre-installed, so the most time-consuming part is to upgrade this list https://github.com/ray-project/ray/blob/master/python/requirements_compiled.txt to python 3.12; we are actively working on this

@wallies
Copy link

wallies commented Jun 27, 2024

appreciate the insight and work done here @can-anyscale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues that should be addressed in Ray Core Devprod enhancement Request for new feature and/or capability P0 Issues that should be fixed in short order
Projects
None yet
Development

No branches or pull requests

4 participants