[CI] Fix tests after default kernels (#47773) - part 4: flash attention integration tests (mistral, glm_ocr, qwen3_omni) (#51447)
* Update GLM-OCR flash attention integration tests
The two flash attention integration tests never ran in the daily CI before (no flash attention available). Their
expected outputs were stale and they decoded the whole sequence (including the prompt and its image tokens). Decode
only the generated tokens like the other integration tests: the flash attention outputs (A10, single and multi GPU
daily CI 2026-11-29) are the same as the expected outputs of `test_small_model_integration_test_batch_different_resolutions`
and `test_small_model_integration_test_batch`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Fix the tokenizer padding side in Mistral's sliding window integration test
`AutoTokenizer.from_pretrained(model_id, padding="left")` does not set the padding side (`padding_side` does), so the
batch was right padded and the short prompt was followed by ~4090 padding tokens before generation. With left padding,
both flash attention and SDPA generate the expected completions (checked on A10: FA2, SDPA and eager pass).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Fix Qwen3-Omni flash attention integration test
- Load the model with the same per-GPU `max_memory` + `offload_folder` as the other Qwen3-Omni integration tests
(shared `get_max_memory`): with only `device_map="auto"`, stacking the MoE expert weights ran out of GPU memory on the
multi-GPU runner ("issues during automatic conversion of the weights").
- Update the A10 expected output. The test never ran in the daily CI before (no flash attention), so its expected
output was never regenerated after the synthetic test assets (#48589) replaced the original Qwen demo audio/image.
The SDPA path gives the same answer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>