@tuned-tensor/cli 0.13.0-beta.0 → 0.13.0
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/README.md +50 -9
- package/dist/{chunk-HDGBDHOB.js → chunk-YJYCGSHJ.js} +25 -11
- package/dist/chunk-YJYCGSHJ.js.map +1 -0
- package/dist/index.js +16 -10
- package/dist/index.js.map +1 -1
- package/dist/local-runtime.js +39 -10
- package/dist/local-runtime.js.map +1 -1
- package/docs/local-runtime/architecture.md +6 -5
- package/docs/local-runtime/spark.md +23 -17
- package/package.json +1 -1
- package/training/local-runner/src/evaluate.py +4 -1
- package/training/local-runner/src/model_contract.py +5 -3
- package/training/local-runner/src/serve.py +1 -1
- package/dist/chunk-HDGBDHOB.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadLocalRunInput,
|
|
6
6
|
loadLocalRunnerConfig,
|
|
7
7
|
runLocalPipeline
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YJYCGSHJ.js";
|
|
9
9
|
|
|
10
10
|
// src/cli.ts
|
|
11
11
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -1629,6 +1629,11 @@ var COMMAND_CATALOG = [
|
|
|
1629
1629
|
{ path: "validate", description: "Validate a local fine-tuning project.", group: "Workflow", modes: LOCAL },
|
|
1630
1630
|
{ path: "doctor", description: "Check the local host and run prerequisites.", group: "Workflow", modes: LOCAL },
|
|
1631
1631
|
{ path: "run", description: "Run the local fine-tuning and evaluation workflow.", group: "Workflow", modes: LOCAL },
|
|
1632
|
+
{ path: "pipeline init", description: "Write a canonical v1 pipeline recipe.", group: "Workflow", modes: LOCAL },
|
|
1633
|
+
{ path: "pipeline validate", description: "Validate a pipeline without executing it.", group: "Workflow", modes: LOCAL },
|
|
1634
|
+
{ path: "pipeline plan", description: "Resolve pipeline steps and required artifacts.", group: "Workflow", modes: LOCAL },
|
|
1635
|
+
{ path: "pipeline run", description: "Run or dry-run a local pipeline.", group: "Workflow", modes: LOCAL },
|
|
1636
|
+
{ path: "shell", description: "Open the conversational terminal.", group: "Workflow", modes: LOCAL },
|
|
1632
1637
|
{ path: "runs list", description: "List local runs.", group: "Inspect", modes: LOCAL },
|
|
1633
1638
|
{ path: "runs get", description: "Show a local run.", group: "Inspect", modes: LOCAL },
|
|
1634
1639
|
{ path: "runs report", description: "Show a local run report.", group: "Inspect", modes: LOCAL },
|
|
@@ -1644,7 +1649,11 @@ var COMMAND_CATALOG = [
|
|
|
1644
1649
|
{ path: "models activate", description: "Activate a verified local model.", group: "Serving", modes: LOCAL },
|
|
1645
1650
|
{ path: "models rollback", description: "Roll back the active local model.", group: "Serving", modes: LOCAL },
|
|
1646
1651
|
{ path: "serve", description: "Serve a local adapter, active model, or base model.", group: "Serving", modes: LOCAL },
|
|
1647
|
-
{ path: "info", description: "Show local runtime package information.", group: "Inspect", modes: LOCAL }
|
|
1652
|
+
{ path: "info", description: "Show local runtime package information.", group: "Inspect", modes: LOCAL },
|
|
1653
|
+
{ path: "status", description: "Show local project context.", group: "Inspect", modes: LOCAL },
|
|
1654
|
+
{ path: "agent models", description: "List provider models for the laptop-local TT agent.", group: "Inspect", modes: LOCAL },
|
|
1655
|
+
{ path: "agent configure", description: "Select the laptop-local TT agent model.", group: "Inspect", modes: LOCAL },
|
|
1656
|
+
{ path: "agent status", description: "Show the laptop-local TT agent selection.", group: "Inspect", modes: LOCAL }
|
|
1648
1657
|
];
|
|
1649
1658
|
var SLASH_COMMANDS = [
|
|
1650
1659
|
{ path: "/help", description: "Show commands; add a word to filter." },
|
|
@@ -3466,7 +3475,9 @@ function rows(value) {
|
|
|
3466
3475
|
}
|
|
3467
3476
|
function displayId(value) {
|
|
3468
3477
|
const id = text(value);
|
|
3469
|
-
|
|
3478
|
+
if (!id) return "\u2014";
|
|
3479
|
+
if (id.startsWith("local-")) return `local-${shortId(id.slice("local-".length))}`;
|
|
3480
|
+
return shortId(id);
|
|
3470
3481
|
}
|
|
3471
3482
|
function displayNumber(value, digits = 4) {
|
|
3472
3483
|
const parsed = number(value);
|
|
@@ -4798,13 +4809,8 @@ function createProgram(version, runtime = {}) {
|
|
|
4798
4809
|
program.addHelpText(
|
|
4799
4810
|
"after",
|
|
4800
4811
|
`
|
|
4801
|
-
Commands:
|
|
4802
|
-
tt Open the conversational terminal (TTY only)
|
|
4803
|
-
tt status Inspect local project context
|
|
4804
|
-
tt doctor Check the host and run prerequisites
|
|
4805
|
-
tt run Fine-tune and evaluate on your GPU
|
|
4806
|
-
|
|
4807
4812
|
Examples:
|
|
4813
|
+
tt Open the conversational terminal (TTY only)
|
|
4808
4814
|
tt doctor tunedtensor.json
|
|
4809
4815
|
tt run tunedtensor.json --dry-run
|
|
4810
4816
|
tt runs list
|
|
@@ -4887,7 +4893,7 @@ async function runCli(version, runtime = {}) {
|
|
|
4887
4893
|
}
|
|
4888
4894
|
|
|
4889
4895
|
// src/index.ts
|
|
4890
|
-
runCli("0.13.0
|
|
4896
|
+
runCli("0.13.0").catch((err) => {
|
|
4891
4897
|
reportError(err);
|
|
4892
4898
|
process.exit(1);
|
|
4893
4899
|
});
|