github ray-project/ray ray-2.61.0
Ray-2.61.0

one hour ago

Highlights

  • Token authentication on by default: In this Ray release, every cluster runs with token authentication unless RAY_AUTH_MODE=disabled is set. ray.init() creates a token for a new local cluster, ray start --head requires one, and ray up and the autoscaler distribute it to worker nodes (#67523, #67258, #67457). Ray's Prometheus metrics endpoints now require the token too; set RAY_AUTH_SKIP_METRICS=1 to serve them without it (#67128, #67264). Read the breaking changes below before upgrading.
  • Ray Data fault tolerance and DataSource V2: We've added experimental lineage reconstruction to Ray Data (#66220, #66990, #67788, #68061). When this feature is on, Ray Data tracks the lineage of blocks processed in an execution, and automatically rebuilds lost blocks with proper resource accounting and backpressure. With this feature, Ray Data no longer depends on Ray Core for reconstructing lost blocks, which could cause oversubscription of the cluster. Turn it on with JobConfig(_disable_job_level_lineage_reconstruction=True); For more information, check the new Ray Data fault tolerance docs. DataSource V2 adds ORC, text, and MCAP readers (#66524, #68063, #66654).
  • Ray Train health monitoring and Train V1 notice: We've added RunConfig.health_config (alpha), which runs controller, node, and worker probes and lets the controller act on their results (#66536, #67856, #67915). Ray Train V1 now warns that it will be removed in Ray 3.0 when RAY_TRAIN_V2_ENABLED=0 is set (#68205).

⚠️ Breaking Changes

Token authentication is now on for every Ray cluster, not only local ones. Clusters, nodes and clients set up for 2.60 or earlier without a token stop working until they get the token or opt out.

Every cluster

  • Every node and client now needs the cluster's token. To opt out, set RAY_AUTH_MODE=disabled on every node and every client (#67523).
  • ray start --head no longer starts without a token. Run ray get-auth-token --generate first, then copy ~/.ray/auth_token (or a file RAY_AUTH_TOKEN_PATH points to) to every worker node and client machine. ray start never creates a token (#67258).
  • The dashboard asks for the token before it shows any page. The Jobs, State and Serve CLIs and SDKs need it on any machine that isn't the head (#67523).
  • A node, driver or client without the right token fails at once with AuthenticationError, which now subclasses ConnectionError, instead of retrying for about 20 to 30 seconds. A ray:// client whose token is rejected while it reconnects mid-session now raises at once. Auth error messages changed, and a second ray.init("ray://...") now says "Ray Client is already initialized" instead of "already connected", so code that matches these texts needs updating (#67126, #67150).
  • A cluster with RAY_AUTH_MODE=disabled rejects requests that carry a token, so clients must set RAY_AUTH_MODE=disabled too. Over gRPC it rejects any authorization metadata, including one a ray:// client sends for its own proxy. Over HTTP it rejects any non-empty Authorization header, Basic included, and any non-empty X-Ray-Authorization, with 401, so a reverse proxy in front of it must strip them (#67147, #67150).
  • RAY_AUTH_MODE accepts only token and disabled. Any other value, including an empty one, now fails at startup instead of turning auth off (#67523).
  • On load, Ray sets an existing ~/.ray/auth_token to mode 0600 and ~/.ray to 0700, so other files in ~/.ray, and the target of a symlinked ~/.ray or token file, become private too (#67776).

Prometheus and metrics

  • Ray's Prometheus metrics endpoints (each node, the dashboard head, the autoscaler and Serve's HAProxy exporter on port 9101) return 401 to scrapes without the token and 403 with a wrong one. Add the token to each scrape job, or set RAY_AUTH_SKIP_METRICS=1 on every node (#67128, #67264, #67418).
  • With token auth on, HAProxy's stats page moves from the stats port (:8404/stats by default) to the metrics port (:9101/stats by default), behind the token. RAY_SERVE_HAPROXY_STATS_PORT then has no effect, and the metrics port answers only GET and HEAD on the metrics and stats paths (#67418).
  • ray metrics launch-prometheus now fails when it finds no token, or the token file is unreadable, empty or holds more than one non-blank line, instead of writing a config without auth (#67128, #67523).

ray up and the cluster launcher

  • ray up decides whether to ship the token from a new top-level auth_mode key (token or disabled) in the cluster YAML, not from the RAY_AUTH_MODE of the shell running it. To opt a ray up cluster out, set auth_mode: disabled (#67523).
  • Existing ray up clusters, including ones that ran with auth off in 2.60, update every node once after the upgrade: each node reruns its setup commands and restarts Ray, and Docker containers restart. Run the first ray up after upgrading without --no-restart. In Docker mode, a running container keeps the old token after the local token changes (#67457).
  • ray up fails before launching a head when RAY_AUTH_TOKEN yields no token or RAY_AUTH_TOKEN_PATH names a missing or empty file (#67457).

KubeRay

  • With KubeRay 1.7.x and earlier, a RayCluster without authOptions: {mode: token} fails to start its head with "no authentication token was found". Set authOptions: {mode: token} (KubeRay 1.7.0 or later, with rayVersion 2.52.0 or later), or set RAY_AUTH_MODE=disabled on every pod. KubeRay 1.8.0 and later set RAY_AUTH_MODE=disabled on every Ray container when authOptions isn't set, so those clusters run with auth off (kuberay-project/kuberay#5496).

Ray on Spark

  • setup_ray_cluster needs a token on the Spark driver machine and on every Spark worker machine. Ray doesn't create or ship it (#67796).

Testing utilities

  • ray.cluster_utils.Cluster and AutoscalingCluster take a new enable_token_auth argument, default True, which runs the cluster with token auth regardless of RAY_AUTH_MODE. Tests that need auth off pass enable_token_auth=False. While a cluster runs, they set RAY_AUTH_MODE in the calling process and write ~/.ray/auth_token into HOME if no token exists, so a driver or ray start subprocess started with an environment not copied from os.environ is rejected. Both now raise RuntimeError when _system_config sets an AUTH_MODE that disagrees with the argument (#67258).

image_uri and container runtime environments

  • Each container.run_options item goes to podman as one argument, without a shell. Write --cap-drop=SYS_ADMIN instead of --cap-drop SYS_ADMIN, and $HOME/d instead of ~/d. $(...), backticks, quotes and $1 reach podman literally, $NAME takes a job env_vars value as written without expanding it, and a ${...} other than ${NAME} fails runtime env setup. Podman now runs with the raylet's environment, so a job's env_vars (such as PATH or REGISTRY_AUTH_FILE) reach only the container, not podman itself. A job's env_vars["RAY_AUTH_TOKEN_PATH"] no longer chooses which token file is mounted (#66975).

Ray Data

🎉 New Features

  • Add experimental lineage reconstruction, off by default: track data lineage in the streaming executor, rebuild lost blocks, and garbage-collect lineage once an operator is durable (#66220, #66990, #67788, #66845, #67365)
  • Add ORC, text, and MCAP readers on DataSource V2, and a shared byte-range line chunker for CSV and JSONL (#66524, #68063, #66654, #67725)
  • Add read_hive backed by HiveServer2, with native direct reads for nonpartitioned Hive tables (#66573, #67114)
  • Add a Gravitino Iceberg REST catalog provider (#67007)
  • Add a condition argument to Dataset.join, with equi-join keys extracted from it (#67590)
  • Add opt-in Top-N execution for sort(...).limit(k) under shuffle v2 (#66931)
  • Add a parallel shuffle_batches API and a small-chunks shuffle mode in FileShuffleConfig (#66934, #66625)
  • Add read_granularity="dataset" to read_lerobot (#66602)
  • Add opt-in full schema inference for Parquet and ORC, read in parallel (#66522, #67151, #67542)
  • Add the null-handling expressions is_finite, is_inf, and is_nan (#59876)
  • Add an exact TopKUnique aggregation (#66087)
  • Add generated_id_column checkpointing, which resumes by skipping committed work at the source (#66732, #66733, #66736, #67157)
  • Add data iterator checkpointing and worker-side save and load APIs for mid-epoch resumption with Ray Train (#66563, #66562, #66800)
  • Add an opt-in push-based streaming_split with Ray Train integration through PushBasedDataConfig (#66465, #66466)
  • read_mcap: add sample-based reads with TopicSpec, steps, and match checks (#67924, #67925)

💫 Enhancements

  • Fit encoders, SimpleImputer, and scalers through distributed aggregations, and batch Chain fitting by default. Chain.fit() now defers fitting: each member's stats_ stays empty until the first transform(), transform_batch() or serialization, which then fits members that share no columns in one pass over the data. Set RAY_DATA_ENABLE_AGGREGATION_BASED_PREPROCESSORS=0 to fit eagerly (#66088, #66091, #66092) (breaking)
  • Raise the minimum supported pyarrow from 17.0.0 to 23.0.0, and test up to 26.0.1. Ray Data raises on import with an older pyarrow (#68005) (breaking)
  • Shuffle v2: run sort on disk-based shuffle, support slice repartition and random shuffle, fuse the shuffle map with the upstream map operator, and propagate labels to map and reduce tasks (#67850, #66517, #68004, #68433, #67130, #66936, #67135)
  • Push predicates down through joins and eliminate redundant aggregation shuffles (#67122, #67198)
  • Parquet reads: skip the S3 HEAD request on each file open, and build row-group sub-fragments lazily (#67645, #67469)
  • Lower the default Parquet reader CPU, IO-thread, and footer-actor counts, and run shuffle v2 tasks with one Polars thread. The RAY_DATA_SHUFFLE_MAP_WORKER and RAY_DATA_SHUFFLE_REDUCE_WORKER environment variables are removed, and the default shuffle compression is now lz4 instead of zstd (#67028) (breaking)
  • Rate-based cluster autoscaler: release resources early under sustained low utilization, and don't scale up when iteration is the bottleneck (#66584, #66569)
  • Allow actor pools to downscale with pending actors, and release dead actors so they can be replaced (#66929, #65543)
  • Run the autoscaling coordinator actor on the head node (#67480)
  • Iceberg: cut UPSERT driver memory from O(upserted rows) to O(tasks), distribute the filtered-overwrite rewrite across Ray tasks, read only committed Parquet on checkpoint restore, and catch upsert timeouts (#66146, #66144, #66387, #66652)
  • Azure Unity Catalog: vend credentials through storage_options so read tasks get them, and make Parquet reads work (#66273, #66274)
  • Port the Hudi datasource to hudi-rs 0.5 (#66949)
  • read_mcap V2: read neighbouring chunks in one ranged request, and cut large files where their log-time order holds (#67930, #67166, #67929)
  • Retry transient failures: S3 ACCESS_DENIED on HeadBucket, filesystem errors in read_parquet V2, and obstore downloads (#66490, #67448, #66737)
  • Raise on transient download failures instead of yielding None (#66738)
  • Write ERROR-level logs to a dedicated file, and attach retry context as an exception note instead of rewriting exception args (#67310, #67882)
  • Warn when streaming_split prefetch needs exceed the object store budget (#66594)
  • Clearer errors for JSON reads, schema unification conflicts, missing partition fields, read_delta deletion vectors, and generated ID column collisions (#66878, #67647, #66695, #66275, #67164)
  • Speed up schema unification for identical Arrow schemas, chunked takes for variable-shaped tensors, and row-group compaction (#67935, #66197, #67820, #67880)
  • Restrict PIL image decoding to a safe format allowlist: read_images, read_webdataset's default decoder and read_lerobot's image cameras now decode only an allowlist of raster image formats, and reject others such as EPS (#67752) (breaking)
  • Reduce the usage metrics poll rate and add an opt-out for cluster metrics in usage collection (#67918)
  • Remove Dataset.get_internal_block_refs, deprecated for over a year (#62958) (breaking)
  • Groundwork for an actor-only execution backend, Top-N execution for sort(...).limit(k), footer-based Parquet decoded-size estimates, and Iceberg and Delta Lake on DataSource V2 (#67697, #67698, #67699, #66931, #67836, #67837, #67838, #67037, #67887, #67888, #66577)
  • Size ORC V2 read batches from the estimated row width (#67111)
  • Export per-phase shuffle metrics, which fills in the GPU shuffle dashboard, and name the operator on disk shuffle tasks (#66968, #67359, #66690)

🔨 Fixes

  • Fix silent row loss when the same path is listed more than once in DataSource V2 reads (#67715)
  • Fix filter(fn=...) silently converting Arrow dictionary-encoded columns to plain strings (#66014)
  • Fix iter_batches(local_shuffle_buffer_size=...) yielding short batches mid-stream (#66086)
  • Fix join schema validation for asymmetric and multi-key joins (#67505)
  • Fix shuffle and join on native tensor columns with pyarrow 25+ (#68072)
  • Keep nullable integer hash partitions consistent across blocks, and make Polars sort place nulls last (#66703, #66925)
  • Fix the cluster autoscaler requesting a bundle larger than the node it was copied from, and an incorrect scale-up for custom resources (#65446, #66647)
  • Fix partition pruning against logical schema types, mixed-root partition filtering in Parquet and ORC V2, and synthesized path filtering in DataSource V2 (#67073, #67067, #67079)
  • Preserve null structs during schema alignment and the schema of empty datasets in to_pandas() (#65961, #65539)
  • Return an empty list from Dataset.unique() on an empty dataset, and fix Dataset.summary() on boolean columns (#65966, #65541)
  • Fix single-threaded generator UDF execution in map_batches, and block fusion between sync UDFs and async callable classes (#66659, #65923)
  • Make zero_copy_batch=False copy default batches (#67154)
  • Keep a map task's buffered rows when max_errored_blocks skips its error, and read past corrupt MCAP chunks (#67167)
  • Stop the block prefetcher when iteration ends early, and propagate metadata prefetch thread failures to the executor (#67355, #68171)
  • Fix TensorArray on NumPy 2, empty NumPy tensors in Arrow conversion, and batching of Arrow IPC byte blocks (#66431, #66508, #66139)
  • Fix HDFS URI reads with explicit filesystems, Parquet filename suffix detection, and disabled Parquet extension filtering (#65846, #67156, #65559)
  • Fix ArrowInvalid when loading large generated-ID checkpoints (#68065)
  • Fix operator wall time on multi-node clusters, shuffle v2 task and block stats, and output backpressure accounting for terminal waits (#66694, #66621, #67374)
  • Fix Unicode slice replacement in string expressions and a KeyError in common-subexpression projection on empty blocks (#67815, #66046)
  • Fix filtered Lance row-count metadata (#67228)
  • Reject non-positive bins in UniformKBinsDiscretizer (#65968)
  • Fix typing mismatches in the Dataset public API (#62077)
  • Fix preprocessors' transform_batch failing on Arrow-backed pandas batches, a regression since Ray 2.56 (#66578)
  • Raise TypeError when read_parquet's columns is a string, instead of selecting one column per character (#67448)
  • Fix Shuffle v2 progress bars that duplicated the operator bar and counted input rows as the reduce total (#66456)
  • Fix the off-by-one run index in the dataset tag of streaming_split iteration metrics (#66586)
  • Keep the caller's URI scheme in ListFiles.source_paths for DataSource V2 reads (#67563)
  • Fill in the placeholders in TFRecord and other error messages (#66210)

📖 Documentation

Ray Serve

🎉 New Features

  • Route HAProxy and multiplexed ingress through each application's request router (#66592, #66588, #66813)
  • Add --metrics-export-port to serve run (#67869)
  • Expose replica versions and the applied config ID in the details API (#67458)
  • Support keyword inputs with custom batch sizing in @serve.batch (#66321)

💫 Enhancements

  • Gracefully drain gang replicas under migration, rollouts, downscaling, and deletion (#67172)
  • Show rolling update progress (#67107)
  • Surface terminal deployment actor failures outside UPDATING (#66910)
  • Distinguish ActorUnavailableError from actor death in health checks (#65986)
  • Name the label selector when replicas can't be scheduled (#65166)
  • Require the auth token on HAProxy's exporter and stats page (#67418) (breaking: the stats page moves to port 9101; see Breaking Changes)
  • Propagate TracingConfig to proxies at startup (#65437)
  • Import grpc_reflection only when gRPC reflection is enabled (#67444)
  • Type a bare @serve.deployment as Deployment (#66513)
  • Groundwork for push-based replica health checks (#66243)

🔨 Fixes

  • Fix a serve.ingress RecursionError with pydantic 2.10 and later (#66956)
  • Copy the ASGI lifespan state into each request scope (#67844)
  • Take the max_concurrent_batches permit before forming a batch (#67877)
  • Reset router backoff after successful FIFO assignments (#66799)
  • Cancel the local await task when a unary proxy response times out or disconnects, and metrics pusher tasks that exceed the graceful shutdown timeout (#67109, #67110)
  • Don't busy-loop the replica drain when graceful_shutdown_wait_loop_s=0 (#67434)
  • Clean up the per-replica placement group when actor creation fails (#66501)
  • Fix a TypeError when recording a custom metric with a route tag (#66616)
  • Reject target_ongoing_requests=None in AutoscalingConfig (#67675)
  • Re-resolve the dashboard's controller handle on check_alive failures that aren't RayActorError (#64622)
  • Pass grpc.so_reuseport to gRPC as an integer (#66816)

📖 Documentation

  • Explain imperative and declarative deploys and in-place updates from Python (#68243)
  • Clarify rolling behavior for code updates (#66281)
  • Remove the beta label from custom autoscaling policies (#68046)
  • Add missing docstrings across the public API, config, and schema (#67617, #67614, #67615)

Ray Train

🎉 New Features

  • Add ray.train.health (alpha): RunConfig.health_config, controller, node, and worker probes, ray.train.health.report(), and controller actions on health decisions (#66536, #66648, #66650, #66649, #67671, #67856, #67521, #67520, #67879, #67915)
  • NCCL hang detector: add a flight recorder, nvidia-smi diagnostics, Grafana integration, and logging that identifies the culprit ranks (#66203, #66229, #66627, #66629, #67794, #67795)
  • Add checkpoint_frequency to RayTrainReportCallback (#66950)
  • Add parallel_strategy='simple_fsdp' to prepare_model (#66902)
  • Add Grafana annotation support for Ray Train runs (#66958)
  • TPU: enable stream support in TPUTorchDeviceManager, and add PyTorch TPU environment variable APIs to slice and subslice placement groups (#66822, #65221)

💫 Enhancements

  • Warn that Ray Train V1 will be removed in Ray 3.0 when RAY_TRAIN_V2_ENABLED=0 is set (#68205)
  • Retry worker group startup when a node dies during training function launch (#67757)
  • Use the user-defined training function name in the training thread name and error stack traces (#64292)
  • Use reinit="finish_previous" for Weights & Biases (#67813)
  • TPU: sort workers within each slice by host worker ID and device ID, and wait for VFIO devices before distributed init (#67575, #67756)

🔨 Fixes

  • Fix Checkpoint.as_directory() and to_directory() races on the shared temporary directory (#68244)
  • Fix checkpoint ranking: support nested metrics and metrics reported only in a validation function, and rank a checkpoint without the score attribute as worst (#59130, #67909, #67901)
  • Count elastic workers in resource units for fractional resources, and don't start an elastic worker group with zero workers (#68139, #68101)
  • Raise in prepare_data_loader instead of dropping a custom batch_sampler (#68201)
  • Use the default validation timeout when a report's ValidationTaskConfig has none (#68045)
  • Preserve num_boost_round=0 and don't mutate callbacks in the legacy LightGBM and XGBoost trainers (#68145)
  • Yield the controller while waiting for a scaling decision (#67478)

🚧 Deprecations and removals

  • Remove local mode (breaking: feature removal) (#68239)

📖 Documentation

  • Add a user guide for the NCCL hang detector (#67068)
  • Document the node preemption API and clarify the purpose of ray.train.report (#66579, #67027)
  • Add a device stream batch prefetching section to the accelerator guide (#67779)

Ray Tune

🔨 Fixes

  • Persist stopped trials that have no live actors (#66595)
  • Drop queued decisions when a trial is paused mid result batch (#66516)
  • Fix get_dataframe crashing on an all-NaN metric with pandas 3 (#67291)
  • Don't extend the caller's callbacks list with default callbacks (#67335)
  • Stop TuneReportCallback from creating failed _QueueActor.get tasks (#66755)

Ray LLM

🎉 New Features

  • Add ModelExpress support to Ray Serve LLM: a new replica loads weights and compile caches from an already-serving replica (#67316, #67921)
  • Add multi-application OpenAI routing with scale-to-zero application routing (#66506, #66507, #66519, #67087)
  • KVAwareRouter: add session pinning, LoRA support, and Anthropic /v1/messages support (#67224, #66200, #66827)
  • Groundwork for token-based autoscaling: track autoscaling workload in the KV router (#67937)

💫 Enhancements

  • Upgrade vLLM to 0.34.0 (#66384, #66720, #67197, #67800, #68425)
  • Apply replica performance defaults, and fall back to available replicas when ingress routers fail (#66435, #66339)
  • Precompile Python bytecode in the ray-llm image (#67226)
  • Don't send the original exception to API clients in error responses (#65011)
  • Propagate engine-derived environment variables such as VLLM_RAY_PER_WORKER_GPUS to the replica actor (#63881)
  • Batch inference: forward tokenization_kwargs to vLLM, and keep the prompt in vLLM error rows (#67550, #67665)
  • Add SessionName and Cluster filters to the Data LLM Grafana dashboard (#67470)

🔨 Fixes

  • Fix LoRA routing in PrefixCacheAffinityRouter (#66660)
  • Don't block the router event loop on the prefix tree actor (#66671)
  • KVAwareRouter: fix KV event port collisions between colocated groups, a race between token socket connect and first push, leaked bookings for cancelled selections, and the block size under decode context parallelism (#67176, #67553, #67554, #66942, #67552)
  • Keep torch out of Serve LLM's worker setup hook (#67875)

Ray RLlib

💫 Enhancements

  • IMPALA and APPO: bound the learner thread's results queue, and drop the per-update torch.distributed barriers (#67299, #67300)

🔨 Fixes

  • Keep multi-Learner updates from deadlocking: skip updates when some learners have no batches, and handle sharded multi-agent episodes (#66030, #66530)
  • Don't neglect samples from much longer trajectories in the learner (#66097)
  • Fix MultiAgentEpisode.get_truncateds returning the terminated flag for "__all__", and don't mark a fully truncated episode as terminated (#67627, #67863)
  • Fix the LSTM encoder's ONNX export under torch 2.10 (#66721, #66697)
  • Remove assert space.contains(n) from InfiniteLookbackBuffer.set (#67864)
  • Pass the documented argument names to on_offline_eval_runners_recreated (#67770)

📖 Documentation

Ray Core

🎉 New Features

  • Make token authentication the default for all clusters; set RAY_AUTH_MODE=disabled to turn it off (#67523) (breaking: see Breaking Changes)
  • Create the auth token for ray.init(), require one for ray start --head, and distribute it to ray up and autoscaler nodes (#67258, #67457) (breaking: see Breaking Changes)
  • Require the auth token on Ray's Prometheus metrics endpoints, with RAY_AUTH_SKIP_METRICS to opt out (#67128, #67264) (breaking: see Breaking Changes)
  • Ray Sandbox (experimental): add checkpoint, restore, pause, and resume, GPU support through CDI, gVisor mounts, and committing a sandbox as a new registry image (#66471, #65898, #67689, #67972, #67974)
  • Ray Sandbox: enforce CPU, memory, and disk limits, default network="public" egress to the public internet with enforced allowlists, and pull private images with the node's Docker credentials (#66932, #66988, #66359, #66528, #67026, #67688, #67691)
  • Add RAY_NUM_THREADS_ENV_VARS to opt in to setting RAYON_NUM_THREADS from num_cpus (#66706)
  • Add Cambricon MLU resource support (#66368)
  • TPU: set TPU_VISIBLE_DEVICES alongside TPU_VISIBLE_CHIPS, and order subslice hosts by physical topology (#67029, #66029, #67878)
  • Publish submission job events through the Ray event recorder (#61099)

💫 Enhancements

  • Actor scalability: keep a busy raylet's resource view fresh while scheduling, and separate "no node available" from "infeasible" (#66036, #66249)
  • Report soft node-affinity demand that can spill to any node to the autoscaler (#68568)
  • Stream runtime environment package downloads (#67184)
  • Speed up import ray by importing jsonschema lazily, and build each function's inspect.Signature once (#66724, #67005)
  • Reduce GCS and raylet load: stop the resource-load puller from fetching unused fields, and skip placement group resource parsing on available-resource updates (#67370, #66318)
  • Enable TCP keepalive on GCS to Redis connections, and export GCS storage operation metrics with a bounded TableName label (#65424, #66882, #65583)
  • Redact runtime environment values in errors, agent logs, and worker command lines (#66597, #67358)
  • Restrict an existing default auth token file and ~/.ray to their owner on load (#67776)
  • Reject requests that carry a token on clusters with authentication disabled (#67147, #67150) (breaking: see Breaking Changes)
  • Launch image_uri and container workers without a shell and with a clean launcher environment (#66975) (breaking: see Breaking Changes)
  • Ray Sandbox: cache image layers, download layers in parallel, keep a free-space floor under the image cache, and start fewer processes per exec (#67874, #67023, #67025, #66985, #67493, #67876, #67690)
  • Log actor class import failures with their traceback (#66564)
  • Keep absl logging at ERROR unless GRPC_VERBOSITY is set (#67719)
  • Autoscaler v2: garbage-collect terminated instances to bound instance manager memory (#66881)
  • Add an option to disable GPU metrics collection (#65809)

🔨 Fixes

  • Fix EvictLineage evicting all lineage because of negative byte accounting (#67271)
  • Fix a recovery suppression race in ObjectRecoveryManager (#64974)
  • Don't treat a gRPC client with calls in flight as idle, and don't let gRPC cancel calls that wait over 30 seconds in the server queue (#67718, #68210)
  • Always run the first task on a newly granted lease, and apply the lease timeout only to reuse (#67357)
  • Release a granted actor lease if the kill arrives before the actor creation task is submitted, and release pinned lease arguments in HandleReturnWorkerLease (#67466, #65938)
  • Prevent dead nodes from reentering the raylet resource map, and avoid marking the head node dead on same-ID registration retries (#66568, #67417)
  • Stop immediately retrying failed RESCHEDULING placement groups, and reject fractional resource requirements above 1 when creating placement groups (#66944, #66336)
  • Reject RaySyncer streams with a missing node ID instead of crashing, and validate sync message fields before use (#66645, #66825)
  • Reuse the raylet's runtime env agent connections, and don't exit the raylet when local ports are exhausted (#66259, #66165)
  • Quote each uv run argument in the uv runtime environment hook (#68156)
  • Fix submit_job crashing on module objects in py_modules (#66608)
  • Hash LabelSelector label values the way operator== compares them (#65740)
  • Guard local garbage collection during core worker startup (#66514)
  • Ray Direct Transport (NIXL): don't remove a remote agent while transfers are in flight, and raise when a cached registration is smaller than the tensor (#67389, #67682, #66777)
  • Autoscaler: never patch KubeRay worker group replicas below minReplicas, preserve retry accounting when trimming status history, and fix Azure resource SDK 25+ compatibility (#67332, #67360, #66714, #66373)

📖 Documentation

  • Document token authentication on by default, including Ray on Spark and CloudWatch Prometheus scraping (#67724, #67796, #67313)
  • Move the Ray Core docs to doc/source/core, apply a style pass, and correct claims that contradicted the source (#66605, #66642, #66666, #66672, #66791, #67674)
  • Add missing docstrings and type hints to Ray Core public APIs (#67635, #67634, #67530)
  • Document Podman setup on VMs, and warn against setting py_executable to a bare uv run (#66723, #67281)
  • Update the docs for the task event migration out of GCS (#66363)
  • Add a guide for a Modal-compatible sandbox API on KubeRay (#67513)

Dashboard

🎉 New Features

  • Add native Huawei Ascend NPU observability: per-device and per-process metrics, Grafana panels, and NPU-aware Cluster and Actor views (#66920)

💫 Enhancements

  • Note the Kubernetes disk usage limitation in the disk panel descriptions (#66599)
  • Refine metrics server startup and logging conditions (#66922)

Ray Wheels and Images

🎉 New Features

  • Build and publish CUDA 13.3.1 (-cu133) images (#66547, #67723)

💫 Enhancements

  • Stop publishing Python 3.10 wheels and images (#67722)
  • Stop building and publishing CUDA 11.7 (-cu117) images (#66609)
  • Bump the EFA installer to 1.51.0 in the CPU base-extra images (#67730)
  • Bump multidict to 6.9.1 for CVE-2026-104874 (#67798)
  • Bump the manylinux2014 base image to 2026.10.22-0 (#67285)

Documentation

📖 Documentation

  • Promote KubeRay to a top-level docs section, and repoint KubeRay links to the kuberay-project GitHub organization (#66674, #66742, #67188)
  • KubeRay: document scaling from zero with custom resources and forwarding Kubernetes node events, and sync the CRD reference (#66947, #67021, #67945)
  • Update the TPU docs for TorchTPU, MPMD, and RL workloads (#66991, #67194)
  • Add AWS Deep Learning Containers for Ray to the AWS cluster guide (#67225)
  • Show worker node types in the Azure and GCP VM quickstarts (#67287)
  • Add Mark Towers and Justin Hsu as committers (#67039)

💫 Enhancements

Build and Dependencies

  • Ray 2.61.0 is the first release that doesn't publish Python 3.10 wheels or -py310 images. python_requires is unchanged.
  • Build with Bazel 8.8.1, and bump protobuf to v29.6, rules_java to 8.12.0, and gRPC to 1.69.0 (#66483, #67720, #67721, #66305)
  • Bump torch to 2.10.0 across CI (#65909)

Thanks

Many thanks to all those who contributed to this release!
@1fanwang, @400Ping, @AarryaSaraf, @abhishekverma-ray, @akyang-anyscale, @alberttwong, @andrewsykim, @anush008, @Arnavsharma2, @ArturNiederfahrenhorst, @arun-elr, @avigyabb, @ayushk7102, @BatshevaBlack, @bhushanasati25, @celinaky, @CesarRodrigu, @Chang-Tong, @CheyuWu, @chiayi, @codechrl, @codope, @dancingactor, @David-Wu1119, @deep1blue, @dhakshin32, @dragongu, @dragonhyq, @drunkeninja42, @dstrodtman, @edoakes, @Efutrrionpy, @eicherseiji, @elliot-barn, @ethanvillalovoz, @fortunecookiee, @geetanjali-anyscale, @GNITOAHC, @goutamvenkat-anyscale, @harshit-anyscale, @hhhhjun, @iamjustinhsu, @imsvidskiy, @jackylee-ch, @JasonLi1909, @jayeshsuyal, @jeffreywang88, @jiangxt2, @jinbum-kim, @jinyan-li1, @johntaylor-cell, @jonasdedden, @justinvyu, @karticam, @khluu, @klueska, @kouroshHakha, @Kunchd, @kunling-anyscale, @kyuds, @laysfire, @Lcy0801, @lgqfhwy, @liulehui, @lonexreb, @LuciferYang, @luicarus, @machichima, @MaddipatlaChetan24, @marwan116, @mbartholet, @miggle711, @MohammadHijjawi97, @moomindani, @MortalHappiness, @mottopanikeiku, @nadongjun, @nanohanno, @nightcityblade, @NightWing1998, @odncode, @OneSizeFitsQuorum, @owenowenisme, @p-crsx, @pardeep-singh, @pathikpatel07, @pawelbeza, @Pengkun-ZHU, @pjdurden, @prasad-anyscale, @pseudo-rnd-thoughts, @qishengxhe, @rahulsjha, @rayhhome, @rayo5o, @richardliaw, @Rob12312368, @robertnishihara, @ronny-anyscale, @RUANLASS, @rueian, @ryanaoleary, @sai-miduthuri, @SaiTejaMutchi, @sampan-s-nayak, @shaikn6, @shashankvarma499, @ShockYoungCHN, @smortime, @sunnylovestiramisu, @suppagoddo, @Tsien4763, @vaishdho1, @VihaanAgarwal, @viiccwen, @vineethsaivs, @wanadzhar913, @wguo7, @win5923, @wuallen57730, @wxwmd, @xinyuangui2, @xuwenyihust, @xuwwwww, @xyuzh, @Yicheng-Lu-llll, @YidaWeng, @Yin-1022, @Yonghui-Lee, @YoyinZyc, @zhangdove, @zhjwpku, @zzchun

Don't miss a new ray release

NewReleases is sending notifications on new releases.