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
35509fc5
Unverified
Commit
35509fc5
authored
Aug 05, 2025
by
Michael Goin
Committed by
GitHub
Aug 06, 2025
Browse files
[Bugfix] Remove faulty test for oot attention backend (#22286)
Signed-off-by:
mgoin
<
mgoin64@gmail.com
>
parent
4b29d278
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
tests/plugins_tests/test_platform_plugins.py
tests/plugins_tests/test_platform_plugins.py
+0
-10
No files found.
tests/plugins_tests/test_platform_plugins.py
View file @
35509fc5
...
@@ -4,9 +4,7 @@
...
@@ -4,9 +4,7 @@
import
pytest
import
pytest
import
torch
import
torch
from
vllm.attention.selector
import
get_attn_backend
from
vllm.plugins
import
load_general_plugins
from
vllm.plugins
import
load_general_plugins
from
vllm.utils
import
STR_BACKEND_ENV_VAR
,
STR_INVALID_VAL
def
test_platform_plugins
():
def
test_platform_plugins
():
...
@@ -27,14 +25,6 @@ def test_platform_plugins():
...
@@ -27,14 +25,6 @@ def test_platform_plugins():
f
" is loaded. The first import:
\n
{
_init_trace
}
"
)
f
" is loaded. The first import:
\n
{
_init_trace
}
"
)
def
test_oot_attention_backend
(
monkeypatch
:
pytest
.
MonkeyPatch
):
# ignore the backend env variable if it is set
with
monkeypatch
.
context
()
as
m
:
m
.
setenv
(
STR_BACKEND_ENV_VAR
,
STR_INVALID_VAL
)
backend
=
get_attn_backend
(
16
,
torch
.
float16
,
"auto"
,
16
,
False
)
assert
backend
.
get_name
()
==
"Dummy_Backend"
def
test_oot_custom_op
(
monkeypatch
:
pytest
.
MonkeyPatch
):
def
test_oot_custom_op
(
monkeypatch
:
pytest
.
MonkeyPatch
):
# simulate workload by running an example
# simulate workload by running an example
load_general_plugins
()
load_general_plugins
()
...
...
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