flash-fft-conv icon indicating copy to clipboard operation
flash-fft-conv copied to clipboard

Can FlashFFTConv be used for Conv2d on PyTorch?

Open nam-drun opened this issue 1 year ago • 6 comments

nam-drun avatar Feb 21 '24 17:02 nam-drun

Not yet, but it's something we're very interested in looking into soon.

To help us target better - what models do you want to use it for? Are they depthwise or grouped convolutions, and what are the filter sizes?

DanFu09 avatar Feb 26 '24 20:02 DanFu09

Just normal Conv3x3-conv and I noticed the paper didn't say anything about really small filter size. I plan to use it in U-Net Diffusion

nam-drun avatar Feb 28 '24 12:02 nam-drun

Not yet, but it's something we're very interested in looking into soon.

To help us target better - what models do you want to use it for? Are they depthwise or grouped convolutions, and what are the filter sizes?

Hello, will normal conv3x3 and (conv3x3 where group size = 4) be compatible with FlashFFTConv?

nam-drun avatar Jun 11 '24 03:06 nam-drun

The 3x3 wouldn't be a great use case right now - we specialize for really long filters (size on the order of the input image).

DanFu09 avatar Jun 11 '24 21:06 DanFu09

The 3x3 wouldn't be a great use case right now - we specialize for really long filters (size on the order of the input image).

There is not any Conv2d application? So, I must encode the data to tokens like attention if I want to use it on CV?

nianliu26 avatar Sep 26 '24 10:09 nianliu26

That's correct, we don't have a Conv2D implemented right now.

DanFu09 avatar Sep 26 '24 19:09 DanFu09