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
a061fe60
Unverified
Commit
a061fe60
authored
Dec 03, 2024
by
Gregory Shtrasberg
Committed by
GitHub
Dec 03, 2024
Browse files
[Build][Bugfix] Using the correct type hint (#10866)
Signed-off-by:
Gregory Shtrasberg
<
Gregory.Shtrasberg@amd.com
>
parent
7c32b686
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/utils.py
vllm/utils.py
+2
-2
No files found.
vllm/utils.py
View file @
a061fe60
...
...
@@ -1540,9 +1540,9 @@ class LazyDict(Mapping[str, T], Generic[T]):
return
len
(
self
.
_factory
)
class
ClassRegistry
(
UserDict
[
t
ype
[
T
],
_V
]):
class
ClassRegistry
(
UserDict
[
T
ype
[
T
],
_V
]):
def
__getitem__
(
self
,
key
:
t
ype
[
T
])
->
_V
:
def
__getitem__
(
self
,
key
:
T
ype
[
T
])
->
_V
:
for
cls
in
key
.
mro
():
if
cls
in
self
.
data
:
return
self
.
data
[
cls
]
...
...
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