openpond-sdk 0.12.16 → 0.12.18
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/dist/{chunk-VPK3SM45.js → chunk-BJMENXR4.js} +2 -1
- package/dist/{chunk-VPK3SM45.js.map → chunk-BJMENXR4.js.map} +1 -1
- package/dist/{chunk-FBZTDDRC.js → chunk-C5LW5IFH.js} +2 -2
- package/dist/{chunk-WM3U4RPZ.js → chunk-JMXFHO2W.js} +40 -9
- package/dist/chunk-JMXFHO2W.js.map +1 -0
- package/dist/{chunk-HJ2AIAKX.js → chunk-QJCCNBMZ.js} +11 -1
- package/dist/chunk-QJCCNBMZ.js.map +1 -0
- package/dist/{chunk-L6EJX2VQ.js → chunk-VQ34VXAZ.js} +2 -2
- package/dist/{chunk-3DWPLYFJ.js → chunk-ZDOGI6PB.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/learning.js +2 -2
- package/dist/learning.js.map +1 -1
- package/dist/model-starter-catalog.js +1 -1
- package/dist/model-starters.js +1 -1
- package/dist/post-training.js +1 -1
- package/dist/profile-actions.js +2 -2
- package/dist/project-actions.js +2 -2
- package/dist/training-bundle.js +1 -1
- package/dist/training.js +1096 -970
- package/dist/training.js.map +1 -1
- package/dist/types/packages/cloud/src/api/client-context.d.ts +5 -0
- package/dist/types/packages/cloud/src/api/client-context.d.ts.map +1 -0
- package/dist/types/packages/cloud/src/api/core.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-training-review.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-draft-storage.d.ts +1030 -82
- package/dist/types/packages/sdk/src/experiment-draft-storage.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-evaluation-schedules.d.ts +216 -216
- package/dist/types/packages/sdk/src/experiment-improvement-client.d.ts +1889 -1889
- package/dist/types/packages/sdk/src/managed-training-preparation.d.ts +25 -25
- package/dist/types/packages/sdk/src/model-supervised-training-defaults.d.ts +1 -1
- package/dist/types/packages/sdk/src/model-supervised-training-defaults.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-taskset-runs.d.ts +216 -216
- package/dist/types/packages/sdk/src/model-training-defaults.d.ts +1 -1
- package/dist/types/packages/sdk/src/model-training-defaults.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/post-training.d.ts +1 -0
- package/dist/types/packages/sdk/src/post-training.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/steering-model-serving.d.ts +1349 -1349
- package/dist/types/packages/sdk/src/taskset-draft-client.d.ts +120 -120
- package/dist/types/packages/sdk/src/training-experiment-learning-intent.d.ts +16 -0
- package/dist/types/packages/sdk/src/training-experiment-learning-intent.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training-experiment-learning.d.ts +683 -0
- package/dist/types/packages/sdk/src/training-experiment-learning.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training-experiment-setup.d.ts +543 -0
- package/dist/types/packages/sdk/src/training-experiment-setup.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-harness-sources.d.ts +2 -2
- package/dist/types/packages/sdk/src/training-learning-batch.d.ts +40 -40
- package/dist/types/packages/sdk/src/training-qualification-preparation.d.ts +25 -25
- package/dist/types/packages/sdk/src/training.d.ts +1178 -1064
- package/dist/types/packages/sdk/src/training.d.ts.map +1 -1
- package/dist/workflows.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-HJ2AIAKX.js.map +0 -1
- package/dist/chunk-WM3U4RPZ.js.map +0 -1
- /package/dist/{chunk-FBZTDDRC.js.map → chunk-C5LW5IFH.js.map} +0 -0
- /package/dist/{chunk-L6EJX2VQ.js.map → chunk-VQ34VXAZ.js.map} +0 -0
- /package/dist/{chunk-3DWPLYFJ.js.map → chunk-ZDOGI6PB.js.map} +0 -0
|
@@ -0,0 +1,683 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type TrainingExperimentFormDraft } from "./training-experiment-setup.js";
|
|
3
|
+
export * from "./training-experiment-learning-intent.js";
|
|
4
|
+
/** An explicit policy save is separate from manual preparation and execution. */
|
|
5
|
+
export declare const TrainingExperimentLearningRequestSchema: z.ZodObject<{
|
|
6
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingExperimentLearning.v1">;
|
|
7
|
+
teamId: z.ZodString;
|
|
8
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
9
|
+
draftId: z.ZodString;
|
|
10
|
+
form: z.ZodObject<{
|
|
11
|
+
baseModel: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
13
|
+
modelId: z.ZodString;
|
|
14
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
15
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
16
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
17
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
18
|
+
source: z.ZodEnum<{
|
|
19
|
+
builtin: "builtin";
|
|
20
|
+
local: "local";
|
|
21
|
+
managed: "managed";
|
|
22
|
+
}>;
|
|
23
|
+
}, z.core.$strict>>;
|
|
24
|
+
recipe: z.ZodObject<{
|
|
25
|
+
schemaVersion: z.ZodString;
|
|
26
|
+
method: z.ZodEnum<{
|
|
27
|
+
dpo: "dpo";
|
|
28
|
+
grpo: "grpo";
|
|
29
|
+
opd: "opd";
|
|
30
|
+
opsd: "opsd";
|
|
31
|
+
ppo: "ppo";
|
|
32
|
+
sdft: "sdft";
|
|
33
|
+
sdpo: "sdpo";
|
|
34
|
+
sft: "sft";
|
|
35
|
+
}>;
|
|
36
|
+
parameterization: z.ZodEnum<{
|
|
37
|
+
full: "full";
|
|
38
|
+
lora: "lora";
|
|
39
|
+
}>;
|
|
40
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
41
|
+
batch: z.ZodNullable<z.ZodObject<{
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
contentHash: z.ZodString;
|
|
44
|
+
revision: z.ZodNumber;
|
|
45
|
+
}, z.core.$strict>>;
|
|
46
|
+
evaluation: z.ZodNullable<z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
contentHash: z.ZodString;
|
|
49
|
+
revision: z.ZodNumber;
|
|
50
|
+
}, z.core.$strict>>;
|
|
51
|
+
validationSplit: z.ZodEnum<{
|
|
52
|
+
frozen_eval: "frozen_eval";
|
|
53
|
+
validation: "validation";
|
|
54
|
+
}>;
|
|
55
|
+
name: z.ZodString;
|
|
56
|
+
budget: z.ZodString;
|
|
57
|
+
customerCapUsd: z.ZodOptional<z.ZodString>;
|
|
58
|
+
billingMode: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
actual_usage: "actual_usage";
|
|
60
|
+
prepaid_only: "prepaid_only";
|
|
61
|
+
}>>;
|
|
62
|
+
gpuSelection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
63
|
+
mode: z.ZodLiteral<"automatic">;
|
|
64
|
+
objective: z.ZodEnum<{
|
|
65
|
+
balanced: "balanced";
|
|
66
|
+
economical: "economical";
|
|
67
|
+
fast: "fast";
|
|
68
|
+
}>;
|
|
69
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
70
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
71
|
+
mode: z.ZodLiteral<"manual">;
|
|
72
|
+
availabilityId: z.ZodString;
|
|
73
|
+
gpuType: z.ZodString;
|
|
74
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
75
|
+
}, z.core.$strict>], "mode">>;
|
|
76
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
jobId: z.ZodString;
|
|
78
|
+
artifact: z.ZodObject<{
|
|
79
|
+
id: z.ZodString;
|
|
80
|
+
contentHash: z.ZodString;
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
checkpointId: z.ZodString;
|
|
83
|
+
adapterMode: z.ZodEnum<{
|
|
84
|
+
residual_append: "residual_append";
|
|
85
|
+
sequential_merge: "sequential_merge";
|
|
86
|
+
shared: "shared";
|
|
87
|
+
}>;
|
|
88
|
+
}, z.core.$strict>>;
|
|
89
|
+
startingModelLabel: z.ZodOptional<z.ZodString>;
|
|
90
|
+
learningIntent: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
enabled: z.ZodBoolean;
|
|
92
|
+
mode: z.ZodEnum<{
|
|
93
|
+
approved_count: "approved_count";
|
|
94
|
+
nightly: "nightly";
|
|
95
|
+
}>;
|
|
96
|
+
minimumTasks: z.ZodString;
|
|
97
|
+
localTime: z.ZodString;
|
|
98
|
+
timeZone: z.ZodString;
|
|
99
|
+
maximumSpendUsd: z.ZodString;
|
|
100
|
+
maximumDailySpendUsd: z.ZodString;
|
|
101
|
+
}, z.core.$strict>>;
|
|
102
|
+
}, z.core.$strict>;
|
|
103
|
+
expectedConfiguration: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
id: z.ZodString;
|
|
105
|
+
expectedRevision: z.ZodNumber;
|
|
106
|
+
expectedEtag: z.ZodString;
|
|
107
|
+
}, z.core.$strict>>;
|
|
108
|
+
expectedPolicy: z.ZodOptional<z.ZodObject<{
|
|
109
|
+
id: z.ZodString;
|
|
110
|
+
contentHash: z.ZodString;
|
|
111
|
+
revision: z.ZodNumber;
|
|
112
|
+
}, z.core.$strict>>;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
export type TrainingExperimentLearningRequest = z.infer<typeof TrainingExperimentLearningRequestSchema>;
|
|
115
|
+
export declare const TrainingExperimentLearningReceiptSchema: z.ZodObject<{
|
|
116
|
+
schemaVersion: z.ZodLiteral<"openpond.trainingExperimentLearningReceipt.v1">;
|
|
117
|
+
inputHash: z.ZodString;
|
|
118
|
+
configuration: z.ZodObject<{
|
|
119
|
+
id: z.ZodString;
|
|
120
|
+
teamId: z.ZodString;
|
|
121
|
+
portableProjectId: z.ZodString;
|
|
122
|
+
name: z.ZodString;
|
|
123
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
124
|
+
defaultBaseModel: z.ZodNullable<z.ZodObject<{
|
|
125
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
126
|
+
modelId: z.ZodString;
|
|
127
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
128
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
129
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
130
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
131
|
+
source: z.ZodEnum<{
|
|
132
|
+
builtin: "builtin";
|
|
133
|
+
local: "local";
|
|
134
|
+
managed: "managed";
|
|
135
|
+
}>;
|
|
136
|
+
}, z.core.$strict>>;
|
|
137
|
+
defaultDestinationId: z.ZodNullable<z.ZodString>;
|
|
138
|
+
trainingSetup: z.ZodObject<{
|
|
139
|
+
tasksetRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
140
|
+
id: z.ZodString;
|
|
141
|
+
contentHash: z.ZodString;
|
|
142
|
+
revision: z.ZodNumber;
|
|
143
|
+
}, z.core.$strict>>>;
|
|
144
|
+
evaluationTasksetRef: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
145
|
+
id: z.ZodString;
|
|
146
|
+
contentHash: z.ZodString;
|
|
147
|
+
revision: z.ZodNumber;
|
|
148
|
+
}, z.core.$strict>>>;
|
|
149
|
+
profileSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
150
|
+
profileProjectId: z.ZodString;
|
|
151
|
+
sourceRevision: z.ZodString;
|
|
152
|
+
harnessRelease: z.ZodObject<{
|
|
153
|
+
id: z.ZodString;
|
|
154
|
+
contentHash: z.ZodString;
|
|
155
|
+
}, z.core.$strict>;
|
|
156
|
+
}, z.core.$strict>>>;
|
|
157
|
+
profileEvaluation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
158
|
+
profileProjectId: z.ZodString;
|
|
159
|
+
sourceRevision: z.ZodString;
|
|
160
|
+
catalogHash: z.ZodString;
|
|
161
|
+
definitionId: z.ZodString;
|
|
162
|
+
harnessRelease: z.ZodObject<{
|
|
163
|
+
id: z.ZodString;
|
|
164
|
+
contentHash: z.ZodString;
|
|
165
|
+
}, z.core.$strict>;
|
|
166
|
+
tasksetRelease: z.ZodObject<{
|
|
167
|
+
id: z.ZodString;
|
|
168
|
+
contentHash: z.ZodString;
|
|
169
|
+
}, z.core.$strict>;
|
|
170
|
+
}, z.core.$strict>>>;
|
|
171
|
+
rewardBindingRef: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
172
|
+
id: z.ZodString;
|
|
173
|
+
contentHash: z.ZodString;
|
|
174
|
+
revision: z.ZodNumber;
|
|
175
|
+
}, z.core.$strict>>>;
|
|
176
|
+
tasksetRelease: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
177
|
+
id: z.ZodString;
|
|
178
|
+
contentHash: z.ZodString;
|
|
179
|
+
}, z.core.$strict>>>;
|
|
180
|
+
harnessRelease: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
181
|
+
id: z.ZodString;
|
|
182
|
+
contentHash: z.ZodString;
|
|
183
|
+
}, z.core.$strict>>>;
|
|
184
|
+
baseModel: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
185
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
186
|
+
modelId: z.ZodString;
|
|
187
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
188
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
189
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
190
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
191
|
+
source: z.ZodEnum<{
|
|
192
|
+
builtin: "builtin";
|
|
193
|
+
local: "local";
|
|
194
|
+
managed: "managed";
|
|
195
|
+
}>;
|
|
196
|
+
}, z.core.$strict>>>;
|
|
197
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
198
|
+
dpo: "dpo";
|
|
199
|
+
grpo: "grpo";
|
|
200
|
+
opd: "opd";
|
|
201
|
+
opsd: "opsd";
|
|
202
|
+
ppo: "ppo";
|
|
203
|
+
sdft: "sdft";
|
|
204
|
+
sdpo: "sdpo";
|
|
205
|
+
sft: "sft";
|
|
206
|
+
}>>>;
|
|
207
|
+
destinationId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
208
|
+
managedRolloutPlacement: z.ZodDefault<z.ZodEnum<{
|
|
209
|
+
local: "local";
|
|
210
|
+
remote: "remote";
|
|
211
|
+
}>>;
|
|
212
|
+
managedGpuPlacementObjective: z.ZodDefault<z.ZodEnum<{
|
|
213
|
+
balanced: "balanced";
|
|
214
|
+
economical: "economical";
|
|
215
|
+
fast: "fast";
|
|
216
|
+
}>>;
|
|
217
|
+
managedGpuSelection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
218
|
+
mode: z.ZodLiteral<"automatic">;
|
|
219
|
+
objective: z.ZodEnum<{
|
|
220
|
+
balanced: "balanced";
|
|
221
|
+
economical: "economical";
|
|
222
|
+
fast: "fast";
|
|
223
|
+
}>;
|
|
224
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
225
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
226
|
+
mode: z.ZodLiteral<"manual">;
|
|
227
|
+
availabilityId: z.ZodString;
|
|
228
|
+
gpuType: z.ZodString;
|
|
229
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
230
|
+
}, z.core.$strict>], "mode">>;
|
|
231
|
+
continuationAdapterMode: z.ZodOptional<z.ZodEnum<{
|
|
232
|
+
residual_append: "residual_append";
|
|
233
|
+
sequential_merge: "sequential_merge";
|
|
234
|
+
shared: "shared";
|
|
235
|
+
}>>;
|
|
236
|
+
managedGpuRequirement: z.ZodDefault<z.ZodEnum<{
|
|
237
|
+
any: "any";
|
|
238
|
+
h100_hbm3: "h100_hbm3";
|
|
239
|
+
}>>;
|
|
240
|
+
runPreset: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
241
|
+
custom: "custom";
|
|
242
|
+
small: "small";
|
|
243
|
+
small_experiment: "small_experiment";
|
|
244
|
+
standard: "standard";
|
|
245
|
+
}>>>;
|
|
246
|
+
recipe: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
247
|
+
schemaVersion: z.ZodString;
|
|
248
|
+
method: z.ZodEnum<{
|
|
249
|
+
dpo: "dpo";
|
|
250
|
+
grpo: "grpo";
|
|
251
|
+
opd: "opd";
|
|
252
|
+
opsd: "opsd";
|
|
253
|
+
ppo: "ppo";
|
|
254
|
+
sdft: "sdft";
|
|
255
|
+
sdpo: "sdpo";
|
|
256
|
+
sft: "sft";
|
|
257
|
+
}>;
|
|
258
|
+
parameterization: z.ZodEnum<{
|
|
259
|
+
full: "full";
|
|
260
|
+
lora: "lora";
|
|
261
|
+
}>;
|
|
262
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
263
|
+
preferredMaximumSpendUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
264
|
+
preferredRetentionDays: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
265
|
+
}, z.core.$strict>;
|
|
266
|
+
sourceRevision: z.ZodNumber;
|
|
267
|
+
sourceUpdatedAt: z.ZodString;
|
|
268
|
+
revision: z.ZodNumber;
|
|
269
|
+
etag: z.ZodString;
|
|
270
|
+
createdAt: z.ZodString;
|
|
271
|
+
updatedAt: z.ZodString;
|
|
272
|
+
}, z.core.$strict>;
|
|
273
|
+
policy: z.ZodObject<{
|
|
274
|
+
id: z.ZodString;
|
|
275
|
+
contentHash: z.ZodString;
|
|
276
|
+
revision: z.ZodNumber;
|
|
277
|
+
}, z.core.$strict>;
|
|
278
|
+
}, z.core.$strict>;
|
|
279
|
+
export type TrainingExperimentLearningReceipt = z.infer<typeof TrainingExperimentLearningReceiptSchema>;
|
|
280
|
+
export declare function trainingExperimentLearningRequest(input: {
|
|
281
|
+
teamId: string;
|
|
282
|
+
projectId: string | null;
|
|
283
|
+
draftId: string;
|
|
284
|
+
form: TrainingExperimentFormDraft;
|
|
285
|
+
}): {
|
|
286
|
+
schemaVersion: "openpond.trainingExperimentLearning.v1";
|
|
287
|
+
teamId: string;
|
|
288
|
+
projectId: string | null;
|
|
289
|
+
draftId: string;
|
|
290
|
+
form: {
|
|
291
|
+
baseModel: {
|
|
292
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
293
|
+
modelId: string;
|
|
294
|
+
revision: string | null;
|
|
295
|
+
tokenizerRevision: string | null;
|
|
296
|
+
chatTemplateHash: string | null;
|
|
297
|
+
modelAssetId: string | null;
|
|
298
|
+
source: "builtin" | "local" | "managed";
|
|
299
|
+
} | null;
|
|
300
|
+
recipe: {
|
|
301
|
+
[x: string]: unknown;
|
|
302
|
+
schemaVersion: string;
|
|
303
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft";
|
|
304
|
+
parameterization: "full" | "lora";
|
|
305
|
+
};
|
|
306
|
+
batch: {
|
|
307
|
+
id: string;
|
|
308
|
+
contentHash: string;
|
|
309
|
+
revision: number;
|
|
310
|
+
} | null;
|
|
311
|
+
evaluation: {
|
|
312
|
+
id: string;
|
|
313
|
+
contentHash: string;
|
|
314
|
+
revision: number;
|
|
315
|
+
} | null;
|
|
316
|
+
validationSplit: "frozen_eval" | "validation";
|
|
317
|
+
name: string;
|
|
318
|
+
budget: string;
|
|
319
|
+
customerCapUsd?: string | undefined;
|
|
320
|
+
billingMode?: "actual_usage" | "prepaid_only" | undefined;
|
|
321
|
+
gpuSelection?: {
|
|
322
|
+
mode: "automatic";
|
|
323
|
+
objective: "balanced" | "economical" | "fast";
|
|
324
|
+
gpuCount?: 1 | 2 | undefined;
|
|
325
|
+
} | {
|
|
326
|
+
mode: "manual";
|
|
327
|
+
availabilityId: string;
|
|
328
|
+
gpuType: string;
|
|
329
|
+
gpuCount?: 1 | 2 | undefined;
|
|
330
|
+
} | undefined;
|
|
331
|
+
parent?: {
|
|
332
|
+
jobId: string;
|
|
333
|
+
artifact: {
|
|
334
|
+
id: string;
|
|
335
|
+
contentHash: string;
|
|
336
|
+
};
|
|
337
|
+
checkpointId: string;
|
|
338
|
+
adapterMode: "residual_append" | "sequential_merge" | "shared";
|
|
339
|
+
} | undefined;
|
|
340
|
+
startingModelLabel?: string | undefined;
|
|
341
|
+
learningIntent?: {
|
|
342
|
+
enabled: boolean;
|
|
343
|
+
mode: "approved_count" | "nightly";
|
|
344
|
+
minimumTasks: string;
|
|
345
|
+
localTime: string;
|
|
346
|
+
timeZone: string;
|
|
347
|
+
maximumSpendUsd: string;
|
|
348
|
+
maximumDailySpendUsd: string;
|
|
349
|
+
} | undefined;
|
|
350
|
+
};
|
|
351
|
+
expectedConfiguration?: {
|
|
352
|
+
id: string;
|
|
353
|
+
expectedRevision: number;
|
|
354
|
+
expectedEtag: string;
|
|
355
|
+
} | undefined;
|
|
356
|
+
expectedPolicy?: {
|
|
357
|
+
id: string;
|
|
358
|
+
contentHash: string;
|
|
359
|
+
revision: number;
|
|
360
|
+
} | undefined;
|
|
361
|
+
};
|
|
362
|
+
export declare function trainingExperimentLearningInputHash(input: TrainingExperimentLearningRequest): Promise<string>;
|
|
363
|
+
/** Only a training save accepts these authoring inputs. Pausing a policy keeps
|
|
364
|
+
* this binding unchanged even when its current draft has unsaved edits. */
|
|
365
|
+
export declare function trainingExperimentTrainingInputHash(form: TrainingExperimentFormDraft): Promise<string>;
|
|
366
|
+
export declare function trainingExperimentSavedConfiguration(form: TrainingExperimentFormDraft): Promise<{
|
|
367
|
+
inputHash: string;
|
|
368
|
+
trainingInputHash: string;
|
|
369
|
+
configuration: {
|
|
370
|
+
id: string;
|
|
371
|
+
teamId: string;
|
|
372
|
+
portableProjectId: string;
|
|
373
|
+
name: string;
|
|
374
|
+
objective: string | null;
|
|
375
|
+
defaultBaseModel: {
|
|
376
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
377
|
+
modelId: string;
|
|
378
|
+
revision: string | null;
|
|
379
|
+
tokenizerRevision: string | null;
|
|
380
|
+
chatTemplateHash: string | null;
|
|
381
|
+
modelAssetId: string | null;
|
|
382
|
+
source: "builtin" | "local" | "managed";
|
|
383
|
+
} | null;
|
|
384
|
+
defaultDestinationId: string | null;
|
|
385
|
+
trainingSetup: {
|
|
386
|
+
tasksetRef: {
|
|
387
|
+
id: string;
|
|
388
|
+
contentHash: string;
|
|
389
|
+
revision: number;
|
|
390
|
+
} | null;
|
|
391
|
+
evaluationTasksetRef?: {
|
|
392
|
+
id: string;
|
|
393
|
+
contentHash: string;
|
|
394
|
+
revision: number;
|
|
395
|
+
} | null | undefined;
|
|
396
|
+
profileSource?: {
|
|
397
|
+
profileProjectId: string;
|
|
398
|
+
sourceRevision: string;
|
|
399
|
+
harnessRelease: {
|
|
400
|
+
id: string;
|
|
401
|
+
contentHash: string;
|
|
402
|
+
};
|
|
403
|
+
} | null | undefined;
|
|
404
|
+
profileEvaluation?: {
|
|
405
|
+
profileProjectId: string;
|
|
406
|
+
sourceRevision: string;
|
|
407
|
+
catalogHash: string;
|
|
408
|
+
definitionId: string;
|
|
409
|
+
harnessRelease: {
|
|
410
|
+
id: string;
|
|
411
|
+
contentHash: string;
|
|
412
|
+
};
|
|
413
|
+
tasksetRelease: {
|
|
414
|
+
id: string;
|
|
415
|
+
contentHash: string;
|
|
416
|
+
};
|
|
417
|
+
} | null | undefined;
|
|
418
|
+
rewardBindingRef?: {
|
|
419
|
+
id: string;
|
|
420
|
+
contentHash: string;
|
|
421
|
+
revision: number;
|
|
422
|
+
} | null | undefined;
|
|
423
|
+
tasksetRelease: {
|
|
424
|
+
id: string;
|
|
425
|
+
contentHash: string;
|
|
426
|
+
} | null;
|
|
427
|
+
harnessRelease: {
|
|
428
|
+
id: string;
|
|
429
|
+
contentHash: string;
|
|
430
|
+
} | null;
|
|
431
|
+
baseModel: {
|
|
432
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
433
|
+
modelId: string;
|
|
434
|
+
revision: string | null;
|
|
435
|
+
tokenizerRevision: string | null;
|
|
436
|
+
chatTemplateHash: string | null;
|
|
437
|
+
modelAssetId: string | null;
|
|
438
|
+
source: "builtin" | "local" | "managed";
|
|
439
|
+
} | null;
|
|
440
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft" | null;
|
|
441
|
+
destinationId: string | null;
|
|
442
|
+
managedRolloutPlacement: "local" | "remote";
|
|
443
|
+
managedGpuPlacementObjective: "balanced" | "economical" | "fast";
|
|
444
|
+
managedGpuSelection?: {
|
|
445
|
+
mode: "automatic";
|
|
446
|
+
objective: "balanced" | "economical" | "fast";
|
|
447
|
+
gpuCount?: 1 | 2 | undefined;
|
|
448
|
+
} | {
|
|
449
|
+
mode: "manual";
|
|
450
|
+
availabilityId: string;
|
|
451
|
+
gpuType: string;
|
|
452
|
+
gpuCount?: 1 | 2 | undefined;
|
|
453
|
+
} | undefined;
|
|
454
|
+
continuationAdapterMode?: "residual_append" | "sequential_merge" | "shared" | undefined;
|
|
455
|
+
managedGpuRequirement: "any" | "h100_hbm3";
|
|
456
|
+
runPreset: "custom" | "small" | "small_experiment" | "standard" | null;
|
|
457
|
+
recipe: {
|
|
458
|
+
[x: string]: unknown;
|
|
459
|
+
schemaVersion: string;
|
|
460
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft";
|
|
461
|
+
parameterization: "full" | "lora";
|
|
462
|
+
} | null;
|
|
463
|
+
preferredMaximumSpendUsd: number | null;
|
|
464
|
+
preferredRetentionDays: number | null;
|
|
465
|
+
};
|
|
466
|
+
sourceRevision: number;
|
|
467
|
+
sourceUpdatedAt: string;
|
|
468
|
+
revision: number;
|
|
469
|
+
etag: string;
|
|
470
|
+
createdAt: string;
|
|
471
|
+
updatedAt: string;
|
|
472
|
+
};
|
|
473
|
+
policy: {
|
|
474
|
+
id: string;
|
|
475
|
+
contentHash: string;
|
|
476
|
+
revision: number;
|
|
477
|
+
};
|
|
478
|
+
} | undefined>;
|
|
479
|
+
export declare function trainingExperimentInitialLearning(input: TrainingExperimentLearningRequest): {
|
|
480
|
+
localTime: string;
|
|
481
|
+
timeZone: string;
|
|
482
|
+
mode: "approved_count" | "nightly";
|
|
483
|
+
minimumTasks: number;
|
|
484
|
+
maximumSpendUsd: number;
|
|
485
|
+
maximumDailySpendUsd: number;
|
|
486
|
+
};
|
|
487
|
+
export declare function trainingExperimentLearningSettings(form: TrainingExperimentFormDraft): {
|
|
488
|
+
tasksetRef: {
|
|
489
|
+
id: string;
|
|
490
|
+
contentHash: string;
|
|
491
|
+
revision: number;
|
|
492
|
+
} | null;
|
|
493
|
+
evaluationTasksetRef?: {
|
|
494
|
+
id: string;
|
|
495
|
+
contentHash: string;
|
|
496
|
+
revision: number;
|
|
497
|
+
} | null | undefined;
|
|
498
|
+
profileSource?: {
|
|
499
|
+
profileProjectId: string;
|
|
500
|
+
sourceRevision: string;
|
|
501
|
+
harnessRelease: {
|
|
502
|
+
id: string;
|
|
503
|
+
contentHash: string;
|
|
504
|
+
};
|
|
505
|
+
} | null | undefined;
|
|
506
|
+
profileEvaluation?: {
|
|
507
|
+
profileProjectId: string;
|
|
508
|
+
sourceRevision: string;
|
|
509
|
+
catalogHash: string;
|
|
510
|
+
definitionId: string;
|
|
511
|
+
harnessRelease: {
|
|
512
|
+
id: string;
|
|
513
|
+
contentHash: string;
|
|
514
|
+
};
|
|
515
|
+
tasksetRelease: {
|
|
516
|
+
id: string;
|
|
517
|
+
contentHash: string;
|
|
518
|
+
};
|
|
519
|
+
} | null | undefined;
|
|
520
|
+
rewardBindingRef?: {
|
|
521
|
+
id: string;
|
|
522
|
+
contentHash: string;
|
|
523
|
+
revision: number;
|
|
524
|
+
} | null | undefined;
|
|
525
|
+
tasksetRelease: {
|
|
526
|
+
id: string;
|
|
527
|
+
contentHash: string;
|
|
528
|
+
} | null;
|
|
529
|
+
harnessRelease: {
|
|
530
|
+
id: string;
|
|
531
|
+
contentHash: string;
|
|
532
|
+
} | null;
|
|
533
|
+
baseModel: {
|
|
534
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
535
|
+
modelId: string;
|
|
536
|
+
revision: string | null;
|
|
537
|
+
tokenizerRevision: string | null;
|
|
538
|
+
chatTemplateHash: string | null;
|
|
539
|
+
modelAssetId: string | null;
|
|
540
|
+
source: "builtin" | "local" | "managed";
|
|
541
|
+
} | null;
|
|
542
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft" | null;
|
|
543
|
+
destinationId: string | null;
|
|
544
|
+
managedRolloutPlacement: "local" | "remote";
|
|
545
|
+
managedGpuPlacementObjective: "balanced" | "economical" | "fast";
|
|
546
|
+
managedGpuSelection?: {
|
|
547
|
+
mode: "automatic";
|
|
548
|
+
objective: "balanced" | "economical" | "fast";
|
|
549
|
+
gpuCount?: 1 | 2 | undefined;
|
|
550
|
+
} | {
|
|
551
|
+
mode: "manual";
|
|
552
|
+
availabilityId: string;
|
|
553
|
+
gpuType: string;
|
|
554
|
+
gpuCount?: 1 | 2 | undefined;
|
|
555
|
+
} | undefined;
|
|
556
|
+
continuationAdapterMode?: "residual_append" | "sequential_merge" | "shared" | undefined;
|
|
557
|
+
managedGpuRequirement: "any" | "h100_hbm3";
|
|
558
|
+
runPreset: "custom" | "small" | "small_experiment" | "standard" | null;
|
|
559
|
+
recipe: {
|
|
560
|
+
[x: string]: unknown;
|
|
561
|
+
schemaVersion: string;
|
|
562
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft";
|
|
563
|
+
parameterization: "full" | "lora";
|
|
564
|
+
} | null;
|
|
565
|
+
preferredMaximumSpendUsd: number | null;
|
|
566
|
+
preferredRetentionDays: number | null;
|
|
567
|
+
};
|
|
568
|
+
export declare function createTrainingExperimentLearningClient(request: (path: string, init?: RequestInit) => Promise<unknown>): {
|
|
569
|
+
saveExperimentLearning(input: TrainingExperimentLearningRequest): Promise<{
|
|
570
|
+
schemaVersion: "openpond.trainingExperimentLearningReceipt.v1";
|
|
571
|
+
inputHash: string;
|
|
572
|
+
configuration: {
|
|
573
|
+
id: string;
|
|
574
|
+
teamId: string;
|
|
575
|
+
portableProjectId: string;
|
|
576
|
+
name: string;
|
|
577
|
+
objective: string | null;
|
|
578
|
+
defaultBaseModel: {
|
|
579
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
580
|
+
modelId: string;
|
|
581
|
+
revision: string | null;
|
|
582
|
+
tokenizerRevision: string | null;
|
|
583
|
+
chatTemplateHash: string | null;
|
|
584
|
+
modelAssetId: string | null;
|
|
585
|
+
source: "builtin" | "local" | "managed";
|
|
586
|
+
} | null;
|
|
587
|
+
defaultDestinationId: string | null;
|
|
588
|
+
trainingSetup: {
|
|
589
|
+
tasksetRef: {
|
|
590
|
+
id: string;
|
|
591
|
+
contentHash: string;
|
|
592
|
+
revision: number;
|
|
593
|
+
} | null;
|
|
594
|
+
evaluationTasksetRef?: {
|
|
595
|
+
id: string;
|
|
596
|
+
contentHash: string;
|
|
597
|
+
revision: number;
|
|
598
|
+
} | null | undefined;
|
|
599
|
+
profileSource?: {
|
|
600
|
+
profileProjectId: string;
|
|
601
|
+
sourceRevision: string;
|
|
602
|
+
harnessRelease: {
|
|
603
|
+
id: string;
|
|
604
|
+
contentHash: string;
|
|
605
|
+
};
|
|
606
|
+
} | null | undefined;
|
|
607
|
+
profileEvaluation?: {
|
|
608
|
+
profileProjectId: string;
|
|
609
|
+
sourceRevision: string;
|
|
610
|
+
catalogHash: string;
|
|
611
|
+
definitionId: string;
|
|
612
|
+
harnessRelease: {
|
|
613
|
+
id: string;
|
|
614
|
+
contentHash: string;
|
|
615
|
+
};
|
|
616
|
+
tasksetRelease: {
|
|
617
|
+
id: string;
|
|
618
|
+
contentHash: string;
|
|
619
|
+
};
|
|
620
|
+
} | null | undefined;
|
|
621
|
+
rewardBindingRef?: {
|
|
622
|
+
id: string;
|
|
623
|
+
contentHash: string;
|
|
624
|
+
revision: number;
|
|
625
|
+
} | null | undefined;
|
|
626
|
+
tasksetRelease: {
|
|
627
|
+
id: string;
|
|
628
|
+
contentHash: string;
|
|
629
|
+
} | null;
|
|
630
|
+
harnessRelease: {
|
|
631
|
+
id: string;
|
|
632
|
+
contentHash: string;
|
|
633
|
+
} | null;
|
|
634
|
+
baseModel: {
|
|
635
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
636
|
+
modelId: string;
|
|
637
|
+
revision: string | null;
|
|
638
|
+
tokenizerRevision: string | null;
|
|
639
|
+
chatTemplateHash: string | null;
|
|
640
|
+
modelAssetId: string | null;
|
|
641
|
+
source: "builtin" | "local" | "managed";
|
|
642
|
+
} | null;
|
|
643
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft" | null;
|
|
644
|
+
destinationId: string | null;
|
|
645
|
+
managedRolloutPlacement: "local" | "remote";
|
|
646
|
+
managedGpuPlacementObjective: "balanced" | "economical" | "fast";
|
|
647
|
+
managedGpuSelection?: {
|
|
648
|
+
mode: "automatic";
|
|
649
|
+
objective: "balanced" | "economical" | "fast";
|
|
650
|
+
gpuCount?: 1 | 2 | undefined;
|
|
651
|
+
} | {
|
|
652
|
+
mode: "manual";
|
|
653
|
+
availabilityId: string;
|
|
654
|
+
gpuType: string;
|
|
655
|
+
gpuCount?: 1 | 2 | undefined;
|
|
656
|
+
} | undefined;
|
|
657
|
+
continuationAdapterMode?: "residual_append" | "sequential_merge" | "shared" | undefined;
|
|
658
|
+
managedGpuRequirement: "any" | "h100_hbm3";
|
|
659
|
+
runPreset: "custom" | "small" | "small_experiment" | "standard" | null;
|
|
660
|
+
recipe: {
|
|
661
|
+
[x: string]: unknown;
|
|
662
|
+
schemaVersion: string;
|
|
663
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft";
|
|
664
|
+
parameterization: "full" | "lora";
|
|
665
|
+
} | null;
|
|
666
|
+
preferredMaximumSpendUsd: number | null;
|
|
667
|
+
preferredRetentionDays: number | null;
|
|
668
|
+
};
|
|
669
|
+
sourceRevision: number;
|
|
670
|
+
sourceUpdatedAt: string;
|
|
671
|
+
revision: number;
|
|
672
|
+
etag: string;
|
|
673
|
+
createdAt: string;
|
|
674
|
+
updatedAt: string;
|
|
675
|
+
};
|
|
676
|
+
policy: {
|
|
677
|
+
id: string;
|
|
678
|
+
contentHash: string;
|
|
679
|
+
revision: number;
|
|
680
|
+
};
|
|
681
|
+
}>;
|
|
682
|
+
};
|
|
683
|
+
//# sourceMappingURL=training-experiment-learning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"training-experiment-learning.d.ts","sourceRoot":"","sources":["../../../../../src/training-experiment-learning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAqC,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAErH,cAAc,0CAA0C,CAAC;AAEzD,iFAAiF;AACjF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQzC,CAAC;AACZ,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC;AACxG,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAKzC,CAAC;AACZ,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC;AAExG,wBAAgB,iCAAiC,CAAC,KAAK,EAAE;IACvD,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,2BAA2B,CAAC;CAC9F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOA;AACD,wBAAsB,mCAAmC,CAAC,KAAK,EAAE,iCAAiC,mBAKjG;AACD;2EAC2E;AAC3E,wBAAsB,mCAAmC,CAAC,IAAI,EAAE,2BAA2B,mBAG1F;AACD,wBAAsB,oCAAoC,CAAC,IAAI,EAAE,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAK3F;AACD,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,iCAAiC;;;;;;;EAOzF;AACD,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMnF;AACD,wBAAgB,sCAAsC,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC;IAE5G,sBAAsB,QAAQ,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcxE"}
|