mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 13:06:32 +01:00
Diff: https://github.com/vllm-project/vllm/compare/v0.11.0...v0.11.2 Changelogs: - https://github.com/vllm-project/vllm/releases/tag/v0.11.1 - https://github.com/vllm-project/vllm/releases/tag/v0.11.2
13 lines
685 B
Diff
13 lines
685 B
Diff
diff --git a/vllm/model_executor/models/registry.py b/vllm/model_executor/models/registry.py
|
|
index a2de597c8..4c2410209 100644
|
|
--- a/vllm/model_executor/models/registry.py
|
|
+++ b/vllm/model_executor/models/registry.py
|
|
@@ -1121,7 +1121,7 @@ def _run_in_subprocess(fn: Callable[[], _T]) -> _T:
|
|
# cannot use `sys.executable __file__` here because the script
|
|
# contains relative imports
|
|
returned = subprocess.run(
|
|
- _SUBPROCESS_COMMAND, input=input_bytes, capture_output=True
|
|
+ _SUBPROCESS_COMMAND, input=input_bytes, capture_output=True, env={'PYTHONPATH': ':'.join(sys.path)},
|
|
)
|
|
|
|
# check if the subprocess is successful
|