Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion vllm_fl/worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,15 @@ def compile_or_warm_up_model(self) -> CompilationTimes:
### NOTE(lms): can add gems kernel pretune here
# Warmup and tune the kernels used during model execution before
# cuda graph capture.
kernel_warmup(self)
try:
kernel_warmup(self)
except ImportError:
# vllm 0.24.0's kernel_warmup unconditionally imports
# minimax_m3_msa_warmup, whose chain reaches torchvision.
# torchvision is not installed on OOT runtimes (installing it
# would overwrite the vendor-matched torch matrix); the warmup
# is a no-op for any model other than MiniMaxM3, so skip it.
logger.warning("kernel_warmup skipped: torchvision unavailable")
Comment thread
tengqm marked this conversation as resolved.
Outdated

cuda_graph_memory_bytes = 0
if self.vllm_config.compilation_config.cudagraph_mode != CUDAGraphMode.NONE:
Expand Down
Loading