[Misc] Allow install empty package from pip (#41074)

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan
2026-09-16 02:02:37 +00:00
committed by GitHub
parent a4d2d9d95e
commit b0898a4937
2 changed files with 37 additions and 28 deletions
+5
View File
@@ -2176,6 +2176,10 @@ environment_variables: dict[str, Callable[[], Any]] = {
# Each op additionally checks its own shape / dtype constraints and falls
# back to the eager path when they do not hold.
"VLLM_ENABLE_HPC_OPS": lambda: bool(int(os.getenv("VLLM_ENABLE_HPC_OPS", "0"))),
# Whether to skip version suffix when building package
"VLLM_SKIP_VERSION_SUFFIX": lambda: bool(
int(os.getenv("VLLM_SKIP_VERSION_SUFFIX", "0"))
),
}
@@ -2344,6 +2348,7 @@ def compile_factors() -> dict[str, object]:
"LOCAL_RANK",
"CUDA_VISIBLE_DEVICES",
"NO_COLOR",
"VLLM_SKIP_VERSION_SUFFIX",
}
from vllm.config.utils import normalize_value