Skip to content

Commit 233d68b

Browse files
authored
keep input mutations in the joint graph (#32)
1 parent 1af2a14 commit 233d68b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoparallel/export_module.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def forward(self, *args, **kwargs):
120120
no_tangents=False,
121121
pre_dispatch=pre_dispatch,
122122
dynamic_shapes=dynamic_shapes,
123+
keep_input_mutations=True,
123124
kwargs=kwargs,
124125
)
125126

0 commit comments

Comments
 (0)