triton
triton copied to clipboard
convolution sample
Hi,
Is there conv2d and transposed conv2d sample for triton?
Thx,
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)
https://github.com/pytorch/torchdynamo/blob/main/torchinductor/triton_ops/conv.py https://github.com/pytorch/torchdynamo/blob/main/torchinductor/triton_ops/conv1x1.py
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.
same question! :) @ptillet
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 It has been moved to here: https://github.com/pytorch/pytorch/blob/main/torch/_inductor/kernel/conv.py