Repository navigation
Commit 80df2ee
authored
Phonon: overlap-add the depthwise upsample with padding (#25151)
Summary:
`DepthwiseConvTranspose1dAsMul`, the swap for the Mimi upsample's depthwise transposed convolution, added the two halves of each step's kernel by concatenating each with a zeros tensor. `new_zeros` lowers to `aten.full`, which XNNPACK left on the CPU. Padding each half with `F.pad` computes the same sum with `constant_pad_nd`, which XNNPACK, Vulkan and MLX lower.
XNNPACK no longer leaves `aten.full` undelegated in `mimi_decode`, and Vulkan still lowers `mimi_decode` as one partition.
Authored with Claude Code.
Differential Revision: D132441808
Pull Request resolved: #251511 parent f8907c1 commit 80df2ee
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
| 180 | + | |
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
| |||
0 commit comments