mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-31 18:07:05 +08:00
[Misc] Avoid cuda graph log when sizes still match (#18202)
Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
parent
92540529c0
commit
e3f3aee6f4
@ -3950,11 +3950,12 @@ class CompilationConfig:
|
||||
self.cudagraph_capture_sizes = cudagraph_capture_sizes
|
||||
else:
|
||||
# de-duplicate the sizes provided by the config
|
||||
self.cudagraph_capture_sizes = list(
|
||||
set(self.cudagraph_capture_sizes))
|
||||
logger.info(("cudagraph sizes specified by model runner"
|
||||
" %s is overridden by config %s"),
|
||||
cudagraph_capture_sizes, self.cudagraph_capture_sizes)
|
||||
dedup_sizes = list(set(self.cudagraph_capture_sizes))
|
||||
if len(dedup_sizes) < len(self.cudagraph_capture_sizes):
|
||||
logger.info(("cudagraph sizes specified by model runner"
|
||||
" %s is overridden by config %s"),
|
||||
cudagraph_capture_sizes, dedup_sizes)
|
||||
self.cudagraph_capture_sizes = dedup_sizes
|
||||
|
||||
computed_compile_sizes = []
|
||||
if self.compile_sizes is not None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user