[ROCm][CI] Fix XPASS(strict) on mixed audio embeds test (#49733)

Signed-off-by: Djordje Ramic <djoramic@amd.com>
Signed-off-by: Andreas Karatzas <akaratza@amd.com>
Co-authored-by: Andreas Karatzas <akaratza@amd.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
djramic
2026-07-24 16:09:18 -05:00
committed by GitHub
co-authored by Andreas Karatzas OpenAI Codex
parent 89f6aa3a9e
commit 7513d071bd
@@ -17,6 +17,7 @@ from transformers import AutoConfig, AutoTokenizer
from tests.utils import RemoteOpenAIServer
from vllm.utils.serial_utils import tensor2base64
from vllm.utils.torch_utils import is_torch_equal_or_newer
QWEN2AUDIO_MODEL = "Qwen/Qwen2-Audio-7B-Instruct"
@@ -148,6 +149,7 @@ def qwen2audio_aligned_content_and_embeds_b64() -> tuple[str, str]:
False,
id="text-then-audio_embeds",
marks=pytest.mark.xfail(
condition=is_torch_equal_or_newer("2.12.0"),
reason="torch 2.12 regression: prompt_embeds output diverges "
"from raw-text when text precedes audio; "
"https://github.com/pytorch/pytorch/issues/184431",