Skip to content

Commit 900f276

Browse files
authored
Update semi_auto_parallel_sharding_stage_1.py
1 parent 3f37c2a commit 900f276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/auto_parallel/semi_auto_parallel_sharding_stage_1.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def test_sharding_stage_1_overlap_to_static(self):
175175

176176
def test_pure_sharding_multi_mesh_stage_1_with_inplace_master_grad(self):
177177
def run_sharding_test(enable_inplace_master_grad):
178-
os.environ['FLAGS_enable_inplace_master_grad'] = (
178+
os.environ['FLAGS_enable_tensor_fusion'] = (
179179
'1' if enable_inplace_master_grad else '0'
180180
)
181181
paddle.distributed.auto_parallel.set_mesh(self._multi_dim_mesh)

0 commit comments

Comments
 (0)