@daocloud-proto/infery 0.0.0-dev-8c5b0349 → 0.0.0-dev-e80ffc38
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",
|
|
@@ -39,21 +45,26 @@ export type RoleConfig = {
|
|
|
39
45
|
encoder?: RoleSpec
|
|
40
46
|
}
|
|
41
47
|
|
|
48
|
+
export type Catalog = {
|
|
49
|
+
maturity?: Maturity
|
|
50
|
+
hardwareVendor?: string
|
|
51
|
+
supportedGpus?: {[key: string]: string}
|
|
52
|
+
guide?: InferyCommonCommon.I18nName
|
|
53
|
+
}
|
|
54
|
+
|
|
42
55
|
export type InferenceTemplateSpec = {
|
|
43
56
|
modelName?: string
|
|
44
57
|
engine?: InferenceEngine
|
|
45
58
|
stack?: InferyCommonCommon.InferenceStack
|
|
46
59
|
disaggregationMode?: InferyCommonCommon.DisaggregationMode
|
|
47
|
-
|
|
48
|
-
hardwareVendor?: string
|
|
49
|
-
supportedGpus?: {[key: string]: string}
|
|
50
|
-
guide?: InferyCommonCommon.I18nName
|
|
60
|
+
catalog?: Catalog
|
|
51
61
|
role?: RoleConfig
|
|
52
62
|
}
|
|
53
63
|
|
|
54
64
|
export type InferenceTemplateMetadata = {
|
|
55
65
|
name?: string
|
|
56
66
|
createTime?: GoogleProtobufTimestamp.Timestamp
|
|
67
|
+
source?: TemplateSource
|
|
57
68
|
}
|
|
58
69
|
|
|
59
70
|
export type InferenceTemplateManifest = {
|