mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-08-25 19:21:17 +00:00
* [fx] change memory.py to memory_utils.py. * [fx] add shard utils. * [fx] fix import. * [fx] check code style. * [fx] add comment. * [autoparallel] first move. * [fx] add time computations.
6 lines
282 B
Python
6 lines
282 B
Python
from .profiler import profile_function, profile_method, profile_module
|
|
from .profiler_function import *
|
|
from .profiler_module import *
|
|
from .registry import meta_profiler_function, meta_profiler_module
|
|
from .shard_utils import calculate_fwd_in, calculate_fwd_out, calculate_fwd_tmp
|