@daocloud-proto/hydra 0.5.0-dev-32 → 0.5.0-dev-35
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.
package/common/common.pb.ts
CHANGED
package/common/errorcode.ts
CHANGED
|
@@ -30,6 +30,9 @@ export enum ErrorCode {
|
|
|
30
30
|
// EN: Requested resource conflicted error: %v
|
|
31
31
|
// ZH: 请求的资源冲突错误:%v
|
|
32
32
|
USER_CONFLICT_ERROR = "USER-CONFLICT_ERROR",
|
|
33
|
+
// EN: Failed precondition error: %v
|
|
34
|
+
// ZH: 前置条件错误:%v
|
|
35
|
+
USER_FAILED_PRECONDITION_ERROR = "USER-FAILED_PRECONDITION_ERROR",
|
|
33
36
|
// EN: out of page: %v
|
|
34
37
|
// ZH: 分页错误:%v
|
|
35
38
|
USER_OUT_OF_PAGE = "USER-OUT_OF_PAGE",
|
|
@@ -34,6 +34,7 @@ export enum DeployTemplateGPUType {
|
|
|
34
34
|
NVIDIA_GPU = "NVIDIA_GPU",
|
|
35
35
|
NVIDIA_vGPU = "NVIDIA_vGPU",
|
|
36
36
|
NO_GPU = "NO_GPU",
|
|
37
|
+
METAX_GPU = "METAX_GPU",
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export enum DeployTemplateInferenceRuntime {
|
|
@@ -66,6 +67,7 @@ export type Model = {
|
|
|
66
67
|
publicModelPrice?: ModelPrice
|
|
67
68
|
readme?: HydraCommonCommon.I18nName
|
|
68
69
|
publicModelConfig?: PublicModelConfig
|
|
70
|
+
modelDeploymentsExists?: boolean
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
export type ListModelRequest = {
|
|
@@ -148,6 +150,7 @@ export type WSModel = {
|
|
|
148
150
|
publicAccessModelName?: string
|
|
149
151
|
readme?: HydraCommonCommon.I18nName
|
|
150
152
|
publicModelConfig?: PublicModelConfig
|
|
153
|
+
modelDeploymentsExists?: boolean
|
|
151
154
|
}
|
|
152
155
|
|
|
153
156
|
export class ModelManagement {
|