[CI] Fix `tests/entrypoints/multimodal/openai/chat_completion/test_audio.py::test_chat_streaming_audio` (#50451)
Signed-off-by: NickLucche <nicolo.lucchesi@mistral.ai>
Nicolò Lucchesi committed
Jul 31, 2026 at 01:18 UTC
8700f86a7012b2354c3f2834c1a0d2b6023b0bcd
1 file changed
+1
-6
tests/entrypoints/multimodal/openai/chat_completion/test_audio.py
+1
-6
@@ -10,7 +10,6 @@ import pytest_asyncio
10
from tests.utils import RemoteOpenAIServer
11
from vllm.assets.audio import AudioAsset
12
from vllm.multimodal.utils import encode_audio_base64, encode_audio_url, fetch_audio
13
-from vllm.platforms import current_platform
13
14
MODEL_NAME = "fixie-ai/ultravox-v0_5-llama-3_2-1b"
15
TEST_AUDIO_URLS = [
@@ -19,10 +18,6 @@ TEST_AUDIO_URLS = [
18
]
19
MAXIMUM_AUDIOS = 2
20
22
-# Disable prefix caching on ROCm to reduce non-determinism in
23
-# streaming-vs-non-streaming comparisons.
24
-_ROCM_ARGS = ["--no-enable-prefix-caching"] if current_platform.is_rocm() else []
25
-
21
22
@pytest.fixture(scope="module")
23
def server():
@@ -37,7 +32,7 @@ def server():
32
"--trust-remote-code",
33
"--limit-mm-per-prompt",
34
json.dumps({"audio": MAXIMUM_AUDIOS}),
40
- *_ROCM_ARGS,
35
+ "--no-enable-prefix-caching",
36
]
37
38
with RemoteOpenAIServer(MODEL_NAME, args) as remote_server: