runbios-sdk 0.2.22-dev.307 → 0.2.22-dev.313
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/resources/loop.d.ts +2 -2
- package/dist/resources/loop.js +2 -2
- package/dist/types.d.ts +14 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
|
|
|
36
36
|
* SDK version. Sent as part of the User-Agent header.
|
|
37
37
|
* Must match package.json "version" -- enforced by a contract test.
|
|
38
38
|
*/
|
|
39
|
-
export declare const VERSION = "0.2.22-dev.
|
|
39
|
+
export declare const VERSION = "0.2.22-dev.313";
|
|
40
40
|
export declare class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
readonly models: Models;
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
|
|
|
36
36
|
* SDK version. Sent as part of the User-Agent header.
|
|
37
37
|
* Must match package.json "version" -- enforced by a contract test.
|
|
38
38
|
*/
|
|
39
|
-
export const VERSION = '0.2.22-dev.
|
|
39
|
+
export const VERSION = '0.2.22-dev.313';
|
|
40
40
|
export class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
models;
|
package/dist/resources/loop.d.ts
CHANGED
|
@@ -391,7 +391,7 @@ export declare class Loop {
|
|
|
391
391
|
* judged on at most `scored_rows` of them). They are read-only.
|
|
392
392
|
* Where a pipeline builds on its live version (its `chain` is set), each
|
|
393
393
|
* attempt trains a new adapter on top of the live version, on what it has
|
|
394
|
-
* not learned yet plus a replay of what it already learned (about
|
|
394
|
+
* not learned yet plus a replay of what it already learned (about half
|
|
395
395
|
* of what it trains on, picked at random, so it is not forgotten), and a
|
|
396
396
|
* winner is merged in and served as one model.
|
|
397
397
|
* When the list cannot be read it throws `ApiError` 503
|
|
@@ -408,7 +408,7 @@ export declare class Loop {
|
|
|
408
408
|
* Where the pipeline builds on its live version (`chain`), each attempt
|
|
409
409
|
* waits for 1,000 new samples and trains a new adapter on top of the live
|
|
410
410
|
* version, on what it has not learned plus a replay of what it already
|
|
411
|
-
* learned (about
|
|
411
|
+
* learned (about half of what it trains on, picked at random); a winner
|
|
412
412
|
* is merged in.
|
|
413
413
|
* What is charged is the GPU time the runs actually use; the platform's own
|
|
414
414
|
* per-run and monthly limits stop a run that goes wrong. `holdout.percent`
|
package/dist/resources/loop.js
CHANGED
|
@@ -538,7 +538,7 @@ export class Loop {
|
|
|
538
538
|
* judged on at most `scored_rows` of them). They are read-only.
|
|
539
539
|
* Where a pipeline builds on its live version (its `chain` is set), each
|
|
540
540
|
* attempt trains a new adapter on top of the live version, on what it has
|
|
541
|
-
* not learned yet plus a replay of what it already learned (about
|
|
541
|
+
* not learned yet plus a replay of what it already learned (about half
|
|
542
542
|
* of what it trains on, picked at random, so it is not forgotten), and a
|
|
543
543
|
* winner is merged in and served as one model.
|
|
544
544
|
* When the list cannot be read it throws `ApiError` 503
|
|
@@ -558,7 +558,7 @@ export class Loop {
|
|
|
558
558
|
* Where the pipeline builds on its live version (`chain`), each attempt
|
|
559
559
|
* waits for 1,000 new samples and trains a new adapter on top of the live
|
|
560
560
|
* version, on what it has not learned plus a replay of what it already
|
|
561
|
-
* learned (about
|
|
561
|
+
* learned (about half of what it trains on, picked at random); a winner
|
|
562
562
|
* is merged in.
|
|
563
563
|
* What is charged is the GPU time the runs actually use; the platform's own
|
|
564
564
|
* per-run and monthly limits stop a run that goes wrong. `holdout.percent`
|
package/dist/types.d.ts
CHANGED
|
@@ -2982,8 +2982,9 @@ export type TrainingTrigger = 'rows' | 'cadence' | 'both' | 'manual' | 'variant'
|
|
|
2982
2982
|
* What it trained on (`train_rows`) is `new_samples` (new since the attempt
|
|
2983
2983
|
* before it) + `carried_samples` (trained by the attempts in
|
|
2984
2984
|
* `carried_from_attempts`, which did not go live) + `replayed_samples` (about
|
|
2985
|
-
*
|
|
2986
|
-
* builds on
|
|
2985
|
+
* half of what it trained on -- as many as it had not learned, or all the
|
|
2986
|
+
* versions it builds on learned when that is fewer -- drawn at random from
|
|
2987
|
+
* what they already learned, so it does not forget them). `learned_before` is
|
|
2987
2988
|
* how many samples those versions had learned: they are not trained again,
|
|
2988
2989
|
* except the replayed ones. An attempt from the base trains on every sample
|
|
2989
2990
|
* it can: `new_samples` is all of them, and the other three counts are 0.
|
|
@@ -3249,6 +3250,15 @@ export interface TrainingRun {
|
|
|
3249
3250
|
candidate_name: string | null;
|
|
3250
3251
|
candidate_seq: number;
|
|
3251
3252
|
candidate_status: string | null;
|
|
3253
|
+
/**
|
|
3254
|
+
* One boot window after the comparison machine was first seen on a GPU, set
|
|
3255
|
+
* once per booking (a booking after a wait for GPUs sets its own). Not
|
|
3256
|
+
* always the deadline the boot is held to: time the machine has no pod while
|
|
3257
|
+
* it waits for another GPU is not counted (except while a base model's
|
|
3258
|
+
* machine bills beside it), so the attempt can stay in candidate_booking
|
|
3259
|
+
* past this time, by at most one more window. An attempt that ran out
|
|
3260
|
+
* gives the deadline it was held to on its expiry event (deadline_at).
|
|
3261
|
+
*/
|
|
3252
3262
|
candidate_deadline_at: string | null;
|
|
3253
3263
|
candidate_cleanup_at: string | null;
|
|
3254
3264
|
evaluation_id: string | null;
|
|
@@ -4374,7 +4384,8 @@ export interface PipelineChainRebuild {
|
|
|
4374
4384
|
* pipeline trained is live on its current model, and when the pipeline does
|
|
4375
4385
|
* not build on its live version (then every attempt trains from the base on
|
|
4376
4386
|
* all samples). `learned_samples` is how many samples those versions learned
|
|
4377
|
-
* (the next attempt does not train them again, except
|
|
4387
|
+
* (the next attempt does not train them again, except the replay, about
|
|
4388
|
+
* half of what it trains on);
|
|
4378
4389
|
* `not_learned_samples` is how many were trained by attempts that did not go
|
|
4379
4390
|
* live, so the next attempt trains them again. Null on the list.
|
|
4380
4391
|
*/
|