Skip to content

Commit f4133ce

Browse files
[Bugfix] Revert inspection code in #13743 (#13832)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
1 parent 6522d55 commit f4133ce

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

vllm/model_executor/models/registry.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,6 @@ def register_model(
364364
raise ValueError(msg)
365365

366366
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
373367
elif isinstance(model_cls, type) and issubclass(model_cls, nn.Module):
374368
model = _RegisteredModel.from_model_cls(model_cls)
375369
else:

0 commit comments

Comments
 (0)