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
889ebb26
Unverified
Commit
889ebb26
authored
Apr 28, 2025
by
Nicolò Lucchesi
Committed by
GitHub
Apr 28, 2025
Browse files
[Misc] Minor typo/grammar in `platforms/interface.py` (#17307)
Signed-off-by:
NickLucche
<
nlucches@redhat.com
>
parent
3ad986c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/platforms/interface.py
vllm/platforms/interface.py
+2
-2
No files found.
vllm/platforms/interface.py
View file @
889ebb26
...
@@ -410,8 +410,8 @@ class Platform:
...
@@ -410,8 +410,8 @@ class Platform:
if
device
is
not
None
and
hasattr
(
device
,
key
):
if
device
is
not
None
and
hasattr
(
device
,
key
):
return
getattr
(
device
,
key
)
return
getattr
(
device
,
key
)
else
:
else
:
logger
.
warning
(
"Current platform %s does
n'
t ha
s
'%s'
attribute."
,
logger
.
warning
(
"Current platform %s does
no
t ha
ve
'%s'
"
\
self
.
device_name
,
key
)
" attribute."
,
self
.
device_name
,
key
)
return
None
return
None
@
classmethod
@
classmethod
...
...
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