test_oracle.py 458 Bytes
Newer Older
1
# SPDX-License-Identifier: Apache-2.0
2
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
3
4
5
6
7
8
9
import pytest

from vllm.engine.arg_utils import AsyncEngineArgs

MODEL = "meta-llama/Llama-3.2-1B-Instruct"


10
11
12
def test_unsupported_configs():
    with pytest.raises(NotImplementedError):
        AsyncEngineArgs(
13
            model=MODEL,
14
15
16
            speculative_config={
                "model": MODEL,
            },
17
        ).create_engine_config()