runbios-sdk 0.5.0-dev.350 → 0.5.0-dev.356
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/training.d.ts +12 -4
- package/dist/resources/training.js +12 -4
- 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.5.0-dev.
|
|
39
|
+
export declare const VERSION = "0.5.0-dev.356";
|
|
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.5.0-dev.
|
|
39
|
+
export const VERSION = '0.5.0-dev.356';
|
|
40
40
|
export class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
models;
|
|
@@ -40,10 +40,13 @@ export declare class Training {
|
|
|
40
40
|
* precision and optimizer state from `managedOptions()` (context 2K-128K,
|
|
41
41
|
* `bf16`/`fp8`, `adamw_torch_fused` 16-bit or `adamw_8bit` 8-bit state).
|
|
42
42
|
* `gpuType`, `gpuCount`, `gpuPriorities`, `queueIfUnavailable`,
|
|
43
|
-
* `maxPriceHourCents`, batch size, gradient accumulation
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
43
|
+
* `maxPriceHourCents`, batch size, gradient accumulation and checkpoint
|
|
44
|
+
* count are then ignored (preflight warns `FIELD_IGNORED`). The schedule,
|
|
45
|
+
* validation rows (`split_dataset_samples`) and early stopping stay yours.
|
|
46
|
+
* Validation rows must be between 100 (or 5% of the rows when that is under
|
|
47
|
+
* 100) and 40% of the training rows; unset, 5% capped at 1,000 rows is held
|
|
48
|
+
* out unless the job has evaluation datasets, and preflight returns the
|
|
49
|
+
* exact rows and range in `validation`. The schedule defaults to cosine. It waits unbilled when no machine is free, keeps its best
|
|
47
50
|
* and latest checkpoints, and with `token_billing` is charged per trained
|
|
48
51
|
* token (`preflight` returns `estimate`).
|
|
49
52
|
*
|
|
@@ -141,6 +144,11 @@ export declare class Training {
|
|
|
141
144
|
/**
|
|
142
145
|
* Get training logs for a job.
|
|
143
146
|
*
|
|
147
|
+
* Not available when managed training is enabled (the server answers 404
|
|
148
|
+
* `LOGS_NOT_AVAILABLE`): progress is on {@link get} and training metrics on
|
|
149
|
+
* `getMetrics`, which then carry training metrics only (no memory, MFU or
|
|
150
|
+
* throughput).
|
|
151
|
+
*
|
|
144
152
|
* @param id - Training job ID.
|
|
145
153
|
* @param tail - Maximum newest entries to return (server clamps to 1-1000).
|
|
146
154
|
*
|
|
@@ -246,10 +246,13 @@ export class Training {
|
|
|
246
246
|
* precision and optimizer state from `managedOptions()` (context 2K-128K,
|
|
247
247
|
* `bf16`/`fp8`, `adamw_torch_fused` 16-bit or `adamw_8bit` 8-bit state).
|
|
248
248
|
* `gpuType`, `gpuCount`, `gpuPriorities`, `queueIfUnavailable`,
|
|
249
|
-
* `maxPriceHourCents`, batch size, gradient accumulation
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
249
|
+
* `maxPriceHourCents`, batch size, gradient accumulation and checkpoint
|
|
250
|
+
* count are then ignored (preflight warns `FIELD_IGNORED`). The schedule,
|
|
251
|
+
* validation rows (`split_dataset_samples`) and early stopping stay yours.
|
|
252
|
+
* Validation rows must be between 100 (or 5% of the rows when that is under
|
|
253
|
+
* 100) and 40% of the training rows; unset, 5% capped at 1,000 rows is held
|
|
254
|
+
* out unless the job has evaluation datasets, and preflight returns the
|
|
255
|
+
* exact rows and range in `validation`. The schedule defaults to cosine. It waits unbilled when no machine is free, keeps its best
|
|
253
256
|
* and latest checkpoints, and with `token_billing` is charged per trained
|
|
254
257
|
* token (`preflight` returns `estimate`).
|
|
255
258
|
*
|
|
@@ -451,6 +454,11 @@ export class Training {
|
|
|
451
454
|
/**
|
|
452
455
|
* Get training logs for a job.
|
|
453
456
|
*
|
|
457
|
+
* Not available when managed training is enabled (the server answers 404
|
|
458
|
+
* `LOGS_NOT_AVAILABLE`): progress is on {@link get} and training metrics on
|
|
459
|
+
* `getMetrics`, which then carry training metrics only (no memory, MFU or
|
|
460
|
+
* throughput).
|
|
461
|
+
*
|
|
454
462
|
* @param id - Training job ID.
|
|
455
463
|
* @param tail - Maximum newest entries to return (server clamps to 1-1000).
|
|
456
464
|
*
|