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 15, 17:15 UTC
fix: better install requirement for install in setup.py (#15796)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong committed
Mar 31, 2025 at 20:13 UTC
e7ae3bf3d62f9e68802711247e574f0f0942bfcb
1 file changed
+2
-3
setup.py
+2
-3
@@ -592,9 +592,8 @@ def get_requirements() -> list[str]:
592
for line in requirements:
593
if line.startswith("-r "):
594
resolved_requirements += _read_requirements(line.split()[1])
595
- elif line.startswith("--"):
596
- continue
597
- else:
595
+ elif not line.startswith("--") and not line.startswith(
596
+ "#") and line.strip() != "":
597
resolved_requirements.append(line)
598
return resolved_requirements
599