[BugFix] VLLM_DISABLE_COMPILE_CACHE=1 should disable all reads and writes from the cache (#20942)

Signed-off-by: Richard Zou <zou3519@gmail.com>
This commit is contained in:
Richard Zou
2025-07-15 01:26:18 +00:00
committed by GitHub
parent 8cdc371217
commit ba8c300018
4 changed files with 33 additions and 2 deletions
+4
View File
@@ -23,6 +23,10 @@ class CompilationCounter:
num_inductor_compiles: int = 0
# EagerAdapter.compile calls
num_eager_compiles: int = 0
# The number of time vLLM's compiler cache entry was updated
num_cache_entries_updated: int = 0
# The number of standalone_compile compiled artifacts saved
num_compiled_artifacts_saved: int = 0
def clone(self) -> "CompilationCounter":
return copy.deepcopy(self)