@daocloud-proto/hydra 0.0.0-dev-c0d8be46 → 0.0.0-dev-3c60a063
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -69,6 +69,12 @@ export type SchedulingConfig = {
|
|
|
69
69
|
placementPolicy?: PlacementPolicy
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
export type PreflightConfig = {
|
|
73
|
+
enabled?: boolean
|
|
74
|
+
nodeCheckIbHcas?: string[]
|
|
75
|
+
nodeCheckBusbwThresholdGbps?: string
|
|
76
|
+
}
|
|
77
|
+
|
|
72
78
|
export type WeightVolumeConfig = {
|
|
73
79
|
modelId?: string
|
|
74
80
|
modelTag?: string
|
|
@@ -131,6 +137,7 @@ export type CreateModelServingRequest = {
|
|
|
131
137
|
export type CreateWSModelServingRequest = BaseCreateWSModelServingRequest
|
|
132
138
|
& OneOf<{ weightVolumeConfig: WeightVolumeConfig }>
|
|
133
139
|
& OneOf<{ schedulingConfig: SchedulingConfig }>
|
|
140
|
+
& OneOf<{ preflight: PreflightConfig }>
|
|
134
141
|
|
|
135
142
|
export type ModelServing = {
|
|
136
143
|
id?: string
|
|
@@ -175,6 +182,7 @@ export type ModelServing = {
|
|
|
175
182
|
weightVolumeConfig?: WeightVolumeConfig
|
|
176
183
|
modelVisible?: ModelVisible
|
|
177
184
|
tokenWeight?: string
|
|
185
|
+
preflight?: PreflightConfig
|
|
178
186
|
}
|
|
179
187
|
|
|
180
188
|
export type WSModelServing = BaseWSModelServing
|