mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-28 04:55:25 +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:
@@ -23,6 +23,7 @@ def torch_nn_normalize(self, input):
|
||||
|
||||
try:
|
||||
import apex
|
||||
|
||||
meta_patched_module.register(apex.normalization.FusedLayerNorm)(torch_nn_normalize)
|
||||
meta_patched_module.register(apex.normalization.FusedRMSNorm)(torch_nn_normalize)
|
||||
meta_patched_module.register(apex.normalization.MixedFusedLayerNorm)(torch_nn_normalize)
|
||||
|
Reference in New Issue
Block a user