Autocast and Weak Typing #3869
narendasan
started this conversation in
RFCs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TL;DR
Weak typing behavior in TensorRT is deprecated. However it is a good way to maximize performance, Therefore we want to create similar PyTorch native system to use with Torch-TensorRT that recovers some of this behavior.
Goal(s)
An automatic pass that users can opt into which will apply autocasting w.r.t. TRT's perfered ruleset.
Usecases
Proposed APIs / UX
Example Workflow
Limitations
Internal Implementation
Design
Extensions Required to Core API implementations
Data Structures
Details specific for TorchScript Support
Details specific for FX support
Implementation Phases
Prototype -
MVP
(<TARGET RELEASE VERSION>)
Extension Phase 1
(<TARGET RELEASE VERSION>)
Extension Phase 2
(<TARGET RELEASE VERSION>)
Beta Was this translation helpful? Give feedback.
All reactions