Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=2.6.3
->>=2.7.1
Release Notes
ray-project/ray (ray)
v2.7.1
Compare Source
Release Highlights
application
tag to theray_serve_num_http_error_requests
metricError QPS per Application
panel in the Ray DashboardTrial.node_ip
property (#40028)ray start
would occasionally fail withValueError:
acceleratorTypeshould match v(generation)-(cores/chips).
Ray Libraries
Ray Serve
🔨 Fixes:
Error QPS per Application
panel in the Ray DashboardRLlib
🔨 Fixes:
Ray Core and Ray Clusters
🔨 Fixes:
Thanks
Many thanks to all those who contributed to this release!
@chaowanggg, @allenwang28, @shrekris-anyscale, @GeneDer, @justinvyu, @can-anyscale, @edoakes, @architkulkarni, @rkooo567, @rynewang, @rickyyx, @sven1977
v2.7.0
Compare Source
Release Highlights
Ray 2.7 release brings important stability improvements and enhancements to Ray libraries, with Ray Train and Ray Serve becoming generally available. Ray 2.7 is accompanied with a GA release of KubeRay.
DeploymentHandle
API to unify various existing Handle APIs, a high performant gRPC proxy to serve gRPC requests through Ray Serve, along with various stability and usability improvements.Take a look at our refreshed documentation and the Ray 2.7 migration guide and let us know your feedback!
Ray Libraries
Ray AIR
🏗 Architecture refactoring:
Ray Data
🎉 New Features:
Read
andMap
operator (zero-copy fusion) (#38789)Dataset.write_images
to write images (#38228)Dataset.write_sql()
to write SQL databases (#38544)Dataset.map()
andflat_map()
(#38606)💫Enhancements:
FileBasedDataSource
(#39493)ArrowBlock
building time for blocks of size 1 (#38988)partition_filter
parameter toread_parquet
(#38479)Dataset.take()
and related methods (#38677)reader.get_read_tasks
until execution (#38373)iter_batches
an Iterable (#37881)Dataset.to_pandas()
(#37420)Dataset.to_dask()
parameter to toggle consistent metadata check (#37163)Datasource.on_write_start
(#38298)DatasetDict
as input intofrom_huggingface()
(#37555)🔨 Fixes:
Preprocessor
that have been fit in older versions (#39488)RefBundles
(#39085)local_uri
to all non-Parquet data sources (#38719)ctx
parameter toDatasource.write
(#38688)map_batches
over empty blocks (#38161)ActorPool
map_batches
(#38110)tif
file extension toImageDatasource
(#38129)_block_udf
fromFileBasedDatasource
reads (#38111)📖Documentation:
Ray Train
🤝 API Changes
train.Checkpoint
class that unifies interaction with remote storage such as S3, GS, and HDFS. The changes follow the proposal in [REP35] Consolidated persistence API for Ray Train/Tune (#38452, #38481, #38581, #38626, #38864, #38844)preprocessor
arg toTrainer
(#38640)Result.log_dir
(#38794)💫Enhancements:
🔨 Fixes:
🏗 Architecture refactoring:
📖Documentation:
Ray Tune
🤝 API Changes
train.Checkpoint
class that unifies interaction with remote storage such as S3, GS, and HDFS. The changes follow the proposal in [REP35] Consolidated persistence API for Ray Train/Tune (#38452, #38481, #38581, #38626, #38864, #38844)Result.log_dir
(#38794)💫Enhancements:
🔨 Fixes:
🏗 Architecture refactoring:
Ray Serve
🎉 New Features:
DeploymentHandle
API that will replace the existingRayServeHandle
andRayServeSyncHandle
APIs in a future release. You are encouraged to migrate to the new API to avoid breakages in the future. To opt in, either usehandle.options(use_new_handle_api=True)
or set the global environment variableexport RAY_SERVE_ENABLE_NEW_HANDLE_API=1
. See https://docs.ray.io/en/latest/serve/model_composition.html for more details.get_app_handle
that gets a handle used to send requests to an application. The API uses the newDeploymentHandle
API.get_deployment_handle
that gets a handle that can be used to send requests to any deployment in any application.serve.status
which can be used to get the status of proxies and Serve applications (and their deployments and replicas). This is the pythonic equivalent of the CLIserve status
.--reload
option has been added to theserve run
CLI.💫Enhancements:
serve.start
andserve.run
have a few small changes and deprecations in preparation for this, see https://docs.ray.io/en/latest/serve/api/index.html for details.ray_serve_num_ongoing_http_requests
) to track the number of ongoing requests in each proxyRAY_SERVE_MULTIPLEXED_MODEL_ID_MATCHING_TIMEOUT_S
flag to wait until the model matching.🔨 Fixes:
asyncio.Event
s not being removed in the long poll host: #38516.ray_serve_deployment_queued_queries
wouldn’t decrement when clients disconnected: https://github.com/ray-project/ray/pull/37965.📖Documentation:
RLlib
🎉 New Features:
💫Enhancements:
🔨 Fixes:
📖Documentation:
Ray Core and Ray Clusters
Ray Core
🎉 New Features:
num_returns="dynamic"
generator. The API could be used by specifyingnum_returns="streaming"
. The API has been used for Ray data and Ray serve to support streaming use cases. See the test script to learn how to use the API. The documentation will be available in a few days.💫Enhancements:
pip install ray
doesn't require the Python grpcio dependency anymore.ray job submit
now exits with1
if the job fails instead of0
. To get the old behavior back, you may useray job submit ... || true
. (#38390)get_assigned_resources
in pg will return the name of the original resources instead of formatted name (#37421)${ENV_VAR}
now can be replaced. Previous versions only supported limited number of env vars. (#36187)🔨 Fixes:
ray start --node-ip-address=...
, the driver also had to specifyray.init(_node_ip_address)
. Now Ray finds the node ip address automatically. (#37644)ray.init
: #26019Ray Clusters
💫Enhancements:
📖Documentation:
Thanks
Many thanks to all those who contributed to this release!
@simran-2797, @can-anyscale, @akshay-anyscale, @c21, @EdwardCuiPeacock, @rynewang, @volks73, @sven1977, @alexeykudinkin, @mattip, @Rohan138, @larrylian, @DavidYoonsik, @scv119, @alpozcan, @JalinWang, @peterghaddad, @rkooo567, @avnishn, @JoshKarpel, @tekumara, @zcin, @jiwq, @nikosavola, @seokjin1013, @shrekris-anyscale, @ericl, @yuxiaoba, @vymao, @architkulkarni, @rickyyx, @bveeramani, @SongGuyang, @jjyao, @sihanwang41, @kevin85421, @ArturNiederfahrenhorst, @justinvyu, @pleaseupgradegrpcio, @aslonnie, @kukushking, @94929, @jrosti, @MattiasDC, @edoakes, @PRESIDENT810, @cadedaniel, @ddelange, @alanwguo, @noahjax, @matthewdeng, @pcmoritz, @richardliaw, @vitsai, @Michaelvll, @tanmaychimurkar, @smiraldr, @wfangchi, @amogkam, @crypdick, @WeichenXu123, @darthhexx, @angelinalg, @chaowanggg, @GeneDer, @xwjiang2010, @peytondmurray, @z4y1b2, @scottsun94, @chappidim, @jovany-wang, @jaidisido, @krfricke, @woshiyyya, @Shubhamurkade, @ijrsvt, @scottjlee, @kouroshHakha, @allenwang28, @raulchen, @stephanie-wang, @iycheng
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.