Skip to content

Commit

Permalink
Get rid of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenroller committed May 11, 2022
1 parent ac5e712 commit 1915531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fairscale/nn/data_parallel/fully_sharded_data_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def __init__(
module: nn.Module,
process_group: Optional[ProcessGroup] = None,
# The type for the process_group_reduce_scatter only can be either ProcessGroup or ProcessGroupName
process_group_reduce_scatter: Any = ProcessGroupName.reduce_scatter,
process_group_reduce_scatter: Any = ProcessGroupName.default,
reshard_after_forward: bool = True,
disable_reshard_on_root: bool = True,
mixed_precision: bool = False,
Expand Down

0 comments on commit 1915531

Please sign in to comment.