mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
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:
parent
efb73fe8e4
commit
dd95eaaf1a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user