test_registry.py 272 B

123456789
  1. import pytest
  2. from aphrodite.modeling.models import _MODELS, ModelRegistry
  3. @pytest.mark.parametrize("model_cls", _MODELS)
  4. def test_registry_imports(model_cls):
  5. # Ensure all model classes can be imported successfully
  6. ModelRegistry.resolve_model_cls([model_cls])