Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
fairscale
Commits
8c79a559
Unverified
Commit
8c79a559
authored
Jun 24, 2022
by
Hugo van Kemenade
Committed by
GitHub
Jun 24, 2022
Browse files
Replace deprecated logging.warn with logging.warning (#1016)
parent
a1cc3874
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fairscale/nn/data_parallel/fully_sharded_data_parallel.py
fairscale/nn/data_parallel/fully_sharded_data_parallel.py
+1
-1
No files found.
fairscale/nn/data_parallel/fully_sharded_data_parallel.py
View file @
8c79a559
...
...
@@ -371,7 +371,7 @@ class FullyShardedDataParallel(nn.Module):
# the world size and reduce scatter process group size are differnt.
if
self
.
world_size
!=
reduce_scatter_group_size
:
self
.
process_group_reduce_scatter
=
self
.
process_group
logging
.
warn
(
logging
.
warn
ing
(
"Rolled back to use the default process group for the reduce scatter "
"operation because the reduce_scatter process group "
f
"size is
{
reduce_scatter_group_size
}
, which is different with the "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment