Skip to content

Commit 945fd20

Browse files
committed
Fix
1 parent fd8eb50 commit 945fd20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/auto_parallel/test_comm_cost.py

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def test_cross_machine_comm_cost(self):
143143
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
144144
paddle.float32,
145145
[1, 32 * (10**6)],
146+
{"reduce_type": paddle.distributed.ReduceOp.SUM},
146147
)
147148
allreduce_sum_op_cost = AllReduceOpCost(
148149
op_desc=allreduce_sum_op_desc, comm_context=comm_context

0 commit comments

Comments
 (0)