ColossalAI/colossalai/engine/ophooks
Jiarui Fang e956d93ac2
[refactor] memory utils (#577)
2022-04-01 09:22:33 +08:00
..
__init__.py [zero] adapt zero for unsharded parameters (#561) 2022-03-31 18:34:11 +08:00
_base_ophook.py add pytorch hooks (#179) 2022-01-25 22:20:54 +08:00
_memtracer_ophook.py Refactored docstring to google style 2022-03-29 17:17:47 +08:00
_shard_grad_ophook.py [zero] add sharded grad and refactor grad hooks for ShardedModel (#287) 2022-03-11 15:50:28 +08:00
_shard_param_ophook.py fix sharded param hook and unit test 2022-03-11 15:50:28 +08:00
zero_hook.py [refactor] memory utils (#577) 2022-04-01 09:22:33 +08:00