Skip to content

Commit

Permalink
reset
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbuphy committed Dec 29, 2022
1 parent f4ceae6 commit 852b93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/fluid/dygraph/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ def __init__(

assert (
in_dygraph_mode()
), "It's not supported to construct DataParallel in static mode."
), "It's not supported to construct DataParallel in static graph mode."

self._layers = layers
self.find_unused_parameters = find_unused_parameters
Expand Down

0 comments on commit 852b93a

Please sign in to comment.