mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-20 02:17:01 +08:00
[CI][TPU] Skip structured outputs+spec decode tests on TPU (#17510)
Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
parent
1144a8efe7
commit
17b4d85f63
@ -81,6 +81,9 @@ def test_structured_output(
|
|||||||
):
|
):
|
||||||
monkeypatch.setenv("VLLM_USE_V1", "1")
|
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
|
# Don't use eager execution on TPUs because we want to test for no
|
||||||
# recompilation at runtime
|
# recompilation at runtime
|
||||||
enforce_eager = bool(not current_platform.is_tpu())
|
enforce_eager = bool(not current_platform.is_tpu())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user