[S362716] turn off constant folding (#108389)
Summary: Constant folding is using a lot of memory and is causing OOM. Turn if off in fbcode. Also filed an issue https://github.com/pytorch/pytorch/issues/108388
Test Plan: Cloned a failed job and it's working now
Differential Revision: D48871102
Pull Request resolved: https://github.com/pytorch/pytorch/pull/108389
Approved by: https://github.com/eellison