We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc729b commit 742f380Copy full SHA for 742f380
tests/models/test_registry.py
@@ -3,13 +3,13 @@
3
import pytest
4
import torch.cuda
5
6
-from vllm.model_executor.models import _MODELS, ModelRegistry
+from vllm.model_executor.models import ModelRegistry
7
from vllm.platforms import current_platform
8
9
from ..utils import fork_new_process_for_each_test
10
11
12
-@pytest.mark.parametrize("model_arch", _MODELS)
+@pytest.mark.parametrize("model_arch", ModelRegistry.get_supported_archs())
13
def test_registry_imports(model_arch):
14
# Ensure all model classes can be imported successfully
15
ModelRegistry.resolve_model_cls(model_arch)
0 commit comments