@daocloud-proto/baize 0.122.0 → 0.122.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.
|
@@ -126,16 +126,13 @@ export type CreateJobRequest = {
|
|
|
126
126
|
recoveryConfig?: BaizeManagement_apiJobV1alpha1Common.RecoveryConfig
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
export type TrainingConfig = {
|
|
130
|
+
restartPolicy?: RestartPolicy
|
|
131
|
+
maxRetries?: number
|
|
132
|
+
maxTrainingDuration?: string
|
|
131
133
|
rdmaEnabled?: boolean
|
|
132
134
|
}
|
|
133
135
|
|
|
134
|
-
export type TrainingConfig = BaseTrainingConfig
|
|
135
|
-
& OneOf<{ restartPolicy: RestartPolicy }>
|
|
136
|
-
& OneOf<{ maxRetries: number }>
|
|
137
|
-
& OneOf<{ maxTrainingDuration: string }>
|
|
138
|
-
|
|
139
136
|
|
|
140
137
|
/* baize modified */ export type BaseJobActionRequestParams = {
|
|
141
138
|
}
|