mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-10 13:30:19 +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:
@@ -10,10 +10,10 @@ from colossalai.utils import _cast_float
|
||||
|
||||
from .memory_stats import MemStats
|
||||
|
||||
__all__ = ['RuntimeMemTracer']
|
||||
__all__ = ["RuntimeMemTracer"]
|
||||
|
||||
|
||||
class RuntimeMemTracer():
|
||||
class RuntimeMemTracer:
|
||||
"""RuntimeMemTracer for the module training using ColoParameter.
|
||||
|
||||
Trace non-model memory usage during fwd+bwd process.
|
||||
|
Reference in New Issue
Block a user