@daocloud-proto/baize 0.128.0 → 0.128.1

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.
@@ -19,6 +19,7 @@ export enum Prerequisite {
19
19
  PREREQUISITE_UNSPECIFIED = "PREREQUISITE_UNSPECIFIED",
20
20
  Dind = "Dind",
21
21
  MxDcmd = "MxDcmd",
22
+ Kueue = "Kueue",
22
23
  }
23
24
 
24
25
  export type AICluster = {
@@ -153,13 +153,16 @@ export type CleanCheckpointConfig = {
153
153
  whitelist?: string
154
154
  }
155
155
 
156
- export type TrainingConfig = {
156
+
157
+ /* baize modified */ export type BaseTrainingConfig = {
157
158
  restartPolicy?: RestartPolicy
158
- maxRetries?: number
159
159
  maxTrainingDuration?: string
160
160
  rdmaEnabled?: boolean
161
161
  }
162
162
 
163
+ export type TrainingConfig = BaseTrainingConfig
164
+ & OneOf<{ maxRetries: number }>
165
+
163
166
 
164
167
  /* baize modified */ export type BaseJobActionRequestParams = {
165
168
  }
@@ -153,13 +153,16 @@ export type CleanCheckpointConfig = {
153
153
  whitelist?: string
154
154
  }
155
155
 
156
- export type TrainingConfig = {
156
+
157
+ /* baize modified */ export type BaseTrainingConfig = {
157
158
  restartPolicy?: RestartPolicy
158
- maxRetries?: number
159
159
  maxTrainingDuration?: string
160
160
  rdmaEnabled?: boolean
161
161
  }
162
162
 
163
+ export type TrainingConfig = BaseTrainingConfig
164
+ & OneOf<{ maxRetries: number }>
165
+
163
166
 
164
167
  /* baize modified */ export type BaseJobActionRequestParams = {
165
168
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/baize",
3
- "version": "v0.128.0",
3
+ "version": "v0.128.1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"