Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
a9138e85
Unverified
Commit
a9138e85
authored
Apr 24, 2025
by
Harry Mellor
Committed by
GitHub
Apr 24, 2025
Browse files
Fix OOT registration test (#17099)
Signed-off-by:
Harry Mellor
<
19981378+hmellor@users.noreply.github.com
>
parent
0a05ed57
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
tests/models/test_oot_registration.py
tests/models/test_oot_registration.py
+2
-3
No files found.
tests/models/test_oot_registration.py
View file @
a9138e85
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment