Skip to content

Commit

Permalink
[misc][plugin] improve log messages (vllm-project#10386)
Browse files Browse the repository at this point in the history
Signed-off-by: youkaichao <youkaichao@gmail.com>
  • Loading branch information
youkaichao authored and coolkp committed Nov 20, 2024
1 parent 674dcd1 commit 61d7bd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vllm/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ def load_general_plugins():
allowed_plugins = envs.VLLM_PLUGINS

discovered_plugins = entry_points(group='vllm.general_plugins')
if len(discovered_plugins) == 0:
logger.info("No plugins found.")
return
logger.info("Available plugins:")
for plugin in discovered_plugins:
logger.info("name=%s, value=%s, group=%s", plugin.name, plugin.value,
Expand Down

0 comments on commit 61d7bd6

Please sign in to comment.