Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
f4133ce4
Unverified
Commit
f4133ce4
authored
Feb 26, 2025
by
Cyrus Leung
Committed by
GitHub
Feb 26, 2025
Browse files
[Bugfix] Revert inspection code in #13743 (#13832)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
6522d55b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
vllm/model_executor/models/registry.py
vllm/model_executor/models/registry.py
+0
-6
No files found.
vllm/model_executor/models/registry.py
View file @
f4133ce4
...
...
@@ -364,12 +364,6 @@ class _ModelRegistry:
raise
ValueError
(
msg
)
model
=
_LazyRegisteredModel
(
*
split_str
)
try
:
model
.
inspect_model_cls
()
except
Exception
as
exc
:
msg
=
f
"Unable to inspect model
{
model_cls
}
"
raise
RuntimeError
(
msg
)
from
exc
elif
isinstance
(
model_cls
,
type
)
and
issubclass
(
model_cls
,
nn
.
Module
):
model
=
_RegisteredModel
.
from_model_cls
(
model_cls
)
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment