turn back on constant folding in fbcode (#108604)

Differential Revision: [D49020794](https://our.internmc.facebook.com/intern/diff/D49020794)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/108604
Approved by: https://github.com/davidberard98, https://github.com/mlazos
This commit is contained in:
eellison 2023-10-03 19:01:33 +00:00 committed by PyTorch MergeBot
parent efb73fe8e4
commit dd95eaaf1a

View File

@ -195,8 +195,7 @@ def is_fbcode():
# constant folding on the joint graph
# Turn off constant folding due to issue #108388
joint_graph_constant_folding = not is_fbcode()
joint_graph_constant_folding = True
# Enable indirect_indexing asserts for decompositions and lowerings
debug_index_asserts = False