Skip to content

Commit 9e992dd

Browse files
youkaichaorickyyx
authored andcommitted
[misc][plugin] improve log messages (vllm-project#10386)
Signed-off-by: youkaichao <youkaichao@gmail.com> Signed-off-by: rickyx <rickyx@anyscale.com>
1 parent b050fb4 commit 9e992dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vllm/plugins/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ def load_general_plugins():
2727
allowed_plugins = envs.VLLM_PLUGINS
2828

2929
discovered_plugins = entry_points(group='vllm.general_plugins')
30+
if len(discovered_plugins) == 0:
31+
logger.info("No plugins found.")
32+
return
3033
logger.info("Available plugins:")
3134
for plugin in discovered_plugins:
3235
logger.info("name=%s, value=%s, group=%s", plugin.name, plugin.value,

0 commit comments

Comments
 (0)