Skip to content

Commit f686d01

Browse files
authored
Print input ID's corresponding input shape after each run (#643)
1 parent 05b62ca commit f686d01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tritonbench/utils/triton_op.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,9 @@ def _reduce_benchmarks(acc, bm_name: str):
11351135
_reduce_benchmarks, benchmarks, {}
11361136
)
11371137
metrics.append((x_val, y_vals))
1138+
logger.warning(
1139+
f"Completed input ID {input_id}:\n{table}",
1140+
)
11381141
self._cur_backend_name = None
11391142
del self.example_inputs # save some memory
11401143
if "proton" in self.required_metrics:

0 commit comments

Comments
 (0)