[MISC] Cleanup deprecated parameters (#53559)

Signed-off-by: Jee Jee Li <jeejeelee@inferact.ai>
Signed-off-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Co-authored-by: Cyrus Leung <tlleungac@connect.ust.hk>
This commit is contained in:
Jee Jee Li
2026-08-24 10:19:04 -07:00
committed by GitHub
co-authored by Cyrus Leung
parent 6648eb118d
commit 4f686e182a
12 changed files with 16 additions and 93 deletions
-19
View File
@@ -91,8 +91,6 @@ if TYPE_CHECKING:
VLLM_FLOAT32_MATMUL_PRECISION: Literal["highest", "high", "medium"] = "highest"
VLLM_BATCH_INVARIANT: bool = False
VLLM_TRITON_USE_TD: bool | None = None
# Deprecated alias of VLLM_TRITON_USE_TD (removed in v0.25).
VLLM_TRITON_ATTN_USE_TD: bool | None = None
VLLM_GPU_SYNC_CHECK: Literal["warn", "error"] | None = None
MAX_JOBS: str | None = None
NVCC_THREADS: str | None = None
@@ -563,19 +561,6 @@ def get_env_or_set_default(
logger = logging.getLogger(__name__)
def _deprecated_triton_attn_use_td() -> None:
"""Warn that VLLM_TRITON_ATTN_USE_TD was renamed to VLLM_TRITON_USE_TD.
The old name is ignored; VLLM_TRITON_USE_TD is the supported variable.
"""
if "VLLM_TRITON_ATTN_USE_TD" in os.environ:
logger.warning(
"VLLM_TRITON_ATTN_USE_TD is deprecated and will be removed in "
"v0.25. Use VLLM_TRITON_USE_TD instead."
)
return None
def _resolve_rust_cli_path() -> str | None:
"""Resolve the vllm-rs binary path.
@@ -651,10 +636,6 @@ environment_variables: dict[str, Callable[[], Any]] = {
"VLLM_GPU_SYNC_CHECK": env_with_choices(
"VLLM_GPU_SYNC_CHECK", None, ["warn", "error"]
),
# Deprecated: renamed to VLLM_TRITON_USE_TD. Kept registered so it does
# not trip the unknown-env-var check; warns on use and is otherwise
# ignored.
"VLLM_TRITON_ATTN_USE_TD": lambda: _deprecated_triton_attn_use_td(),
# Maximum number of compilation jobs to run in parallel.
# By default this is the number of CPUs
"MAX_JOBS": lambda: os.getenv("MAX_JOBS", None),