Commit b6f346b
fix(rtx): add WAR to fall back grouped 3D deconvolutions to PyTorch
Grouped 3D transposed convolutions (ConvTranspose3d with groups > 1)
crash on TensorRT-RTX. This adds a convolution_capability_validator
that detects these ops and rejects them from TRT conversion, causing
the partitioner to keep them in PyTorch while other ops remain on TRT.
Also renames depthwise_bf16_validator to convolution_capability_validator
to reflect its broader scope, and removes the blanket skip on all 3D
deconv tests — non-grouped cases now run through TRT on RTX.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent df261d5 commit b6f346b
3 files changed
Lines changed: 84 additions & 17 deletions
File tree
- py/torch_tensorrt/dynamo/conversion
- tests/py/dynamo
- conversion
- models
Lines changed: 30 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2754 | 2754 | | |
2755 | 2755 | | |
2756 | 2756 | | |
2757 | | - | |
| 2757 | + | |
2758 | 2758 | | |
2759 | 2759 | | |
2760 | | - | |
| 2760 | + | |
2761 | 2761 | | |
2762 | | - | |
2763 | | - | |
2764 | | - | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
2765 | 2765 | | |
2766 | 2766 | | |
2767 | 2767 | | |
2768 | | - | |
2769 | | - | |
2770 | | - | |
2771 | | - | |
| 2768 | + | |
| 2769 | + | |
2772 | 2770 | | |
| 2771 | + | |
2773 | 2772 | | |
2774 | | - | |
2775 | | - | |
2776 | | - | |
2777 | | - | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
| 2785 | + | |
| 2786 | + | |
| 2787 | + | |
| 2788 | + | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
| 2792 | + | |
2778 | 2793 | | |
2779 | 2794 | | |
2780 | 2795 | | |
2781 | 2796 | | |
2782 | 2797 | | |
2783 | 2798 | | |
| 2799 | + | |
2784 | 2800 | | |
2785 | 2801 | | |
2786 | 2802 | | |
2787 | 2803 | | |
2788 | 2804 | | |
2789 | | - | |
| 2805 | + | |
2790 | 2806 | | |
2791 | 2807 | | |
2792 | 2808 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 230 | | |
234 | 231 | | |
235 | 232 | | |
| |||
241 | 238 | | |
242 | 239 | | |
243 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
0 commit comments