You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/types/model.go
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -282,6 +282,11 @@ type ModelRunReq struct {
282
282
// When true, the system checks the model metadata for PD recommendation,
283
283
// validates hardware resources, and splits resources between prefill and decode.
284
284
EnablePDbool`json:"enable_pd"`
285
+
// PD is the client-provided PD (Prefill-Decode) disaggregation configuration.
286
+
// When EnablePD is true, the client sends TP/DP/EP/PodsSize for prefill and decode
287
+
// roles. The server validates the config against available hardware resources
288
+
// instead of deriving it from PDRecommendation.
289
+
PD*PDConfig`json:"pd,omitempty"`
285
290
// OwnerNamespace is optional. If set, the inference is created under this namespace (user or org) for billing and listing; path {namespace} remains the model's owner.
0 commit comments