runbios-sdk 0.5.0-rc.366 → 0.6.0-dev.368
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/CHANGELOG.md +23 -0
- package/dist/client.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/resources/inference.js +1 -1
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,29 @@ surface is added, renamed or removed, the patch for a fix inside an unchanged
|
|
|
5
5
|
surface. The SDK, the Python SDK (`runbios-sdk` on PyPI) and the MCP server
|
|
6
6
|
(`runbios-mcp`) are released together, at one version.
|
|
7
7
|
|
|
8
|
+
## 0.6.0
|
|
9
|
+
|
|
10
|
+
Added
|
|
11
|
+
|
|
12
|
+
Managed training (the platform chooses the hardware; customers pay per trained token)
|
|
13
|
+
|
|
14
|
+
- `managed_options()` / `get_managed_training_options`: the context lengths
|
|
15
|
+
(2K-128K), precisions (`bf16`, `fp8`) and optimizer states (16-bit, 8-bit)
|
|
16
|
+
each model and adapter is tested for.
|
|
17
|
+
- Named inputs for those choices on create and preflight: `precision`,
|
|
18
|
+
`optim` and the validation row count (`precision`, `optim`, `validationRows`), mapped to
|
|
19
|
+
`config.precision`, `config.optim` and `config.split_dataset_samples`.
|
|
20
|
+
- Under managed training, GPU type and count, GPU priorities, the queue
|
|
21
|
+
switch, the hourly price cap, per-device batch, accumulation and checkpoint
|
|
22
|
+
count are chosen by the platform and ignored if sent. A job with no free
|
|
23
|
+
machine waits in the queue automatically, unbilled, and can be cancelled.
|
|
24
|
+
- Training logs and machine metrics (memory, MFU, throughput) are not
|
|
25
|
+
available to customers under managed training; training metrics are.
|
|
26
|
+
|
|
27
|
+
Also
|
|
28
|
+
|
|
29
|
+
- `training.liveDeployments` / `useLiveDeployment` for the Conscious Loop live-redeploy routes.
|
|
30
|
+
|
|
8
31
|
## 0.5.0
|
|
9
32
|
|
|
10
33
|
Added
|
package/dist/client.js
CHANGED
|
@@ -431,7 +431,7 @@ export class HttpClient {
|
|
|
431
431
|
constructor(config) {
|
|
432
432
|
// Default host stays api.runbios.ai for now; cutover to api.runbios.ai is
|
|
433
433
|
// planned once its DNS exists.
|
|
434
|
-
this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-
|
|
434
|
+
this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
|
|
435
435
|
this.apiKey = config.apiKey ?? envApiKey();
|
|
436
436
|
this.accessToken = config.accessToken;
|
|
437
437
|
this.orgId = config.orgId;
|
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.
|
|
39
|
+
export declare const VERSION = "0.6.0-dev.368";
|
|
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.
|
|
39
|
+
export const VERSION = '0.6.0-dev.368';
|
|
40
40
|
export class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
models;
|
|
@@ -373,7 +373,7 @@ export class Inference {
|
|
|
373
373
|
this.key = config.inferenceKey || envInferenceKey() || envApiKey();
|
|
374
374
|
// Same default host as HttpClient (api.runbios.ai); api.runbios.ai cutover
|
|
375
375
|
// is planned once its DNS exists — update both call sites together.
|
|
376
|
-
this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-
|
|
376
|
+
this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
|
|
377
377
|
this.timeout = config.timeout ?? 900_000;
|
|
378
378
|
this._http = http;
|
|
379
379
|
}
|
package/dist/types.d.ts
CHANGED
|
@@ -8,13 +8,13 @@ export interface BiOSConfig {
|
|
|
8
8
|
orgId?: string;
|
|
9
9
|
/** Workspace ID. Optional when using API keys (resolved from the key). Can override for multi-workspace keys. */
|
|
10
10
|
workspaceId?: string;
|
|
11
|
-
/** Base URL for the API. Falls back to the RUNBIOS_BASE_URL environment variable (legacy: BIOS_BASE_URL), then the canonical https://api-
|
|
11
|
+
/** Base URL for the API. Falls back to the RUNBIOS_BASE_URL environment variable (legacy: BIOS_BASE_URL), then the canonical https://api-dev.runbios.ai hostname. */
|
|
12
12
|
baseUrl?: string;
|
|
13
13
|
/** Request timeout in milliseconds. Defaults to 30000. */
|
|
14
14
|
timeout?: number;
|
|
15
15
|
/** Default per-deployment inference key. Can be overridden per inference call. */
|
|
16
16
|
inferenceKey?: string;
|
|
17
|
-
/** Inference base URL. Defaults to baseUrl, then https://api-
|
|
17
|
+
/** Inference base URL. Defaults to baseUrl, then https://api-dev.runbios.ai. */
|
|
18
18
|
inferenceBaseUrl?: string;
|
|
19
19
|
/** End-to-end inference timeout in milliseconds. Defaults to 15 minutes. */
|
|
20
20
|
inferenceTimeout?: number;
|