Skip to content

Commit 241d7aa

Browse files
justinchubyCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <[email protected]> Signed-off-by: Justin Chu <[email protected]>
1 parent b8cecbd commit 241d7aa

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • .agents/skills/quality-checklist

‎.agents/skills/quality-checklist/SKILL.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,12 @@ python examples/<model>_text_generation.py --compare-hf --dtype bf16
140140
opt-in via `MOBIUS_ORT_LOWER_OPSET_FOR_EP=1`)
141141
- [ ] Dead graph inputs removed after EP-aware optimization
142142
(`RemoveDeadGraphInputsPass` in Stage 4 of `optimize_model()`)
143-
- [ ] `search.past_present_share_buffer` must be `false` in
144-
`genai_config.json` for models with dual head_dim (e.g. Gemma4:
145-
256 for sliding, 512 for full attention) — GenAI allocates uniform
146-
KV cache shapes
143+
- [ ] For models with dual head_dim (e.g. Gemma4: 256 for sliding,
144+
512 for full attention), verify whether ORT GenAI requires
145+
`search.past_present_share_buffer=false` because GenAI allocates
146+
uniform KV cache shapes; if so, explicitly override the generated
147+
`genai_config.json` before runtime validation rather than assuming
148+
the default generated setting is correct
147149
- [ ] Encoder inputs (vision/audio) are declared with `dtype=config.dtype`
148150
at sub-model entry (no stale float32-only cast guidance)
149151

0 commit comments

Comments
 (0)