Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@

* X feature added (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
* (Python) Added support for Protobuf 7.x ([#40580](https://github.com/apache/beam/issues/40580)).
* (Python) `BatchElements` can group elements by key across workers (`key_fn`, `num_shards`), and RunInference model handlers can use it through `batch_key_fn` / `batch_key_num_shards`. `apache_beam.ml.inference.prefix_batching` adds a `PrefixBatchingConfig` and prompt/chat prefix extractors so LLM handlers can batch requests that share a prompt prefix and hit the server's prefix cache ([#40905](https://github.com/apache/beam/pull/40905)).
* (Python) vLLM model handlers accept a `prefix_batching_config` to batch requests that share a prompt prefix, and publish a capacity-based autoscaling signal (`num_loaded_models_<model_identifier>`, estimated from vLLM's completion rate and in-flight requests) so Dataflow's GPU autoscaling scales vLLM workers with load; tune or disable it with `autoscaling_config` / `enable_autoscaling_metric`. `apache_beam.ml.inference.autoscaling_metrics` provides the generic pieces for other model-server handlers ([#40908](https://github.com/apache/beam/pull/40908)).

## Breaking Changes

Expand Down
Loading
Loading