Skip to content
Merged
Changes from all commits
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
4 changes: 4 additions & 0 deletions vllm/model_executor/warmup/cutedsl_warmup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
from dataclasses import dataclass

import torch
from tqdm import tqdm

from vllm.distributed import is_global_first_rank
from vllm.logger import init_logger
from vllm.platforms import current_platform
from vllm.tracing import instrument
Expand Down Expand Up @@ -76,6 +78,8 @@ def _compile_cutedsl_warmup_units(
compile_units: Iterable[CuTeDSLCompileUnit],
) -> int:
compiled = 0
if is_global_first_rank():
compile_units = tqdm(compile_units, desc="Compiling CuTeDSL kernels")
with torch.inference_mode():
for unit in compile_units:
unit.compile()
Expand Down
Loading