feat(train): WiFlow-STD PyTorch->tch weight import + numerical parity proof

export_to_safetensors.py maps the retrained checkpoint (295 tensors -> 248
mapped, param sum exactly 2,225,042; num_batches_tracked dropped) into a
tch-loadable safetensors plus a deterministic parity fixture. Gated #[ignore]
integration test loads it strictly and asserts forward-pass agreement:
max abs diff 1.192e-7 on the seed-42 fixture. dump_variable_names test makes
the tch name layout authoritative. Zero architecture discrepancies found.

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
ruv
2026-06-10 20:23:38 -04:00
parent cc50e28a29
commit af6621005f
4 changed files with 307 additions and 2 deletions
+2
View File
@@ -13,4 +13,6 @@ downloads/
*.npz
*.zip
*.mat
*.safetensors
results/parity_fixture.json
__pycache__/