Skip to content

Commit 35509fc

Browse files
authored
[Bugfix] Remove faulty test for oot attention backend (#22286)
Signed-off-by: mgoin <[email protected]>
1 parent 4b29d27 commit 35509fc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/plugins_tests/test_platform_plugins.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
import pytest
55
import torch
66

7-
from vllm.attention.selector import get_attn_backend
87
from vllm.plugins import load_general_plugins
9-
from vllm.utils import STR_BACKEND_ENV_VAR, STR_INVALID_VAL
108

119

1210
def test_platform_plugins():
@@ -27,14 +25,6 @@ def test_platform_plugins():
2725
f" is loaded. The first import:\n{_init_trace}")
2826

2927

30-
def test_oot_attention_backend(monkeypatch: pytest.MonkeyPatch):
31-
# ignore the backend env variable if it is set
32-
with monkeypatch.context() as m:
33-
m.setenv(STR_BACKEND_ENV_VAR, STR_INVALID_VAL)
34-
backend = get_attn_backend(16, torch.float16, "auto", 16, False)
35-
assert backend.get_name() == "Dummy_Backend"
36-
37-
3828
def test_oot_custom_op(monkeypatch: pytest.MonkeyPatch):
3929
# simulate workload by running an example
4030
load_general_plugins()

0 commit comments

Comments
 (0)