Ray 2.21.0

2.21.0

Ray-2.21.0

Added 2
  • Add read_lance API to read Lance Dataset
  • New MetricsLogger API now fully functional on the new API stack, working inside Learner classes and loss functions
Changed 4
  • Allow methods to pass type @serve.batch type hint
  • Allow configuring Serve control loop interval
  • Rename WorkerSet to EnvRunnerGroup, DEFAULT_POLICY_ID to DEFAULT_MODULE_ID, config.rollouts() to config.env_runners()
  • Change behavior of EnvRunnerGroup.foreach_worker methods to mark_healthy=True and healthy_only=True as new defaults
Fixed 11
  • Retry RaySystemError application errors
  • Fix bug with controller failing to recover for autoscaling deployments
  • Fix control+c after serve run doesn't shutdown serve components
  • Fix lightweight update max ongoing requests
  • Fix get_state() and from_state() methods in SingleAgent and MultiAgentEpisodes
  • Fix torch global_norm clipping overflow problem
Removed 1
  • Remove deprecated ray.air.callbacks modules

Ray Libraries

Ray Data

🎉 New features:

  • Add read_lance API to read Lance Dataset (#45106)

🔨 Fixes:

  • Retry RaySystemError application errors (#45079)

📖 Documentation:

  • Fix broken references in data documentation (#44956)
Ray Train

📖 Documentation:

  • Fix broken links in Train documentation (#44953)
Ray Tune

📖 Documentation:

  • Update Hugging Face example to add reference (#42771)

🏗 Architecture refactoring:

  • Remove deprecated ray.air.callbacks modules (#45104)
Ray Serve

💫 Enhancements:

  • Allow methods to pass type @serve.batch type hint (#45004)
  • Allow configuring Serve control loop interval (#45063)

🔨 Fixes:

  • Fix bug with controller failing to recover for autoscaling deployments (#45118)
  • Fix control+c after serve run doesn't shutdown serve components (#45087)
  • Fix lightweight update max ongoing requests (#45006)
RLlib

🎉 New Features:

  • New MetricsLogger API now fully functional on the new API stack (working now also inside Learner classes, i.e. loss functions). (#44995, #45109)

💫 Enhancements:

  • Renamings and cleanups (toward new API stack and more consistent naming schemata): WorkerSet -> EnvRunnerGroup, DEFAULT_POLICY_ID -> DEFAULT_MODULE_ID, config.rollouts() -> config.env_runners(), etc.. (#45022, #44920)
  • Changed behavior of EnvRunnerGroup.foreach_worker… methods to new defaults: mark_healthy=True (used to be False) and healthy_only=True (used to be False). (#44993)
  • Fix get_state()/from_state() methods in SingleAgent- and MultiAgentEpisodes. (#45012)

🔨 Fixes:

📖 Documentation:

  • Example scripts using the MetricsLogger for env rendering and recording w/ WandB: #45073, #45107

Ray Core

🔨 Fixes:

  • Fix ray.init(logging_format) argument is ignored (#45037)
  • Handle unserializable user exception (#44878)
  • Fix dashboard process event loop blocking issues (#45048, #45047)
Dashboard

🔨 Fixes:

  • Fix Nodes page sorting not working correctly.
  • Add back “actors per page” UI control in the actors page.

Many thanks to all those who contributed to this release: @rynewang, @can-anyscale, @scottsun94, @bveeramani, @ceddy4395, @GeneDer, @zcin, @JoshKarpel, @nikitavemuri, @stephanie-wang, @jackhumphries, @matthewdeng, @yash97, @simonsays1980, @peytondmurray, @evalaiyc98, @c21, @alanwguo, @shrekris-anyscale, @kevin85421, @hongchaodeng, @sven1977, @st--, @khluu

View original

Upgraded? How did it go?

Discussion