A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 3, 16:30 UTC
[Misc] Fix mypy error in parser_manager type narrowing (#42441)
Signed-off-by: Sarah-Salah <11881117+Sarah-Salah@users.noreply.github.com>
Sarah Salah committed
May 14, 2026 at 05:48 UTC
bf0d2dc6d764f7ab1a69504f60a55883ec6d9b39
1 file changed
+1
-1
vllm/parser/parser_manager.py
+1
-1
@@ -158,7 +158,7 @@ class ParserManager:
158
159
if isinstance(name, str):
160
names = [name]
161
- elif is_list_of(name, str):
161
+ elif name is not None and is_list_of(name, str):
162
names = name
163
else:
164
names = [class_name]