Skip to content

Commit 1a10751

Browse files
ColinPepplerpytorchmergebot
authored andcommitted
[AOTI][Tooling] Filter out kernels based off lowercase names (pytorch#135395)
Pull Request resolved: pytorch#135395 Approved by: https://github.com/YUNQIUGUO
1 parent 0c936c3 commit 1a10751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_inductor/codegen/debug_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def codegen_intermediate_tensor_value_print(
231231
# check if filtered kernel name list is provided
232232
if (
233233
len(self.filtered_kernel_names_to_print) > 0
234-
and kernel_name not in self.filtered_kernel_names_to_print
234+
and kernel_name.lower() not in self.filtered_kernel_names_to_print
235235
):
236236
continue
237237

0 commit comments

Comments
 (0)