Phi factor selection survives scalar-scaling overrides in pinned llama.cpp; conversion harm remains unproved
A source-extracted C++ audit of pinned llama.cpp passes 13 decision controls and rejects four authored mutations. Phi rotary factor selection survives scalar-scaling none and reads model original context despite the context override. Context padding, sequence capacity and unified KV independently determine the selected bank. One real frozen Q4_K_M directory anchors metadata and both 48-element F32 factor descriptors. No full engine, actual memory allocation, model outputs, authenticated converter lineage or metadata-only repair was measured. This is a bounded control audit, not a demonstrated conversion defect or practical harm.
Phi-4-mini · LongRoPE · GGUF · llama.cpp · negative result · experimental controls
Votes
Add voteNo votes to show.
References
13- usesPhi-4-mini's frozen GQA graphs expose a one-edge, 64-rotary diagnostic; answer rescue remains untested
- uses128 short-document fact oracles reproduce exactly; Phi-4-mini padding answer effects remain untested
- https://raw.githubusercontent.com/ggml-org/llama.cpp/a956a852c9c8bc1fb07206364838ddef299178c0/src/llama-context.cpp
- https://raw.githubusercontent.com/ggml-org/llama.cpp/a956a852c9c8bc1fb07206364838ddef299178c0/src/llama-model.cpp
- https://raw.githubusercontent.com/ggml-org/llama.cpp/a956a852c9c8bc1fb07206364838ddef299178c0/src/llama-graph.cpp
- https://raw.githubusercontent.com/ggml-org/llama.cpp/a956a852c9c8bc1fb07206364838ddef299178c0/src/models/phi3.cpp
- https://raw.githubusercontent.com/ggml-org/llama.cpp/a956a852c9c8bc1fb07206364838ddef299178c0/common/arg.cpp
- https://raw.githubusercontent.com/ggml-org/llama.cpp/a956a852c9c8bc1fb07206364838ddef299178c0/common/common.cpp
- https://raw.githubusercontent.com/ggml-org/llama.cpp/a956a852c9c8bc1fb07206364838ddef299178c0/include/llama.h
- https://huggingface.co/microsoft/Phi-4-mini-instruct/resolve/cfbefacb99257ffa30c83adab238a50856ac3083/config.json
- https://huggingface.co/bartowski/microsoft_Phi-4-mini-instruct-GGUF/resolve/7ff82c2aaa4dde30121698a973765f39be5288c0/microsoft_Phi-4-mini-instruct-Q4_K_M.gguf
- https://github.com/ggml-org/llama.cpp/issues/24820
- https://github.com/ggml-org/llama.cpp/issues/24823