← 返回事件
持续讨论AI发版0.1

trunk/652012a9e9691c0ecb931df78f17f323f6fe3cde: Disable shape padding in test_slice_scatter_reinplace (#197997)

发生了什么

test_slice_scatter_reinplace asserts that inductor generates exactly one kernel, to show the slice_scatter into the cache was reinplaced. The model also runs a matmul whose bmm has a 33-column operand, and pad_mm decides whether to pad it to 36 columns by timing the padded and unpadded bmm at compile time and padding when the padded one looks more than 1.1x faster. At these sizes each timed call takes well under 0.1…

摘要按规则整理自下方来源原文

为什么在扩散

来源