mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-09 04:50:17 +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:
@@ -28,7 +28,7 @@ def conditional_context(context_manager, enable=True):
|
||||
|
||||
|
||||
def is_ddp_ignored(p):
|
||||
return getattr(p, '_ddp_to_ignore', False)
|
||||
return getattr(p, "_ddp_to_ignore", False)
|
||||
|
||||
|
||||
def disposable(func: Callable) -> Callable:
|
||||
|
Reference in New Issue
Block a user