@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.
- package/management-api/cluster/v1alpha1/cluster.pb.ts +2 -0
- package/management-api/dataset/v1alpha1/dataset.pb.ts +4 -4
- package/management-api/event/v1alpha1/event.pb.ts +3 -0
- package/management-api/job/v1alpha1/job.pb.ts +5 -2
- package/management-api/job/v1alpha2/job.pb.ts +5 -2
- package/management-api/notebook/v1alpha1/notebook.pb.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
|
65
|
-
|
|
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
|
-
|
|
176
|
+
syncMode?: DataSourceOptionsSyncMode
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
export type DataSourceOptionsHttp = {
|
|
180
180
|
headers?: {[key: string]: string}
|
|
181
|
-
|
|
181
|
+
syncMode?: DataSourceOptionsSyncMode
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
export type DataSourceOptionsReference = {
|
|
@@ -153,13 +153,16 @@ export type CleanCheckpointConfig = {
|
|
|
153
153
|
whitelist?: string
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
|
|
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
|
-
|
|
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
|
}
|