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 6522d55 commit f4133ceCopy full SHA for f4133ce
vllm/model_executor/models/registry.py
@@ -364,12 +364,6 @@ def register_model(
364
raise ValueError(msg)
365
366
model = _LazyRegisteredModel(*split_str)
367
-
368
- try:
369
- model.inspect_model_cls()
370
- except Exception as exc:
371
- msg = f"Unable to inspect model {model_cls}"
372
- raise RuntimeError(msg) from exc
373
elif isinstance(model_cls, type) and issubclass(model_cls, nn.Module):
374
model = _RegisteredModel.from_model_cls(model_cls)
375
else:
0 commit comments