Skip to content

Commit 3f12ae9

Browse files
committed
Fix
1 parent 0511272 commit 3f12ae9

File tree

1 file changed

+1
-1
lines changed
  • python/paddle/distributed/communication

1 file changed

+1
-1
lines changed

python/paddle/distributed/communication/group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def get_group(id: int = 0) -> Group:
242242

243243
def _sync_calc_stream(tensor):
244244
if framework.in_dynamic_mode():
245-
return paddle._legacy_C_ops.c_sync_calc_stream(tensor, tensor)
245+
return paddle._C_ops.sync_calc_stream(tensor)
246246
else:
247247
op_type = 'c_sync_calc_stream'
248248
helper = framework.LayerHelper(op_type, **locals())

0 commit comments

Comments
 (0)