triton icon indicating copy to clipboard operation
triton copied to clipboard

convolution sample

Open leiwen83 opened this issue 2 years ago • 2 comments

Hi,

Is there conv2d and transposed conv2d sample for triton?

Thx,

leiwen83 avatar Oct 13 '22 09:10 leiwen83

There is no conv2d sample right now, but torch-inductor may have one? (the triton compiler doesn't do a very good job on it though -- we'll look into that in a few months)

ptillet avatar Oct 14 '22 18:10 ptillet

https://github.com/pytorch/torchdynamo/blob/main/torchinductor/triton_ops/conv.py https://github.com/pytorch/torchdynamo/blob/main/torchinductor/triton_ops/conv1x1.py

Jokeren avatar Oct 14 '22 19:10 Jokeren

Has there been any progress on identifying why the compiler doesn't do a great job on the convolutional kernels yet? Also curious if there are any new reference samples on convolutional kernels in Triton.

georgemorgan avatar Feb 23 '23 00:02 georgemorgan

same question! :) @ptillet

RuABraun avatar Mar 14 '23 02:03 RuABraun

the support of conv have some questions , conv ops has been deleted in pytorch repo right now. The history version can't run rightly.

huang-hz avatar Nov 14 '23 03:11 huang-hz

@huang-hz It has been moved to here: https://github.com/pytorch/pytorch/blob/main/torch/_inductor/kernel/conv.py

krishvishal avatar Dec 12 '23 14:12 krishvishal