pytorch
432df718 - [inductor] added a config to always add tensor constants (#110491)

Commit
1 year ago
[inductor] added a config to always add tensor constants (#110491) Summary: In some scenarios, we want to update constants at runtime. In such cases, we have to keep the original constants in the generated code without applying any constant-inlining optimizations. This PR adds a config to force us to add tensor constants. Differential Revision: D49895154 Pull Request resolved: https://github.com/pytorch/pytorch/pull/110491 Approved by: https://github.com/mikekgfb
Author
Committer
Parents
Loading