We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0511272 commit 3f12ae9Copy full SHA for 3f12ae9
python/paddle/distributed/communication/group.py
@@ -242,7 +242,7 @@ def get_group(id: int = 0) -> Group:
242
243
def _sync_calc_stream(tensor):
244
if framework.in_dynamic_mode():
245
- return paddle._legacy_C_ops.c_sync_calc_stream(tensor, tensor)
+ return paddle._C_ops.sync_calc_stream(tensor)
246
else:
247
op_type = 'c_sync_calc_stream'
248
helper = framework.LayerHelper(op_type, **locals())
0 commit comments