@daocloud-proto/infery 0.0.0-dev-2ab90a29 → 0.0.0-dev-b39c4bb1
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.
|
@@ -14,6 +14,12 @@ export enum Maturity {
|
|
|
14
14
|
MATURITY_PREVIEW = "MATURITY_PREVIEW",
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
export enum TemplateSource {
|
|
18
|
+
TEMPLATE_SOURCE_UNSPECIFIED = "TEMPLATE_SOURCE_UNSPECIFIED",
|
|
19
|
+
TEMPLATE_SOURCE_BUILTIN = "TEMPLATE_SOURCE_BUILTIN",
|
|
20
|
+
TEMPLATE_SOURCE_WORKSPACE = "TEMPLATE_SOURCE_WORKSPACE",
|
|
21
|
+
}
|
|
22
|
+
|
|
17
23
|
export enum InferenceEngine {
|
|
18
24
|
INFERENCE_ENGINE_UNSPECIFIED = "INFERENCE_ENGINE_UNSPECIFIED",
|
|
19
25
|
INFERENCE_ENGINE_VLLM = "INFERENCE_ENGINE_VLLM",
|
|
@@ -54,6 +60,7 @@ export type InferenceTemplateSpec = {
|
|
|
54
60
|
export type InferenceTemplateMetadata = {
|
|
55
61
|
name?: string
|
|
56
62
|
createTime?: GoogleProtobufTimestamp.Timestamp
|
|
63
|
+
source?: TemplateSource
|
|
57
64
|
}
|
|
58
65
|
|
|
59
66
|
export type InferenceTemplateManifest = {
|
|
@@ -170,6 +170,7 @@ type BasePreviewModelServingRequest = {
|
|
|
170
170
|
export type PreviewModelServingRequest = BasePreviewModelServingRequest
|
|
171
171
|
& OneOf<{ form: string; helmValues: string }>
|
|
172
172
|
& OneOf<{ formVersion: string }>
|
|
173
|
+
& OneOf<{ resourceVersion: string }>
|
|
173
174
|
|
|
174
175
|
export type PreviewModelServingResponse = {
|
|
175
176
|
helmValues?: string
|
|
@@ -366,6 +367,7 @@ type BaseUpdateModelServingRequest = {
|
|
|
366
367
|
alias?: string
|
|
367
368
|
resourceVersion?: string
|
|
368
369
|
modelConfiguration?: ModelConfiguration
|
|
370
|
+
origin?: ModelServingOrigin
|
|
369
371
|
}
|
|
370
372
|
|
|
371
373
|
export type UpdateModelServingRequest = BaseUpdateModelServingRequest
|
|
@@ -478,11 +480,19 @@ export type ModelServingFormInstance = {
|
|
|
478
480
|
origin?: ModelServingOrigin
|
|
479
481
|
}
|
|
480
482
|
|
|
483
|
+
export type ModelServingFormParseIssue = {
|
|
484
|
+
path?: string
|
|
485
|
+
message?: string
|
|
486
|
+
blocking?: boolean
|
|
487
|
+
}
|
|
488
|
+
|
|
481
489
|
export type GetModelServingFormResponse = {
|
|
482
490
|
form?: string
|
|
483
491
|
stack?: InferyCommonCommon.InferenceStack
|
|
484
492
|
disaggregationMode?: InferyCommonCommon.DisaggregationMode
|
|
485
493
|
version?: string
|
|
494
|
+
parseIssues?: ModelServingFormParseIssue[]
|
|
495
|
+
canContinueEditing?: boolean
|
|
486
496
|
}
|
|
487
497
|
|
|
488
498
|
export class ModelServingManagement {
|