↔ [Converter] Add Dynamo converters for all Elementwise ATen Operators #2127
Labels
component: dynamo
Issues relating to the `torch.compile` or `torch._dynamo.export` paths
No Activity
Story: ATen Op Support
Story: Export/Compile Unification
Issues relating to unification of Dynamo compile/export paths
Context
The existing FX operators use different implementations for the elementwise operators than Dynamo does. Specifically, many networks mix Int and Float types for additions, subtractions, multiplications, etc. These tend to cause errors when using the FX converters.
Proposal
Reimplement a light wrapper over each of the elementwise operators in ATen to use the Dynamo implementation of ATen, featured in #2070. Update relevant imports.
Once implemented, remove the following:
TensorRT/tests/py/dynamo/converters/test_binary_ops_aten.py
Line 80 in 7d9705d
The text was updated successfully, but these errors were encountered: