@daocloud-proto/infery 0.0.0-dev-eedaba15 → 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<{ version: string }>
101
+ & OneOf<{ resourceVersion: string }>
102
102
 
103
103
  export type ParseInferenceTemplateRequest = {
104
104
  workspace?: number
@@ -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
- expertParallelSize?: boolean
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 ModelServingStatusSummary = {
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?: ModelServiceStatus
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?: ModelServingStatusSummary
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
- revision?: string
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
- baseRevision?: string
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/infery",
3
- "version": "v0.0.0-dev-eedaba15",
3
+ "version": "v0.0.0-dev-80114340",
4
4
  "description": "Infery frontend protobuf SDK",
5
5
  "license": "ISC"
6
6
  }