Skip to content

Commit

Permalink
Setup plugins in subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLight1337 committed Oct 11, 2024
1 parent 7722699 commit 44ae632
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vllm/model_executor/models/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,10 @@ def _run_in_subprocess(fn: Callable[[], _T]) -> _T:


def _run() -> None:
# Setup plugins
from vllm.plugins import load_general_plugins
load_general_plugins()

fn, output_file = pickle.loads(sys.stdin.buffer.read())

result = fn()
Expand Down

0 comments on commit 44ae632

Please sign in to comment.