corridorkey-mrp-mlx/tests
Cristopher Yates 150c974eed
feat(phase3): PyTorch→MLX weight converter (#1)
* feat(phase3): PyTorch→MLX weight converter + safetensors output

365 keys mapped (367 source - 2 num_batches_tracked skipped).
Conv weights transposed (O,I,H,W→O,H,W,I), refiner stem remapped,
4ch patch embed preserved. 12 conversion tests + diagnostic report.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(phase3): conv allowlist, unused var, test fixture

- Replace _is_conv_weight heuristic with explicit CONV_WEIGHT_KEYS frozenset (15 keys)
- Remove unused `skipped` list from convert_state_dict
- Module-scoped pytest fixture eliminates 11 redundant checkpoint loads

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 05:16:56 -03:30
..
__init__.py chore: add remaining test stubs and script placeholders 2026-03-01 04:49:09 -03:30
test_conversion.py feat(phase3): PyTorch→MLX weight converter (#1) 2026-03-01 05:16:56 -03:30
test_decoder_parity.py feat(phase2): MLX decoder + refiner with parity tests 2026-03-01 05:00:00 -03:30
test_import.py chore: add remaining test stubs and script placeholders 2026-03-01 04:49:09 -03:30
test_reference_fixtures.py feat(phase1): PyTorch reference harness + fixture tests 2026-03-01 04:49:01 -03:30
test_refiner_parity.py feat(phase2): MLX decoder + refiner with parity tests 2026-03-01 05:00:00 -03:30