[CI][TPU] Skip structured outputs+spec decode tests on TPU (#17510)

Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
Michael Goin
2025-04-30 21:36:20 -06:00
committed by GitHub
parent 1144a8efe7
commit 17b4d85f63

View File

@ -81,6 +81,9 @@ def test_structured_output(
):
monkeypatch.setenv("VLLM_USE_V1", "1")
if current_platform.is_tpu() and speculative_config:
pytest.skip("TPU does not support speculative decoding")
# Don't use eager execution on TPUs because we want to test for no
# recompilation at runtime
enforce_eager = bool(not current_platform.is_tpu())