Unverified Commit 8c79a559 authored by Hugo van Kemenade's avatar Hugo van Kemenade Committed by GitHub
Browse files

Replace deprecated logging.warn with logging.warning (#1016)

parent a1cc3874
...@@ -371,7 +371,7 @@ class FullyShardedDataParallel(nn.Module): ...@@ -371,7 +371,7 @@ class FullyShardedDataParallel(nn.Module):
# the world size and reduce scatter process group size are differnt. # the world size and reduce scatter process group size are differnt.
if self.world_size != reduce_scatter_group_size: if self.world_size != reduce_scatter_group_size:
self.process_group_reduce_scatter = self.process_group self.process_group_reduce_scatter = self.process_group
logging.warn( logging.warning(
"Rolled back to use the default process group for the reduce scatter " "Rolled back to use the default process group for the reduce scatter "
"operation because the reduce_scatter process group " "operation because the reduce_scatter process group "
f"size is {reduce_scatter_group_size}, which is different with the " f"size is {reduce_scatter_group_size}, which is different with the "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment