@daocloud-proto/baize 0.107.1 → 0.107.2
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,9 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
import * as BaizeCommonCommon from "../../../common/common.pb"
|
|
8
8
|
import * as fm from "../../../fetch.pb"
|
|
9
|
+
|
|
10
|
+
export enum ClusterStatus {
|
|
11
|
+
CLUSTER_STATUS_UNSPECIFIED = "CLUSTER_STATUS_UNSPECIFIED",
|
|
12
|
+
CLUSTER_STATUS_RUNNING = "CLUSTER_STATUS_RUNNING",
|
|
13
|
+
CLUSTER_STATUS_NOT_RUNNING = "CLUSTER_STATUS_NOT_RUNNING",
|
|
14
|
+
CLUSTER_STATUS_UNKNOWN = "CLUSTER_STATUS_UNKNOWN",
|
|
15
|
+
}
|
|
16
|
+
|
|
9
17
|
export type AICluster = {
|
|
10
18
|
name?: string
|
|
11
19
|
withAiSuite?: boolean
|
|
20
|
+
clusterStatus?: ClusterStatus
|
|
12
21
|
}
|
|
13
22
|
|
|
14
23
|
export type ListAIClustersRequest = {
|
|
@@ -30,6 +39,7 @@ export type ListClusterNamespaceRequest = {
|
|
|
30
39
|
export type ClusterNamespace = {
|
|
31
40
|
cluster?: string
|
|
32
41
|
name?: string
|
|
42
|
+
clusterStatus?: ClusterStatus
|
|
33
43
|
}
|
|
34
44
|
|
|
35
45
|
export type ListClusterNamespaceResponse = {
|
|
@@ -36,6 +36,11 @@ export enum JobRole {
|
|
|
36
36
|
TF_EVALUATOR = "TF_EVALUATOR",
|
|
37
37
|
PD_MASTER = "PD_MASTER",
|
|
38
38
|
PD_WORKER = "PD_WORKER",
|
|
39
|
+
MX_SCHEDULER = "MX_SCHEDULER",
|
|
40
|
+
MX_SERVER = "MX_SERVER",
|
|
41
|
+
MX_WORKER = "MX_WORKER",
|
|
42
|
+
MPI_LAUNCHER = "MPI_LAUNCHER",
|
|
43
|
+
MPI_WORKER = "MPI_WORKER",
|
|
39
44
|
}
|
|
40
45
|
|
|
41
46
|
export type CommonConfig = {
|