@daocloud-proto/infery 0.0.0-dev-bcc08700 → 0.0.0-dev-0768e821
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.
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
import * as InferyCommonCommon from "../../../common/common.pb"
|
|
8
8
|
import * as fm from "../../../fetch.pb"
|
|
9
|
-
import * as GoogleProtobufDuration from "../../../google/protobuf/duration.pb"
|
|
10
9
|
import * as GoogleProtobufTimestamp from "../../../google/protobuf/timestamp.pb"
|
|
11
10
|
import * as InferyManagement_apiInference_templateV1alpha1Inference_template from "../../inference_template/v1alpha1/inference_template.pb"
|
|
12
11
|
|
|
@@ -428,7 +427,7 @@ export type TerminateModelServingOperationResponse = {
|
|
|
428
427
|
export type ModelServingHistory = {
|
|
429
428
|
id?: string
|
|
430
429
|
updateTime?: GoogleProtobufTimestamp.Timestamp
|
|
431
|
-
updateDuration?:
|
|
430
|
+
updateDuration?: number
|
|
432
431
|
versionType?: ModelServingHistoryVersionType
|
|
433
432
|
values?: string
|
|
434
433
|
}
|
|
@@ -15,6 +15,16 @@ type OneOf<T> =
|
|
|
15
15
|
(K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
|
|
16
16
|
: never)
|
|
17
17
|
: never);
|
|
18
|
+
|
|
19
|
+
export enum ComponentStatus {
|
|
20
|
+
COMPONENT_STATUS_UNSPECIFIED = "COMPONENT_STATUS_UNSPECIFIED",
|
|
21
|
+
COMPONENT_STATUS_UNKNOWN = "COMPONENT_STATUS_UNKNOWN",
|
|
22
|
+
COMPONENT_STATUS_NOT_INSTALLED = "COMPONENT_STATUS_NOT_INSTALLED",
|
|
23
|
+
COMPONENT_STATUS_PENDING = "COMPONENT_STATUS_PENDING",
|
|
24
|
+
COMPONENT_STATUS_READY = "COMPONENT_STATUS_READY",
|
|
25
|
+
COMPONENT_STATUS_FAILED = "COMPONENT_STATUS_FAILED",
|
|
26
|
+
}
|
|
27
|
+
|
|
18
28
|
export type ListWorkspaceRequest = {
|
|
19
29
|
cluster?: string
|
|
20
30
|
}
|
|
@@ -36,12 +46,20 @@ export type ListClusterRequest = {
|
|
|
36
46
|
|
|
37
47
|
type BaseCluster = {
|
|
38
48
|
name?: string
|
|
49
|
+
components?: Component[]
|
|
39
50
|
}
|
|
40
51
|
|
|
41
52
|
export type Cluster = BaseCluster
|
|
42
53
|
& OneOf<{ gpuVendorMatched: boolean }>
|
|
43
54
|
& OneOf<{ gpuModelMatched: boolean }>
|
|
44
55
|
|
|
56
|
+
export type Component = {
|
|
57
|
+
name?: string
|
|
58
|
+
installedVersion?: string
|
|
59
|
+
status?: ComponentStatus
|
|
60
|
+
message?: string
|
|
61
|
+
}
|
|
62
|
+
|
|
45
63
|
export type ListClustersResponse = {
|
|
46
64
|
items?: Cluster[]
|
|
47
65
|
}
|
|
@@ -121,6 +139,9 @@ export type ListClusterRDMANetworksResponse = {
|
|
|
121
139
|
|
|
122
140
|
export type ListImagesRequest = {
|
|
123
141
|
workspace?: number
|
|
142
|
+
stack?: InferyCommonCommon.InferenceStack
|
|
143
|
+
disaggregationMode?: InferyCommonCommon.DisaggregationMode
|
|
144
|
+
component?: string
|
|
124
145
|
}
|
|
125
146
|
|
|
126
147
|
export type ImageOption = {
|