Skip to content

Commit 2e45857

Browse files
authored
python3Packages.vllm: 0.7.2 -> 0.7.3 (#384008)
2 parents 6555fba + 6d19180 commit 2e45857

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
diff --git a/vllm/model_executor/models/registry.py b/vllm/model_executor/models/registry.py
2-
index f5a02a5b..e830f987 100644
2+
index 81623def..2a6e2c92 100644
33
--- a/vllm/model_executor/models/registry.py
44
+++ b/vllm/model_executor/models/registry.py
5-
@@ -482,6 +482,7 @@ def _run_in_subprocess(fn: Callable[[], _T]) -> _T:
6-
returned = subprocess.run(
7-
[sys.executable, "-m", "vllm.model_executor.models.registry"],
8-
input=input_bytes,
9-
+ env={'PYTHONPATH': ':'.join(sys.path)},
10-
capture_output=True)
5+
@@ -521,6 +521,7 @@ def _run_in_subprocess(fn: Callable[[], _T]) -> _T:
6+
# contains relative imports
7+
returned = subprocess.run(_SUBPROCESS_COMMAND,
8+
input=input_bytes,
9+
+ env={'PYTHONPATH': ':'.join(sys.path)},
10+
capture_output=True)
1111

1212
# check if the subprocess is successful

pkgs/development/python-modules/vllm/default.nix

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,16 @@ let
8989

9090
vllm-flash-attn = stdenv.mkDerivation rec {
9191
pname = "vllm-flash-attn";
92-
version = "2.6.2";
92+
# https://github.com/vllm-project/flash-attention/blob/${src.rev}/vllm_flash_attn/__init__.py
93+
version = "2.7.2.post1";
9394

9495
# see CMakeLists.txt, grepping for GIT_TAG near vllm-flash-attn
9596
# https://github.com/vllm-project/vllm/blob/${version}/CMakeLists.txt
9697
src = fetchFromGitHub {
9798
owner = "vllm-project";
9899
repo = "flash-attention";
99-
rev = "d4e09037abf588af1ec47d0e966b237ee376876c";
100-
hash = "sha256-KFEsZlrwvCgvPzQ/pCLWcnbGq89mWE3yTDdtJSV9MII=";
100+
rev = "720c94869cf2e0ff5a706e9c7f1dce0939686ade";
101+
hash = "sha256-UXbBfzBCOBjRRAAOhIzt0E27VjC6xu4G1CkZfu9LKRs=";
101102
};
102103

103104
dontConfigure = true;
@@ -195,7 +196,7 @@ in
195196

196197
buildPythonPackage rec {
197198
pname = "vllm";
198-
version = "0.7.2";
199+
version = "0.7.3";
199200
pyproject = true;
200201

201202
stdenv = if cudaSupport then cudaPackages.backendStdenv else args.stdenv;
@@ -204,7 +205,7 @@ buildPythonPackage rec {
204205
owner = "vllm-project";
205206
repo = pname;
206207
tag = "v${version}";
207-
hash = "sha256-j59DpNuO5TgGD6UVGzueSTumd7mDMB4l1QytV3rFIJE=";
208+
hash = "sha256-gudlikAjwZNkniKRPJYm7beoti8eHp5LaRV2/UNEibo=";
208209
};
209210

210211
patches = [

0 commit comments

Comments
 (0)