diff --git a/vllm_ascend/envs.py b/vllm_ascend/envs.py index 03fe0b6e..0242c332 100644 --- a/vllm_ascend/envs.py +++ b/vllm_ascend/envs.py @@ -146,7 +146,7 @@ env_variables: Dict[str, Callable[[], Any]] = { lambda: int(os.getenv("VLLM_ASCEND_ENABLE_FUSED_MC2", '0')), # Whether to anbale balance scheduling "VLLM_ASCEND_BALANCE_SCHEDULING": - lambda: bool(os.getenv("VLLM_ASCEND_BALANCE_SCHEDULING", '0')), + lambda: bool(int(os.getenv("VLLM_ASCEND_BALANCE_SCHEDULING", '0'))), } # end-env-vars-definition