Skip to content

Commit 4aca6a7

Browse files
[Minor][Inductor] move some combo kernel log from warning to debug (pytorch#167020)
[Minor][Inductor] move some combo kernel log from warning to debug (pytorch#166993) Combo kernel warns for long reduction and large pointwise. This becomes too spammy for users such as vLLM. This PR moves these logs from warn to debug. I validated the spammy log is removed on llama-3.1-8B. Pull Request resolved: pytorch#166993 Approved by: https://github.com/zou3519, https://github.com/eellison (cherry picked from commit e020fb3) Co-authored-by: Boyuan Feng <[email protected]>
1 parent 6bc3d6f commit 4aca6a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch/_inductor/codegen/triton_combo_kernel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def _default_custom_combo_kernel_horizontal_partition(
9494
]
9595
short_reduction = [n for n in reduction if n not in long_reduction]
9696
if long_reduction:
97-
log.warning(
97+
log.debug(
9898
"ComboKernels: %d long reduction nodes are separated",
9999
len(long_reduction),
100100
)
@@ -107,7 +107,7 @@ def _default_custom_combo_kernel_horizontal_partition(
107107
]
108108
if large_pointwise:
109109
# TODO benchmark the performance when large pointwise nodes combining with others
110-
log.warning(
110+
log.debug(
111111
"ComboKernels: %d large pointwise nodes are separated",
112112
len(large_pointwise),
113113
)

0 commit comments

Comments
 (0)