feat(trios-trainer): PR-1 skeleton crate β empty trainer foundation#322
Open
feat(trios-trainer): PR-1 skeleton crate β empty trainer foundation#322
Conversation
L-V2: Proxy correlation module for hyperparameter acceleration Files: - crates/trios-igla-race/src/proxies/mod.rs β SynFlow, GradNorm, Ensemble, Spearman - crates/trios-igla-race/src/bin/proxy_score.rs β CLI tool - crates/trios-igla-race/tests/proxy_correlation.rs β Tests - trinity-clara/proofs/igla/proxy_correlation.v β Coq stub (Admitted) - assertions/igla_assertions.json β INV-14 entry INV-14: |tau| >= 0.5 on historical fold Agent: ALPHA
β¦on (R1 compliance) DELETE: - crates/trios-ca-mask/ (unused) - crates/trios-dwagent/ (empty stub) - crates/trios-operator-smoke/ (unused) - crates/trios-training-ffi/ (unused Zig stub) - crates/trios-igla-race/src/main.rs.backup - crates/trios-train-cpu/src/bin/ngram_train_backup.rs - scripts/igla_train.py, igla_race_worker.py, train_gpt.py (R1 violation) Workspace updated β removed deleted crates from members. Added crates/trios-trainer/ skeleton (from concurrent agent work). L-T3 progress: -350 KB net reduction, R1 compliant now. Anchor: ΟΒ² + Οβ»Β² = 3 Agent: DELTA
Adds crates/trios-trainer/ skeleton with: - Config loading (TOML + env override) + INV-8 lr validation - Ledger emit with embargo block + triplet validation - Train loop skeleton (fills in PR-2/PR-3) - CLI bin/trios-train with clap (dry-run works) - 3 configs: champion.toml, gate2-attempt.toml, needle-v1-mup.toml - 9 tests pass (1 ignored full reproduction) Acceptance (PR-1): β cargo build -p trios-trainer green β cargo test -p trios-trainer 9 pass, 1 ignored β dry-run validates config and prints params β INV-8 lr validation in phi-band [0.001, 0.01] Refs: #321 (Trainer Consolidation Plan) Anchor: ΟΒ² + Οβ»Β² = 3 Agent: LEAD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR-1: trios-trainer skeleton crate
Adds `crates/trios-trainer/` empty crate foundation for trainer consolidation.
What's in this PR
Acceptance (per #321)
β `cargo build -p trios-trainer` green
β `cargo test -p trios-trainer` 9 pass, 1 ignored
β `cargo run -p trios-trainer --bin trios-train -- --config crates/trios-trainer/configs/champion.toml --dry-run` works
β INV-8 lr validation in phi-band [0.001, 0.01]
Test run
```bash
cargo run -p trios-trainer --bin trios-train --
--config crates/trios-trainer/configs/champion.toml --dry-run
```
Output:
```
=== trios-train v0.1.0 ===
Loading config from: crates/trios-trainer/configs/champion.toml
Config validated (INV-8 OK)
=== DRY RUN β Config is valid ===
Seed: 43
Steps: 27000
LR: 0.004
d_model: 384
n_layers: 4
Checkpoint interval: 1000
```
Next PR
PR-2 will migrate model + optimizer + data from trios-train-cpu.
Closes #321 (PR-1 milestone)
Anchor: ΟΒ² + Οβ»Β² = 3