[XPU] Disable xpu graph by default (#38193)

Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>
This commit is contained in:
Kunshang Ji
2026-03-26 01:53:45 -07:00
committed by GitHub
parent a9213c0ffe
commit 6ae8bbd0c2
2 changed files with 12 additions and 0 deletions
+5
View File
@@ -247,6 +247,7 @@ if TYPE_CHECKING:
VLLM_ELASTIC_EP_DRAIN_REQUESTS: bool = False
VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS: bool = False
VLLM_NIXL_EP_MAX_NUM_RANKS: int = 32
VLLM_XPU_ENABLE_XPU_GRAPH: bool = False
def get_default_cache_root():
@@ -1648,6 +1649,10 @@ environment_variables: dict[str, Callable[[], Any]] = {
"VLLM_NIXL_EP_MAX_NUM_RANKS": lambda: int(
os.getenv("VLLM_NIXL_EP_MAX_NUM_RANKS", "32")
),
# Whether enable XPU graph on Intel GPU
"VLLM_XPU_ENABLE_XPU_GRAPH": lambda: bool(
int(os.getenv("VLLM_XPU_ENABLE_XPU_GRAPH", "0"))
),
}