Repository navigation
Conversation
TPU slices and Kueue - The controller can answer a Kueue AdmissionCheck for TPU slice provisioning (tpuSliceProvisioning.admissionCheck). On a ClusterQueue that lists the check, the pods of a queued Instance are created first and held by Kueue. OME provisions the slice once Kueue reserves quota and answers Ready when every host of the slice is visible, so an Instance without quota holds no slice. When a slice is not ready within provisionTimeout, OME answers Retry and Kueue hands the quota back. - The ome-resources chart creates the AdmissionCheck when kueueAdmissionCheckName is set. The quota manager can list admission checks on the ClusterQueues it creates (materialize.admissionChecks). Multi-cluster routing - New capacity mode StaticWeights: a cluster weighs its guaranteed replicas times its capacity factor, and no endpoint is polled. A TrafficMap entry reports guaranteedReplicas. - The probe and capacity durations (period, timeout, maxAge) are pointers, so an unset duration is not written as 0s. Configuration replaces built-in values - modelPaths in the inferenceservice-config ConfigMap holds the model, fine-tuned weight and overlay mount paths. The controller and the pod webhook name the missing key when a path they need is unset. - podOnlyAnnotationPrefixes lists the annotation prefixes that are copied to pod templates and kept off Services. OME's own prefixes stay built in. - servingRuntime.inheritMaxDepth limits the length of a runtime's inherit-from chain and counts the runtime itself. Zero or no value allows any length. Cycles are still rejected. - The deploy block carries the replica minimum (replicas.defaultMinReplicas), the worker count of a leader-and-worker group (replicas.defaultWorkerSize) and the CPU target of an HPA that names no metric (defaultCPUUtilizationPercent). A component that sets none of its own takes them. Without a CPU target Kubernetes supplies its default metric. An HPA or KEDA scaler without any minimum, and a group without any worker count, name the missing setting. - PodMonitors take port, path and interval from the podMonitor block in every deployment mode. Extra metrics endpoints get the same interval. - The ome-agent reads part sizes, thread counts and retries for the serving sidecar, the fine-tuned adapter and the replica agent from its config file. Its hub client takes endpoint and max_concurrent_downloads from the same file and has no built-in value for them. config/ome-agent/ome-agent.yaml carries the values the agent used until now, and the agent names a missing key when it starts. The model agent keeps its defaults through xet.WithDefaults. - The chart values and config/configmap carry the earlier values (depth 5, minimum 1, one worker, 80 percent CPU, a 10 second scrape interval), so a default install behaves the same. Runtime selection - Automatic selection ranks a runtime merged with its inherit-from chain. A runtime whose chain does not resolve is skipped, and the error that no runtime fits lists it with the cause. - kubectl ome runtime explain shows the same verdicts and says when the chain is the cause. The CLI checks chains of up to five runtimes and assumes a replica minimum of one. It does not read the two settings from the operator's configuration. Rollout engine - A canary step held by the roll budget says why. A resume clears a promote given before it and restarts at step 0. A step's ready timeout restarts when the step makes progress, a timed step confirms that its pods still run, and a new run resumes at the same step. The canary status records which instances have served the new version (capacityProgress), so a replacement at the same index counts once. - A pause lets both sides of a prefill and decode pair finish the batch that is open, so no new prefill is left without a matching decoder. - A rollout that closes under a partition records the version most instances run as the version to roll back to. - A topology key added to a gang that already serves reaches the gang once its old pods drain. - A Failed pod never counts as serving, a Failed gang surges without a gate, a rebuilt gang's PodGroup matches its pods, retry records are cleared after recovery, and pod creation stops when retries run out. Evicted pods count toward the outage limit, a moved pod on a dead node holds its slot, and a pod lost while terminating frees its surge slot. - Hold messages name what a move, a surge or a retry waits on. - More fixes in the workload, coordination, canary, replica, placement and traffic packages. The manager cache drops pod tolerations and unread EndpointSlice fields, the scheduler checks node fit once for equal gang members and counts slots for uniform gangs, and long functions are split into named steps. Tests - The in-process replay drivers stage pod probes, container exits, image and annotation edits, protocol changes, node recovery and scale writes. The admission runner validates quota objects. Signed-off-by: Simo Lin <25425177+slin1237@users.noreply.github.com> Co-authored-by: Fan Yang <250624800+fanyang-real@users.noreply.github.com> Co-authored-by: Wei Huang <1425903+Huang-Wei@users.noreply.github.com>
slin1237
requested review from
CatherineSue,
Huang-Wei,
XinyueZhang369,
YouNeedCryDear,
beiguo218,
fanyang-real,
op109lvb and
pallasathena92
as code owners
November 30, 2026 14:58
|
Review skipped: 953 files exceed the limit of 150 WalkthroughWarning Review details and warnings were omitted to fit the comment limit. |
|
👋 The PR description doesn't fully follow
Please update the PR description so reviewers have the context they need. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tpuSliceProvisioning.admissionCheck). The pods of a queued Instance are created first, and OME provisions the slice once Kueue reserves quota. Theome-resourceschart can create the check (kueueAdmissionCheckName), and the quota manager can list checks on its ClusterQueues.StaticWeightsweighs each cluster by its guaranteed replicas and polls nothing, so a traffic split stays steady while clusters autoscale.modelPaths,podOnlyAnnotationPrefixes,servingRuntime.inheritMaxDepth, the replica minimum, worker count and HPA CPU target in thedeployblock, and the ome-agent transfer settings come from configuration. PodMonitors usepodMonitor.intervalin every deployment mode. The chart values,config/configmapandconfig/ome-agent/ome-agent.yamlcarry the earlier values.kubectl ome runtime explainshows the same verdicts.Upgrade note: an installation that writes the
inferenceservice-configConfigMap itself needs themodelPathskey. To keep today's behaviour it also needspodOnlyAnnotationPrefixes,servingRuntime.inheritMaxDepth(5), and in thedeployblockreplicas.defaultMinReplicas(1),replicas.defaultWorkerSize(1) anddefaultCPUUtilizationPercent(80). A custom ome-agent config file needsendpoint,max_concurrent_downloadsand theserving_agent,fine_tuned_adapterandreplicablocks. The agent names a missing key when it starts.