vllm.model_executor.warmup.flashinfer_autotune_cache
¶
FlashInfer autotune cache helpers.
Functions:
-
flashinfer_autotune_filename–Per-rank cache filename, shared by the engine reader and D2D exchange.
-
flashinfer_autotune_root–Root directory of the FlashInfer autotune cache (no runner needed).
-
resolve_flashinfer_autotune_v2_root–Placement root for FlashInfer's managed autotune store.
-
resolve_rank_flashinfer_autotune_file–The per-rank variant of :func:
resolve_flashinfer_autotune_file.
_normalize_cache_config_for_hash(cache_config)
¶
Normalize cache config for hashing
Source code in vllm/model_executor/warmup/flashinfer_autotune_cache.py
flashinfer_autotune_filename(dp_rank, rank)
¶
Per-rank cache filename, shared by the engine reader and D2D exchange.
flashinfer_autotune_root()
¶
Root directory of the FlashInfer autotune cache (no runner needed).
Source code in vllm/model_executor/warmup/flashinfer_autotune_cache.py
resolve_flashinfer_autotune_v2_root()
¶
Placement root for FlashInfer's managed autotune store.
Unlike :func:resolve_flashinfer_autotune_file, no vLLM-side identity
(config hash, flashinfer version, arch) is folded into the path: the
managed store keys entries per op and hashes the software/hardware
environment itself. None selects FlashInfer's default root.
Source code in vllm/model_executor/warmup/flashinfer_autotune_cache.py
resolve_rank_flashinfer_autotune_file(runner)
¶
The per-rank variant of :func:resolve_flashinfer_autotune_file.