Skip to content

Restore Flax compatibility and perform real local CLI training - #2

Merged
jadenfix merged 2 commits into
mainfrom
codex/functional-20261012-CreditAssignment-LongHorizon
Oct 13, 2026
Merged

jadenfix merged 2 commits into
mainfrom
codex/functional-20261012-CreditAssignment-LongHorizon

Conversation

@jadenfix

@jadenfix jadenfix commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

NanoLM/Projection used nnx.List unavailable at the declared Flax minimum, and the advertised CLI only performed a forward pass while ignoring trainer.max_steps. Preserve compatible graph containers, wire SFT/DPO through real Optax updates, bound short-run warmup, stamp actual optimizer steps into fairness fingerprints, and emit training/decode receipts. Unsupported RL-rollout and scale CLI paths now fail explicitly instead of succeeding as dispatch stubs.

Validation on CPU JAX0.4.30/Flax0.10.0: full38test suite passed, including joint CTS backbone/projection/critic updates; latest targeted3CLI tests passed, checking real parameter changes, decode shape, receipt/log output, and rejecting the rollout stub. Full Ruff check/format passed. Changed-file Pyright:0errors; full-repository Pyright still has3pre-existing errors and6warnings. Fixtures and tiny random model are computational validation, not paper-quality results. Teacher APIs, task-specific on-policy rollout/reward builders, Tunix/MaxText/cloud execution remain unverified.

@jadenfix jadenfix changed the title Keep local model containers compatible with the declared Flax minimum Restore Flax compatibility and perform real local CLI training Oct 13, 2026
@jadenfix
jadenfix merged commit 133b94f into main Oct 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant