main
py 17 lines 449 Bytes
Raw
1 # SPDX-License-Identifier: Apache-2.0
2 # SPDX-FileCopyrightText: Copyright contributors to the vLLM project
3 import pytest
4
5 from vllm.engine.arg_utils import AsyncEngineArgs
6
7 MODEL = "meta-llama/Llama-3.2-1B-Instruct"
8
9
10 def test_unsupported_configs():
11 with pytest.raises(ValueError):
12 AsyncEngineArgs(
13 model=MODEL,
14 speculative_config={
15 "model": MODEL,
16 },
17 ).create_engine_config()