Back out "Back out "[ONNX] Process const folding progressively when converts to ONNX (#54569)"" (#58923)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58923
Original commit changeset: c54597b2048e
ghstack-source-id: 129842041
Test Plan: Sandcastle and OSS CI.
Reviewed By: snisarg
Differential Revision: D28432555
fbshipit-source-id: 2a9ec22cc004c7c6979f1cc8f3124b833cdc6634