@tuned-tensor/cli 0.13.1-beta.3 → 0.13.1-beta.4
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 +3 -2
- package/dist/{chunk-2P2RL23O.js → chunk-7VIUHQBI.js} +994 -845
- package/dist/chunk-7VIUHQBI.js.map +1 -0
- package/dist/index.js +29 -39
- package/dist/index.js.map +1 -1
- package/dist/local-runtime.js +32 -9
- package/dist/local-runtime.js.map +1 -1
- package/docs/local-runtime/architecture.md +4 -4
- package/examples/local-runtime/dry-runner.json +2 -2
- package/examples/local-runtime/local-runner.json +2 -2
- package/package.json +5 -5
- package/dist/chunk-2P2RL23O.js.map +0 -1
- /package/training/{local-runner → adapter}/pyproject.toml +0 -0
- /package/training/{local-runner → adapter}/src/evaluate.py +0 -0
- /package/training/{local-runner → adapter}/src/model_contract.py +0 -0
- /package/training/{local-runner → adapter}/src/prefetch.py +0 -0
- /package/training/{local-runner → adapter}/src/serve.py +0 -0
- /package/training/{local-runner → adapter}/src/sft_data.py +0 -0
- /package/training/{local-runner → adapter}/src/train.py +0 -0
- /package/training/{local-runner → adapter}/uv.lock +0 -0
|
@@ -42,7 +42,7 @@ resource defaults, data contract, and real CUDA acceptance test.
|
|
|
42
42
|
|
|
43
43
|
TT Local currently ships two such methods:
|
|
44
44
|
|
|
45
|
-
- **Adapter** (`training/
|
|
45
|
+
- **Adapter** (`training/adapter`): certified Transformers checkpoints and
|
|
46
46
|
PEFT LoRA SFT. Driven by `tt run` and adapter pipelines.
|
|
47
47
|
- **Foundation** (`training/foundation`): a from-scratch BPE tokenizer and GPT
|
|
48
48
|
with no Transformers/PEFT. Driven only by `tt pipeline` from a foundation
|
|
@@ -113,9 +113,9 @@ The runner config controls only:
|
|
|
113
113
|
|
|
114
114
|
The training project, Python entrypoints, working directory, and child
|
|
115
115
|
environment are internal and fixed. Every stage uses the locked `uv` project
|
|
116
|
-
included in the npm package. The mutable virtual environment lives in
|
|
117
|
-
|
|
118
|
-
npm install remains runnable.
|
|
116
|
+
included in the npm package. The mutable virtual environment lives in
|
|
117
|
+
`~/.tuned-tensor/cache`, keyed by the project and lockfile content, so a
|
|
118
|
+
read-only global npm install remains runnable.
|
|
119
119
|
|
|
120
120
|
Schemas are strict. Misspelled or obsolete fields fail validation instead of
|
|
121
121
|
silently reverting to defaults. Training itself is CUDA-only and fails fast
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuned-tensor/cli",
|
|
3
|
-
"version": "0.13.1-beta.
|
|
3
|
+
"version": "0.13.1-beta.4",
|
|
4
4
|
"description": "Local TT agent and CUDA fine-tuning CLI for Tuned Tensor workflows",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"test": "npm run test:cli && npm run test:local-runtime && npm run test:python",
|
|
18
18
|
"test:cli": "vitest run",
|
|
19
19
|
"test:local-runtime": "node --import tsx --test \"test/local-runtime/**/*.test.ts\"",
|
|
20
|
-
"test:python": "python3 -m unittest discover -s training/
|
|
20
|
+
"test:python": "python3 -m unittest discover -s training/adapter/tests -p 'test_*.py' && uv run --frozen --project training/foundation python -m unittest discover -s training/foundation/tests -p 'test_*.py'",
|
|
21
21
|
"test:watch": "vitest"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|
|
25
|
-
"training/
|
|
26
|
-
"training/
|
|
27
|
-
"training/
|
|
25
|
+
"training/adapter/pyproject.toml",
|
|
26
|
+
"training/adapter/uv.lock",
|
|
27
|
+
"training/adapter/src/*.py",
|
|
28
28
|
"training/foundation/pyproject.toml",
|
|
29
29
|
"training/foundation/uv.lock",
|
|
30
30
|
"training/foundation/src/*.py",
|