@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 17a9abec2b
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 11, 21:15 UTC

simplify requires_files list creation (#29656)

Signed-off-by: Chukwuma Nwaugha <nwaughac@gmail.com>

Chukwuma Nwaugha committed Dec 6, 2025 at 09:42 UTC 17a9abec2b7c38d55ebb6ea0dfe5cbe135993af2
1 file changed +2 -5
use_existing_torch.py
+2 -5
@@ -3,9 +3,7 @@
3
4 import glob
5
6 -requires_files = glob.glob("requirements/*.txt")
7 -requires_files += ["pyproject.toml"]
8 -for file in requires_files:
6 +for file in (*glob.glob("requirements/*.txt"), "pyproject.toml"):
7 print(f">>> cleaning {file}")
8 with open(file) as f:
9 lines = f.readlines()
@@ -17,5 +15,4 @@ for file in requires_files:
15 f.write(line)
16 else:
17 print(line.strip())
20 - print(f"<<< done cleaning {file}")
21 - print()
18 + print(f"<<< done cleaning {file}\n")