Skip to content

Commit 09d5964

Browse files
evaline-jujoerunde
authored andcommitted
♻️🐛 Allow vllm version to be overwritten
Signed-off-by: Evaline Ju <[email protected]>
1 parent 3f63a24 commit 09d5964

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

noxfile.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ def tests(session: nox.Session) -> None:
2323

2424
session.install(".[tests]")
2525

26+
# Re-install without dependencies since `.[tests]` brings in
27+
# overrides that may bring the vllm version down
28+
if vllm_version := os.getenv("VLLM_VERSION_OVERRIDE"):
29+
session.install(vllm_version, "--no-deps")
30+
2631
session.run(
2732
"pytest",
2833
"--cov",

0 commit comments

Comments
 (0)