def test_get_model_by_name_with_init_args() -> None:
        """Test get_model by name with init args."""
        model = get_model("Patchcore", backbone="wide_resnet50_2")
        assert isinstance(model, Patchcore)
Test get_model by name with init args.
tests/unit/models/test_model_utils.py