mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-11 05:49:55 +00:00
[misc] update pre-commit and run all files (#4752)
* [misc] update pre-commit * [misc] run pre-commit * [misc] remove useless configuration files * [misc] ignore cuda for clang-format
This commit is contained in:
@@ -16,6 +16,5 @@ class ZeROGradientHandler(BaseGradientHandler):
|
||||
"""
|
||||
|
||||
def handle_gradient(self):
|
||||
"""A method running a all-reduce operation in a data parallel group.
|
||||
"""
|
||||
"""A method running a all-reduce operation in a data parallel group."""
|
||||
self._optimizer.sync_grad()
|
||||
|
Reference in New Issue
Block a user