Basic
Minimal prefill/decode disaggregation on DisaggregatedSet with vLLM and SGLang.
DisaggregatedSet runs a multi-role inference deployment where each role is its
own child LeaderWorkerSet. The common pattern splits inference into a prefill
role for prompt processing and a decode role for token generation, so each one
scales and rolls out on its own.
These examples show four things. The prefill and decode roles are separate.
spec.slices fans the role set out into several independent slices. A per-role
rolloutStrategy upgrades each role on its own. spec.placementPolicy
co-locates a slice’s roles in one topology domain and spreads slices across
domains.
Each guide isolates one feature and ships both a vllm.yaml and a sglang.yaml.
DisaggregatedSetRoleScaler
and HPA.spec.slices.spec.placementPolicy.See the DisaggregatedSet concepts for the API details.
Minimal prefill/decode disaggregation on DisaggregatedSet with vLLM and SGLang.
Autoscale a disaggregated role with a DisaggregatedSetRoleScaler and HPA.
Fan a disaggregated role set out into independent slices with spec.slices.
Co-locate a slice’s roles in one topology domain with placementPolicy.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.