Reorg for converters in (FX Converter Refactor [1/N]) by narendasan · Pull Request #1867 · pytorch/TensorRT

Description

Proposes reorganization of the converters to separate IR from implementation.

Introduces SourceIR enum to inform downstream tasks of any necessary special cases.

Note: This PR cannot be merged without child PRs updating uses of common_activation and add_activation to use the new method.

Type of change

Please delete options that are not relevant and/or add your own.

  • Refactor

Checklist:

  • My code follows the style guidelines of this project (You can use the linters)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas and hacks
  • I have made corresponding changes to the documentation
  • I have added tests to verify my fix or my feature
  • New and existing unit tests pass locally with my changes
  • I have added the relevant labels to my PR in so that relevant reviewers are notified