@daocloud-proto/baize 0.127.2 → 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 = {
@@ -26,6 +27,7 @@ export type AICluster = {
26
27
  withAiSuite?: boolean
27
28
  clusterStatus?: ClusterStatus
28
29
  withMetricsServer?: boolean
30
+ withDataset?: boolean
29
31
  }
30
32
 
31
33
  export type ListAIClustersRequest = {
@@ -61,8 +61,8 @@ export enum DataSourceOptionsModelScopeRepoType {
61
61
  DATASET = "DATASET",
62
62
  }
63
63
 
64
- export enum DataSourceOptionsRCloneOp {
65
- RCLONE_OP_UNSPECIFIED = "RCLONE_OP_UNSPECIFIED",
64
+ export enum DataSourceOptionsSyncMode {
65
+ SYNC_MODE_UNSPECIFIED = "SYNC_MODE_UNSPECIFIED",
66
66
  COPY = "COPY",
67
67
  SYNC = "SYNC",
68
68
  }
@@ -173,12 +173,12 @@ export type DataSourceOptionsS3 = {
173
173
  region?: string
174
174
  endpoint?: string
175
175
  provider?: DataSourceOptionsS3Provider
176
- rcloneOp?: DataSourceOptionsRCloneOp
176
+ syncMode?: DataSourceOptionsSyncMode
177
177
  }
178
178
 
179
179
  export type DataSourceOptionsHttp = {
180
180
  headers?: {[key: string]: string}
181
- rcloneOp?: DataSourceOptionsRCloneOp
181
+ syncMode?: DataSourceOptionsSyncMode
182
182
  }
183
183
 
184
184
  export type DataSourceOptionsReference = {
@@ -24,6 +24,9 @@ export enum EventObjKind {
24
24
  PADDLE_JOB = "PADDLE_JOB",
25
25
  MXNET_JOB = "MXNET_JOB",
26
26
  MPI_JOB = "MPI_JOB",
27
+ TRAIN_JOB = "TRAIN_JOB",
28
+ JOB_SET = "JOB_SET",
29
+ BATCH = "BATCH",
27
30
  UNKNOWN = "UNKNOWN",
28
31
  }
29
32
 
@@ -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
  }
@@ -110,6 +110,7 @@ export type Notebook = {
110
110
  analysis?: BaizeManagement_apiAnalysisV1alpha1Analysis.AnalysisConfig
111
111
  description?: string
112
112
  snapshotConfig?: SnapshotConfig
113
+ creator?: string
113
114
  }
114
115
 
115
116
  export type ListNotebooksResponse = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/baize",
3
- "version": "v0.127.2",
3
+ "version": "v0.128.1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"