Skip to content

Training server ensemble#2473

Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
tomatillo-and-multiverse:training-server-ensemble
Mar 5, 2026
Merged

Training server ensemble#2473
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
tomatillo-and-multiverse:training-server-ensemble

Conversation

@kaushikmitr
Copy link
Copy Markdown
Contributor

This pull request introduces a new ensemble (gated) model training approach to the latency predictor, enabling the system to train and save separate models for "noqueue" and "queued" regimes, and wraps them into a single serializable object for easier deployment and prediction logic. The changes also include configuration options for ensemble mode, new metrics, and API support for downloading and listing these ensemble models.

Ensemble Model Training and Management

  • Added ensemble (gated) model training logic, splitting training data into "noqueue" and "queued" regimes, training separate sub-models for each, and wrapping them in a new QueueGatedModel class. The ensemble is activated only if sufficient samples exist for all sub-models. [1] [2] [3]
  • Ensemble models are now saved as single files (ttft_gated.joblib, tpot_gated.joblib) and included in the model listing, download, and info API endpoints. [1] [2] [3] [4]

Configuration and Settings

  • Added new configuration options to Settings for enabling ensemble mode, specifying minimum samples for ensemble split, and setting paths for gated ensemble model files. The default maximum training data size per bucket was also reduced.

Metrics and Monitoring

  • Exposed new metrics for ensemble mode and ensemble activation status in the Prometheus metrics output.

API Enhancements

  • The /data_status API now reports sample counts for each regime and ensemble configuration details, aiding monitoring and debugging of the ensemble training process. [1] [2]

These changes collectively enable more robust and flexible latency prediction by accounting for queueing effects, and improve observability and manageability of the model lifecycle.

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 3, 2026

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit a5e6642
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/69a8b56545da7900083dc81a
😎 Deploy Preview https://deploy-preview-2473--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot requested review from ahg-g and kfswain March 3, 2026 22:32
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 3, 2026
Copy link
Copy Markdown
Contributor

@BenjaminBraunDev BenjaminBraunDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@BenjaminBraunDev
Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Mar 4, 2026
@kaushikmitr kaushikmitr force-pushed the training-server-ensemble branch 2 times, most recently from a4ee705 to 5486d30 Compare March 4, 2026 21:27
@k8s-ci-robot k8s-ci-robot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 4, 2026
@kaushikmitr
Copy link
Copy Markdown
Contributor Author

kaushikmitr commented Mar 4, 2026

@danehans @ahg-g
This PR was failing test due to missing boilterplate comment in hack/release-staging-digests.sh (broken in #2479). I added it in this PR

@kaushikmitr
Copy link
Copy Markdown
Contributor Author

actually it seems someone already added it, just need to rebase once it lands. #2484

@kaushikmitr kaushikmitr force-pushed the training-server-ensemble branch from 5486d30 to a5e6642 Compare March 4, 2026 22:42
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BenjaminBraunDev, kaushikmitr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 4, 2026
@BenjaminBraunDev
Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 4, 2026
@k8s-ci-robot k8s-ci-robot merged commit b32374e into kubernetes-sigs:main Mar 5, 2026
11 checks passed
RyanRosario pushed a commit to RyanRosario/gateway-api-inference-extension that referenced this pull request Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants