ray-project / ray

Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
https://ray.io
Apache License 2.0
31.9k stars 5.44k forks source link

Python 3.12 alpha support #45904

Open can-anyscale opened 2 weeks ago

can-anyscale commented 2 weeks ago

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 commented 1 week ago

June 21st updates:

OpenCoderX commented 1 week ago

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.

can-anyscale commented 3 days ago

Jun 26th update:

wallies commented 3 days ago

@can-anyscale will docker images be pushed at this alpha stage. Is this all thats needed to make that happen https://github.com/ray-project/ray/pull/46285?

can-anyscale commented 3 days ago

@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 commented 3 days ago

appreciate the insight and work done here @can-anyscale