# Ray 2.37.0 — Ray-2.37.0 - Product: Ray (https://whatsnew.fyi/product/ray) - Vendor: Anyscale - Date: 2024-09-24 - Version: 2.37.0 - Original notes: https://github.com/ray-project/ray/releases/tag/ray-2.37.0 - Permalink: https://whatsnew.fyi/product/ray/releases/2.37.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **changed** — Simplify custom metadata provider API - **changed** — Change counts of metrics to rates of metrics - **fixed** — Throw exception for non-streaming HF datasets with override_num_blocks argument - **changed** — Refactor custom optimizer rules - **fixed** — Remove ineffective retry code in plan_read_op - **fixed** — Fix incorrect pending task size if outputs are empty - **changed** — Update run status and add stack trace to TrainRunInfo - **added** — Allow control of some serve configuration via env vars - **changed** — Faster detection of dead replicas - **fixed** — Fix component id logging field - **added** — Add restart-failed-env option to EnvRunners - **changed** — Store episodes in state form for offline RL - **changed** — Replace GAE in MARWILOfflinePreLearner with GeneralAdvantageEstimation connector in learner pipeline - **added** — Add episode sampling to EpisodeReplayBuffer - **added** — Add SelfSupervisedLossAPI for RLModules that bring their own loss - **added** — Add InferenceOnlyAPI - **added** — Allow custom NCCL group for aDAG - **added** — Support buffered input for aDAG - **added** — Support multi node multi reader for aDAG - **changed** — Make is_gpu, is_actor, root_detached_id fields late bind to workers - **changed** — Reconstruct actor to run lineage reconstruction triggered actor task #### Ray Libraries ##### Ray Data 💫 Enhancements: - Simplify custom metadata provider API (#47575) - Change counts of metrics to rates of metrics (#47236) - Throw exception for non-streaming HF datasets with "override_num_blocks" argument (#47559) - Refactor custom optimizer rules (#47605) 🔨 Fixes: - Remove ineffective retry code in `plan_read_op` (#47456) - Fix incorrect pending task size if outputs are empty (#47604) ##### Ray Train 💫 Enhancements: - Update run status and add stack trace to `TrainRunInfo` (#46875) ##### Ray Serve 💫 Enhancements: - Allow control of some serve configuration via env vars ([#47533](https://github.com/ray-project/ray/pull/47533)) - [serve] Faster detection of dead replicas ([#47237](https://github.com/ray-project/ray/pull/47237)) 🔨 Fixes: - [Serve] fix component id logging field ([#47609](https://github.com/ray-project/ray/pull/47609)) ##### RLlib 💫 Enhancements: - New API stack: - Add restart-failed-env option to EnvRunners. ([#47608](https://github.com/ray-project/ray/pull/47608)[)](https://github.com/ray-project/ray/commit/e75f5e7aa950e30097a0323f4baf14d90b1b6b9b) - Offline RL: Store episodes in state form. ([#47294](https://github.com/ray-project/ray/pull/47294)[)](https://github.com/ray-project/ray/commit/aa7179a6fa24a0d95a1c9b85014bfb322d3447e6) - Offline RL: Replace GAE in MARWILOfflinePreLearner with `GeneralAdvantageEstimation` connector in learner pipeline. ([#47532](https://github.com/ray-project/ray/pull/47532)) - Off-policy algos: Add episode sampling to EpisodeReplayBuffer. ([#47500](https://github.com/ray-project/ray/pull/47500)) - RLModule APIs: Add `SelfSupervisedLossAPI` for RLModules[ that bri](https://github.com/ray-project/ray/commit/f422376cda3ae0dc52fc7686df3b1cb03342be7f)ng their own loss and `InferenceOnlyAPI`. ([#47581](https://github.com/ray-project/ray/pull/47581), [#47572](https://github.com/ray-project/ray/pull/47572)) ##### Ray Core 💫 Enhancements: - [aDAG] Allow custom NCCL group for aDAG (#47141) - [aDAG] support buffered input (#47272) - [aDAG] Support multi node multi reader (#47480) - [Core] Make is_gpu, is_actor, root_detached_id fields late bind to workers. (#47212) - [Core] Reconstruct actor to run lineage reconstruction triggered actor task (#47396) - [Core] Optimize GetAllJobInfo API for performance (#47530) 🔨 Fixes: - [aDAG] Fix ranks ordering for custom NCCL group (#47594) ##### Ray Clusters 📖 Documentation: - [KubeRay] add a guide for deploying vLLM with RayService (#47038) #### Thanks Many thanks to all those who contributed to this release! @ruisearch42, @andrewsykim, @timkpaine, @rkooo567, @WeichenXu123, @GeneDer, @sword865, @simonsays1980, @angelinalg, @sven1977, @jjyao, @woshiyyya, @aslonnie, @zcin, @omatthew98, @rueian, @khluu, @justinvyu, @bveeramani, @nikitavemuri, @chris-ray-zhang, @liuxsh9, @xingyu-long, @peytondmurray, @rynewang