@daocloud-proto/infery 0.0.0-dev-957b9c3c → 0.0.0-dev-80114340
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.
|
@@ -98,7 +98,7 @@ type BaseExportInferenceTemplateRequest = {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
export type ExportInferenceTemplateRequest = BaseExportInferenceTemplateRequest
|
|
101
|
-
& OneOf<{
|
|
101
|
+
& OneOf<{ resourceVersion: string }>
|
|
102
102
|
|
|
103
103
|
export type ParseInferenceTemplateRequest = {
|
|
104
104
|
workspace?: number
|
|
@@ -146,7 +146,6 @@ export type PerformInferenceTestTaskActionRequest = {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
export type FunctionalTestReportSummary = {
|
|
149
|
-
attempt?: string
|
|
150
149
|
result?: ResultStatus
|
|
151
150
|
summary?: FunctionalTestSummary
|
|
152
151
|
}
|
|
@@ -164,7 +163,6 @@ export type TestTaskSummary = {
|
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
export type ExecutionSpec = {
|
|
167
|
-
requestedAttempt?: string
|
|
168
166
|
paused?: boolean
|
|
169
167
|
}
|
|
170
168
|
|
|
@@ -180,9 +178,9 @@ export type CheckResult = BaseCheckResult
|
|
|
180
178
|
|
|
181
179
|
|
|
182
180
|
type BaseHealthCheckResult = {
|
|
183
|
-
attempt?: string
|
|
184
181
|
status?: ResultStatus
|
|
185
182
|
checks?: CheckResult[]
|
|
183
|
+
executionStatus?: TaskStatus
|
|
186
184
|
}
|
|
187
185
|
|
|
188
186
|
export type HealthCheckResult = BaseHealthCheckResult
|
|
@@ -192,7 +190,6 @@ export type HealthCheckResult = BaseHealthCheckResult
|
|
|
192
190
|
|
|
193
191
|
type BaseFunctionalCaseResult = {
|
|
194
192
|
id?: string
|
|
195
|
-
attempt?: string
|
|
196
193
|
status?: ResultStatus
|
|
197
194
|
checks?: CheckResult[]
|
|
198
195
|
}
|
|
@@ -210,7 +207,6 @@ export type FunctionalTestSummary = {
|
|
|
210
207
|
}
|
|
211
208
|
|
|
212
209
|
export type FunctionalTestReport = {
|
|
213
|
-
attempt?: string
|
|
214
210
|
result?: ResultStatus
|
|
215
211
|
summary?: FunctionalTestSummary
|
|
216
212
|
cases?: FunctionalCaseResult[]
|
|
@@ -32,12 +32,6 @@ export enum RoleType {
|
|
|
32
32
|
ROLE_TYPE_DYNAMO_DECODE = "ROLE_TYPE_DYNAMO_DECODE",
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export enum KVCacheMode {
|
|
36
|
-
KV_CACHE_MODE_UNSPECIFIED = "KV_CACHE_MODE_UNSPECIFIED",
|
|
37
|
-
KV_CACHE_MODE_LOCAL_GPU = "KV_CACHE_MODE_LOCAL_GPU",
|
|
38
|
-
KV_CACHE_MODE_REDHARD_OFFLOAD = "KV_CACHE_MODE_REDHARD_OFFLOAD",
|
|
39
|
-
}
|
|
40
|
-
|
|
41
35
|
export enum OperationPhase {
|
|
42
36
|
OPERATION_PHASE_UNSPECIFIED = "OPERATION_PHASE_UNSPECIFIED",
|
|
43
37
|
OPERATION_PHASE_RUNNING = "OPERATION_PHASE_RUNNING",
|
|
@@ -99,7 +93,7 @@ export type ModelConfiguration = {
|
|
|
99
93
|
|
|
100
94
|
|
|
101
95
|
type BaseParallelismConfig = {
|
|
102
|
-
|
|
96
|
+
expertParallelEnabled?: boolean
|
|
103
97
|
}
|
|
104
98
|
|
|
105
99
|
export type ParallelismConfig = BaseParallelismConfig
|
|
@@ -107,23 +101,11 @@ export type ParallelismConfig = BaseParallelismConfig
|
|
|
107
101
|
& OneOf<{ dataParallelSize: number }>
|
|
108
102
|
& OneOf<{ pipelineParallelSize: number }>
|
|
109
103
|
|
|
110
|
-
export type KVCacheConfig = {
|
|
111
|
-
mode?: KVCacheMode
|
|
112
|
-
redisInstance?: string
|
|
113
|
-
}
|
|
114
|
-
|
|
115
104
|
export type InferenceTemplateReference = {
|
|
116
105
|
name?: string
|
|
117
106
|
}
|
|
118
107
|
|
|
119
|
-
export type
|
|
120
|
-
phase?: OperationPhase
|
|
121
|
-
syncStatus?: SyncStatus
|
|
122
|
-
healthStatus?: HealthStatus
|
|
123
|
-
availability?: AvailabilityStatus
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export type ModelServiceStatus = {
|
|
108
|
+
export type ModelServingStatus = {
|
|
127
109
|
phase?: OperationPhase
|
|
128
110
|
syncStatus?: SyncStatus
|
|
129
111
|
healthStatus?: HealthStatus
|
|
@@ -141,7 +123,7 @@ export type ModelServing = {
|
|
|
141
123
|
alias?: string
|
|
142
124
|
cluster?: string
|
|
143
125
|
namespace?: string
|
|
144
|
-
status?:
|
|
126
|
+
status?: ModelServingStatus
|
|
145
127
|
createTime?: GoogleProtobufTimestamp.Timestamp
|
|
146
128
|
updateTime?: GoogleProtobufTimestamp.Timestamp
|
|
147
129
|
origin?: ModelServingOrigin
|
|
@@ -221,7 +203,7 @@ export type ModelServingListItem = {
|
|
|
221
203
|
disaggregationMode?: InferyCommonCommon.DisaggregationMode
|
|
222
204
|
stack?: InferyCommonCommon.InferenceStack
|
|
223
205
|
createTime?: GoogleProtobufTimestamp.Timestamp
|
|
224
|
-
status?:
|
|
206
|
+
status?: ModelServingStatus
|
|
225
207
|
roles?: ModelServingRoleSummary[]
|
|
226
208
|
totalGpuCount?: number
|
|
227
209
|
accelerators?: AcceleratorSummary[]
|
|
@@ -385,13 +367,13 @@ export type GetModelServingResourceDiffResponse = {
|
|
|
385
367
|
type BaseUpdateModelServingRequest = {
|
|
386
368
|
workspace?: number
|
|
387
369
|
name?: string
|
|
388
|
-
alias?: string
|
|
389
370
|
resourceVersion?: string
|
|
390
371
|
modelConfiguration?: ModelConfiguration
|
|
391
372
|
origin?: ModelServingOrigin
|
|
392
373
|
}
|
|
393
374
|
|
|
394
375
|
export type UpdateModelServingRequest = BaseUpdateModelServingRequest
|
|
376
|
+
& OneOf<{ alias: string }>
|
|
395
377
|
& OneOf<{ form: string }>
|
|
396
378
|
& OneOf<{ formVersion: string }>
|
|
397
379
|
|
|
@@ -450,14 +432,14 @@ export type GetModelServingJSONRequest = {
|
|
|
450
432
|
|
|
451
433
|
export type GetModelServingJSONResponse = {
|
|
452
434
|
helmValues?: string
|
|
453
|
-
|
|
435
|
+
resourceVersion?: string
|
|
454
436
|
}
|
|
455
437
|
|
|
456
438
|
export type UpdateModelServingJSONRequest = {
|
|
457
439
|
workspace?: number
|
|
458
440
|
name?: string
|
|
459
441
|
helmValues?: string
|
|
460
|
-
|
|
442
|
+
resourceVersion?: string
|
|
461
443
|
}
|
|
462
444
|
|
|
463
445
|
export type UpdateModelServingJSONResponse = {
|
|
@@ -490,29 +472,11 @@ type BaseGetModelServingFormRequest = {
|
|
|
490
472
|
export type GetModelServingFormRequest = BaseGetModelServingFormRequest
|
|
491
473
|
& OneOf<{ inferenceTemplateName: string; modelServingName: string }>
|
|
492
474
|
|
|
493
|
-
export type ModelServingFormInstance = {
|
|
494
|
-
modelConfiguration?: ModelConfiguration
|
|
495
|
-
name?: string
|
|
496
|
-
workspace?: number
|
|
497
|
-
alias?: string
|
|
498
|
-
cluster?: string
|
|
499
|
-
namespace?: string
|
|
500
|
-
resourceVersion?: string
|
|
501
|
-
origin?: ModelServingOrigin
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
export type ModelServingFormParseIssue = {
|
|
505
|
-
path?: string
|
|
506
|
-
message?: string
|
|
507
|
-
blocking?: boolean
|
|
508
|
-
}
|
|
509
|
-
|
|
510
475
|
export type GetModelServingFormResponse = {
|
|
511
476
|
form?: string
|
|
512
477
|
stack?: InferyCommonCommon.InferenceStack
|
|
513
478
|
disaggregationMode?: InferyCommonCommon.DisaggregationMode
|
|
514
479
|
version?: string
|
|
515
|
-
parseIssues?: ModelServingFormParseIssue[]
|
|
516
480
|
canContinueEditing?: boolean
|
|
517
481
|
}
|
|
518
482
|
|