Skip to content

Commit 1105c37

Browse files
delete warning (#78824) (#78825)
Co-authored-by: risemeup1 <62429225+risemeup1@users.noreply.github.com>
1 parent 0747a9d commit 1105c37

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • python/paddle/distributed/communication

python/paddle/distributed/communication/group.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,6 @@ def _is_global_group(group):
142142
def _warn_cur_rank_not_in_group(group):
143143
global_rank = dist.get_rank()
144144
if group and not group.is_member():
145-
warnings.warn(
146-
f"Current global rank {global_rank} is not in group {group.name}"
147-
)
148145
return True
149146
return False
150147

0 commit comments

Comments
 (0)