runbios-sdk 0.2.1-dev.103 → 0.2.1-dev.104

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 CHANGED
@@ -34,7 +34,7 @@ import { Inference } from './resources/inference.js';
34
34
  * SDK version. Sent as part of the User-Agent header.
35
35
  * Must match package.json "version" -- enforced by a contract test.
36
36
  */
37
- export declare const VERSION = "0.2.1-dev.103";
37
+ export declare const VERSION = "0.2.1-dev.104";
38
38
  export declare class RunBiOS {
39
39
  /** Search models, fetch configs, check adapter compatibility. */
40
40
  readonly models: Models;
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ import { Inference } from './resources/inference.js';
34
34
  * SDK version. Sent as part of the User-Agent header.
35
35
  * Must match package.json "version" -- enforced by a contract test.
36
36
  */
37
- export const VERSION = '0.2.1-dev.103';
37
+ export const VERSION = '0.2.1-dev.104';
38
38
  export class RunBiOS {
39
39
  /** Search models, fetch configs, check adapter compatibility. */
40
40
  models;
@@ -67,8 +67,6 @@ function buildTrainingRequest(params) {
67
67
  body.integration_id = params.integrationId;
68
68
  if (params.networkVolumeId !== undefined)
69
69
  body.network_volume_id = params.networkVolumeId;
70
- if (params.cacheDataset !== undefined)
71
- body.cache_dataset = params.cacheDataset;
72
70
  if (params.datasetSampleLimits !== undefined)
73
71
  body.dataset_sample_limits = params.datasetSampleLimits;
74
72
  if (params.datasetMixing !== undefined)
@@ -78,6 +76,8 @@ function buildTrainingRequest(params) {
78
76
  const config = {};
79
77
  if (params.epochs !== undefined)
80
78
  config.num_train_epochs = params.epochs;
79
+ if (params.maxSteps !== undefined)
80
+ config.max_steps = params.maxSteps;
81
81
  if (params.batchSize !== undefined)
82
82
  config.per_device_train_batch_size = params.batchSize;
83
83
  if (params.gradientAccumulation !== undefined)
package/dist/types.d.ts CHANGED
@@ -565,8 +565,10 @@ export interface TrainingCreateParams {
565
565
  name?: string;
566
566
  /** Target workspace ID. */
567
567
  workspaceId?: string;
568
- /** Number of training epochs. */
568
+ /** Number of training epochs. Governs the full run when maxSteps is omitted. */
569
569
  epochs?: number;
570
+ /** Optional hard step cap that overrides epochs. Omit for no cap and all configured epochs. */
571
+ maxSteps?: number;
570
572
  /** Training batch size per device. */
571
573
  batchSize?: number;
572
574
  /** Gradient accumulation steps. */
@@ -609,7 +611,7 @@ export interface TrainingCreateParams {
609
611
  integrationId?: string;
610
612
  /** Existing network volume to attach. */
611
613
  networkVolumeId?: string;
612
- /** Cache the composed dataset for retry/resume. Defaults to true server-side. */
614
+ /** @deprecated No effect. Prepared data is transient; exact resume rebuilds it from pinned source metadata and verifies its checksum. */
613
615
  cacheDataset?: boolean;
614
616
  /** Legacy dataset ordering mode. Prefer mixing for weighted/phased plans. */
615
617
  datasetMixing?: 'shuffle' | 'sequential' | 'interleave' | 'random' | 'curriculum';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.2.1-dev.103",
3
+ "version": "0.2.1-dev.104",
4
4
  "description": "Official TypeScript SDK for the Run BiOS training and deployment platform API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",