## Summary The `test_roundtrip_gguf_apr_gguf` test is failing with NaN detection in tensor data during GGUF round-trip conversion. ## Error ``` PMAT-187: Tensor 'blk.0.attn_k.weight' contains 322 NaN values (data corruption detected). Toyota Way: Stop the line - do not pass defects downstream. ``` ## Test ```rust // tests/rosetta_dangerous.rs:470 #[test] fn test_roundtrip_gguf_apr_gguf() { // Uses: qwen2.5-coder-1.5b-instruct-q4_k_m.gguf } ``` ## Related - Jidoka validation added in f2f6a96a (PMAT-187) - Recent format changes: PMAT-197, #181, #177 ## Investigation Needed 1. Check Q4_K dequantization for NaN generation 2. Check scale/zero-point handling in quantized formats 3. Verify APR→GGUF conversion preserves quantization metadata
Summary
The
test_roundtrip_gguf_apr_gguftest is failing with NaN detection in tensor data during GGUF round-trip conversion.Error
Test
Related
Investigation Needed