@daocloud-proto/baize 0.120.0 → 0.121.0

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.
@@ -132,6 +132,7 @@ export type Toleration = {
132
132
  operator?: TolerationOperator
133
133
  value?: string
134
134
  effect?: TaintEffect
135
+ tolerationSeconds?: string
135
136
  }
136
137
 
137
138
  export type Node = {
package/common/k8s.pb.ts CHANGED
@@ -4,6 +4,8 @@
4
4
  * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
5
  */
6
6
 
7
+ import * as BaizeCommonCommon from "./common.pb"
8
+
7
9
  type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
8
10
  type OneOf<T> =
9
11
  | { [k in keyof T]?: undefined }
@@ -69,6 +71,7 @@ export type PodConfig = {
69
71
  livenessProbe?: Probe
70
72
  readinessProbe?: Probe
71
73
  startupProbe?: Probe
74
+ tolerations?: BaizeCommonCommon.Toleration[]
72
75
  }
73
76
 
74
77
 
@@ -18,6 +18,7 @@ export enum ClusterStatus {
18
18
  export enum Prerequisite {
19
19
  PREREQUISITE_UNSPECIFIED = "PREREQUISITE_UNSPECIFIED",
20
20
  Dind = "Dind",
21
+ MxDcmd = "MxDcmd",
21
22
  }
22
23
 
23
24
  export type AICluster = {
@@ -90,6 +91,8 @@ export type GPUSetting = {
90
91
  type?: string
91
92
  alias?: string
92
93
  resource?: GPUResourceSetting[]
94
+ resourceTemplate?: GPUResourceSetting
95
+ isDynamic?: boolean
93
96
  }
94
97
 
95
98
  export type GPUResourceSetting = {
@@ -62,6 +62,7 @@ export type JobCreationBaseConfig = {
62
62
  shmSize?: number
63
63
  noOverrideEnvPath?: boolean
64
64
  imageConfig?: BaizeManagement_apiImageV1alpha1Image.ImageConfig
65
+ preflight?: boolean
65
66
  }
66
67
 
67
68
  export type JobRoleDifferenceConfig = {
@@ -19,6 +19,7 @@ export enum ResourceType {
19
19
  NOTEBOOK = "NOTEBOOK",
20
20
  INFERENCE = "INFERENCE",
21
21
  DATASET = "DATASET",
22
+ SNAPSHOT_POD_TASKS = "SNAPSHOT_POD_TASKS",
22
23
  }
23
24
 
24
25
  export type PodRequest = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/baize",
3
- "version": "v0.120.0",
3
+ "version": "v0.121.0",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"