@daocloud-proto/infery 0.0.0-dev-b39c4bb1 → 0.0.0-dev-6e9d6274
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.
|
@@ -45,15 +45,19 @@ export type RoleConfig = {
|
|
|
45
45
|
encoder?: RoleSpec
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
export type Catalog = {
|
|
49
|
+
maturity?: Maturity
|
|
50
|
+
hardwareVendor?: string
|
|
51
|
+
supportedGpus?: {[key: string]: string}
|
|
52
|
+
guide?: InferyCommonCommon.I18nName
|
|
53
|
+
}
|
|
54
|
+
|
|
48
55
|
export type InferenceTemplateSpec = {
|
|
49
56
|
modelName?: string
|
|
50
57
|
engine?: InferenceEngine
|
|
51
58
|
stack?: InferyCommonCommon.InferenceStack
|
|
52
59
|
disaggregationMode?: InferyCommonCommon.DisaggregationMode
|
|
53
|
-
|
|
54
|
-
hardwareVendor?: string
|
|
55
|
-
supportedGpus?: {[key: string]: string}
|
|
56
|
-
guide?: InferyCommonCommon.I18nName
|
|
60
|
+
catalog?: Catalog
|
|
57
61
|
role?: RoleConfig
|
|
58
62
|
}
|
|
59
63
|
|
|
@@ -89,7 +93,7 @@ export type CreateInferenceTemplateRequest = {
|
|
|
89
93
|
name?: string
|
|
90
94
|
manifest?: InferenceTemplateManifest
|
|
91
95
|
maturity?: Maturity
|
|
92
|
-
guide?:
|
|
96
|
+
guide?: InferyCommonCommon.I18nName
|
|
93
97
|
}
|
|
94
98
|
|
|
95
99
|
export type ListInferenceTemplatesRequest = {
|
|
@@ -101,14 +105,10 @@ export type ListInferenceTemplatesRequest = {
|
|
|
101
105
|
}
|
|
102
106
|
|
|
103
107
|
export type ListInferenceTemplatesResponse = {
|
|
104
|
-
items?:
|
|
108
|
+
items?: InferenceTemplate[]
|
|
105
109
|
page?: InferyCommonCommon.Pagination
|
|
106
110
|
}
|
|
107
111
|
|
|
108
|
-
export type InferenceTemplateListItem = {
|
|
109
|
-
inferenceTemplate?: InferenceTemplate
|
|
110
|
-
}
|
|
111
|
-
|
|
112
112
|
export type GetInferenceTemplateFiltersRequest = {
|
|
113
113
|
workspace?: number
|
|
114
114
|
}
|