mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-05 02:51:59 +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:
@@ -15,7 +15,7 @@ from colossalai.legacy.utils import clip_grad_norm_fp32
|
||||
|
||||
|
||||
class ApexAMPOptimizer(OptimizerWrapper):
|
||||
""" A wrapper class for APEX optimizer and it implements apex-specific backward and clip_grad_norm
|
||||
"""A wrapper class for APEX optimizer and it implements apex-specific backward and clip_grad_norm
|
||||
methods
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user