mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-09 18:09:11 +08:00
[Misc] Minor typo/grammar in platforms/interface.py (#17307)
Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
parent
3ad986c28b
commit
889ebb2638
@ -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 doesn't has '%s' attribute.",
|
logger.warning("Current platform %s does not have '%s'" \
|
||||||
self.device_name, key)
|
" attribute.", self.device_name, key)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user