Skip to content

Commit 742f380

Browse files
committed
Fix registry tests
1 parent ddc729b commit 742f380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/models/test_registry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
import pytest
44
import torch.cuda
55

6-
from vllm.model_executor.models import _MODELS, ModelRegistry
6+
from vllm.model_executor.models import ModelRegistry
77
from vllm.platforms import current_platform
88

99
from ..utils import fork_new_process_for_each_test
1010

1111

12-
@pytest.mark.parametrize("model_arch", _MODELS)
12+
@pytest.mark.parametrize("model_arch", ModelRegistry.get_supported_archs())
1313
def test_registry_imports(model_arch):
1414
# Ensure all model classes can be imported successfully
1515
ModelRegistry.resolve_model_cls(model_arch)

0 commit comments

Comments
 (0)