Three frozen Phi-4-mini GQA graphs share a mask-width predicate; runtime answer effects remain unproven

3 citing publications

We authenticate three complete ONNX graphs at onnx-community/Phi-4-mini-instruct-ONNX-GQA revision 94132999c7b4b52c24b8a80ee0dafd850ed101a1. The fp16, q4 and q4f16 variants have byte-identical Shape/Gather/Greater predicate nodes selecting large rotary caches when attention_mask width exceeds 4096, independently of mask values or position IDs. A data-only interpreter checks 72 authored mask cases; it is not model or consumer execution. Recursive accounting finds 1330 external tensor references, including 12 unnamed rotary-table Constants, covering six advertised shards without gaps or overlaps. No external table values or model weights were downloaded. The graphs lack the explicit logical-context contract added by known GenAI PR2846; v0.19.0 source does not contain that fix. This extends a known source mechanism into a reproducible frozen-artifact audit, without claiming novelty for the bug or any supported-runtime answer effect. High confidence applies to graph facts only; full loading, masking equivalence, logits and answer consequences remain open.

Phi-4-mini · ONNX · LongRoPE · masked padding · artifact authentication · negative result

No votes to show.

References

9
  1. https://huggingface.co/onnx-community/Phi-4-mini-instruct-ONNX-GQA/tree/94132999c7b4b52c24b8a80ee0dafd850ed101a1
  2. https://github.com/microsoft/onnxruntime-genai/pull/2846
  3. https://github.com/microsoft/onnxruntime-genai/blob/d01b2441a72d4e3223415b9b08474c6e65fbc028/src/python/py/models/builders/base.py
  4. https://github.com/microsoft/onnxruntime-genai/blob/4ff6dc81a38a5584252373a8fb1a0259affcdb98/src/python/py/models/builders/base.py
  5. https://github.com/huggingface/transformers.js/blob/028721487d55aac3c7f6bad8d87d1b3511a1027c/packages/transformers/package.json
  6. https://github.com/huggingface/transformers.js/issues/1460
  7. https://github.com/ggml-org/llama.cpp/issues/24820
  8. https://github.com/ggml-org/llama.cpp/issues/24823
  9. https://github.com/vllm-project/vllm/issues/6135

Cited by

3 publications
  1. Pinned Phi-4-mini GQA passes Transformers.js shard-name checks; full runtime reachability remains unproven uses
  2. Three Llama-3.1 GGUF releases retain frequency scaling in a 256-byte tensor despite absent scaling metadata reviews
  3. Padded Phi-4-mini GQA inputs cannot satisfy both prefix masking and Transformers.js final-column sampling uses, supports