mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-27 17:59:17 +08:00
Fix OOT registration test (#17099)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
parent
0a05ed57e6
commit
a9138e85b1
@ -18,10 +18,9 @@ def test_plugin(
|
||||
m.setenv("VLLM_USE_V1", "0")
|
||||
m.setenv("VLLM_PLUGINS", "")
|
||||
|
||||
with pytest.raises(Exception) as excinfo:
|
||||
match = "Cannot find model module"
|
||||
with pytest.raises(ValueError, match=match):
|
||||
LLM(model=dummy_opt_path, load_format="dummy")
|
||||
error_msg = "has no vLLM implementation and the Transformers implementation is not compatible with vLLM" # noqa: E501
|
||||
assert (error_msg in str(excinfo.value))
|
||||
|
||||
|
||||
@create_new_process_for_each_test()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user