Conditions / example of DepSepConvolution fusion
@nvpohanh is already working on this.
Since Aug 22, 2023.
- Dominant language
- C++
- Stars
- 13.4k
- Forks
- 2.4k
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
https://docs.nvidia.com/deeplearning/tensorrt/developer-guide/index.html#fusion-types says:
Depthwise Separable Convolution
A depthwise convolution with activation followed by a convolution with activation may sometimes be fused into a single optimized DepSepConvolution layer. The precision of both convolutions must be INT8 and the device's computes capability must be 7.2 or later.
Are there any other conditions? What types of activations are admissible?
Is there example of fusable graphs? (this is important especially given that convs must already be int8)
There is almost no example or mentions of DepSepConvolution/TRT in Google Search.
Wonder about constraints of Q-DQ and qparams.
Thank you :)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.