From 01b0f3adab12f883bf8a4f2460134fa8839b54be Mon Sep 17 00:00:00 2001 From: SamareshSingh <97642706+ssam18@users.noreply.github.com> Date: Thu, 7 May 2026 21:59:00 -0500 Subject: [PATCH] fix: default TILELANG_CLEANUP_TEMP_FILES=1 to avoid shared /tmp conflicts (#41486) Signed-off-by: Samaresh Kumar Singh --- vllm/env_override.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vllm/env_override.py b/vllm/env_override.py index bbd76fe4ab..78270c2bee 100644 --- a/vllm/env_override.py +++ b/vllm/env_override.py @@ -112,6 +112,13 @@ os.environ["TORCHINDUCTOR_COMPILE_THREADS"] = "1" # in the environment. os.environ.setdefault("TRITON_CACHE_AUTOTUNING", "1") +# When unset, TileLang routes JIT temp dirs through a world-shared +# /tmp/tvm-debug-mode-tempdirs/ whose ownership is pinned to whichever +# user compiled first, breaking every other user on a shared host. +# Opt into per-process tempdirs unless the user explicitly chose the +# debug layout (see https://github.com/vllm-project/vllm/issues/41410). +os.environ.setdefault("TILELANG_CLEANUP_TEMP_FILES", "1") + # =================================================== # torch 2.9 Inductor PythonWrapperCodegen monkeypatch # ===================================================