Views
No views yet
com.microsoft.MultiHeadAttention cross-attn + GroupQueryAttention
self-attn) crashes / mis-computes on the DML EP (ORT ≤ 1.24, unfixed).tools/onnx/cohere_decompose_attention.py)If nodes flattened away.encoder_model*.onnx (extra cross_attn.*
outputs) instead of on every decoded token.cross_bias mask, and every per-step shape is
constant. The DML EP now compiles the decoder once and reuses it, so per-token cost is
constant ~4 ms regardless of audio length, entirely on the GPU.decoder_model_merged*.onnx — fully static (fixed self- + cross-KV). Fastest on DirectML
(metadata winstt_static_kv).decoder_model_merged*_dyn.onnx — growing self-KV (cross still fixed). Faster on the CPU EP,
which doesn't benefit from static shapes. WinSTT loads this one when the decoder is CPU-bound.| DirectML (static) | CPU (dynamic) | |
|---|---|---|
| any length (5 s … 66 s) | ~4 ms/token | ~12 ms/token |
onnx/encoder_model[_fp16|_int8|_q4|_q4f16].onnx (+ external data) — hoisted, cross-padded encoder.onnx/decoder_model_merged[_fp16|_int8|_q4|_q4f16].onnx (+ _dyn) — static / dynamic decoders.