[BugFix] Add env variable to control PDL in LoRA (#32836)
Signed-off-by: Jee Jee Li <pandaleefree@gmail.com>
This commit is contained in:
@@ -251,6 +251,7 @@ if TYPE_CHECKING:
|
||||
VLLM_LOG_MODEL_INSPECTION: bool = False
|
||||
VLLM_DEBUG_MFU_METRICS: bool = False
|
||||
VLLM_DISABLE_LOG_LOGO: bool = False
|
||||
VLLM_LORA_DISABLE_PDL: bool = False
|
||||
|
||||
|
||||
def get_default_cache_root():
|
||||
@@ -1618,8 +1619,12 @@ environment_variables: dict[str, Callable[[], Any]] = {
|
||||
),
|
||||
# Disable logging of vLLM logo at server startup time.
|
||||
"VLLM_DISABLE_LOG_LOGO": lambda: bool(int(os.getenv("VLLM_DISABLE_LOG_LOGO", "0"))),
|
||||
# Disable PDL for LoRA, as enabling PDL with LoRA on SM100 causes
|
||||
# Triton compilation to fail.
|
||||
"VLLM_LORA_DISABLE_PDL": lambda: bool(int(os.getenv("VLLM_LORA_DISABLE_PDL", "0"))),
|
||||
}
|
||||
|
||||
|
||||
# --8<-- [end:env-vars-definition]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user