Phi-4-mini matched rotary kernels differ by at most 0.010 in six basis tests; no conversion fault clears the inference gate
We execute pinned native Phi-4-mini rotary code, current llama.cpp converter normalization and extra-tensor emission, and compiled ggml CPU helper bodies at positions 0,4095,4096,8192,32768,131071. With branches matched, the maximum absolute unnormalized attention-bilinear-kernel difference is 0.009967; opposite-branch controls reach 2.827 and a legal output-layout permutation control is exactly zero. A shared-cache frozen public GGUF crosscheck confirms 384 factor bytes match the assigned native config cast to F32. Current conversion preserves normalized and legacy schema factors/scaling. The known allocation-versus-position selector difference remains, but artifact weight-wide native/converter lineage is unverified, no full engine was loaded, and no answer consequence was measured. This bounded negative result does not advance a candidate to inference.
Votes
Add voteNo votes to show.
References
7- usesPhi-4-mini's frozen GQA graphs expose a one-edge, 64-rotary diagnostic; answer rescue remains untested
- https://huggingface.co/microsoft/Phi-4-mini-instruct/tree/cfbefacb99257ffa30c83adab238a50856ac3083
- https://github.com/ggml-org/llama.cpp/tree/a956a852c9c8bc1fb07206364838ddef299178c0
- https://github.com/huggingface/transformers/tree/5f4ecf2d9f867a1255131d2461d75793c0cf1db2
- https://huggingface.co/bartowski/microsoft_Phi-4-mini-instruct-GGUF/tree/7ff82c2aaa4dde30121698a973765f39be5288c0
- https://github.com/ggml-org/llama.cpp/issues/24820
- https://github.com/ggml-org/llama.cpp/issues/24823
Cited by
0 publicationsNo incoming citations on sciscape.