Be more conservative about propagating constants. (#83648)
If a constant would turn into something large, don't keep
it as a constant, just drop it.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/83648
Approved by: https://github.com/eellison