ColossalAI/colossalai/engine/ophooks
ver217 014bac0c49
[zero] hijack p.grad in sharded model (#554)
* hijack p.grad in sharded model

* polish comments

* polish comments
2022-03-30 18:14:50 +08:00
..
__init__.py [zero] adapt for no-leaf module in zero (#535) 2022-03-28 17:42:18 +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 [zero] hijack p.grad in sharded model (#554) 2022-03-30 18:14:50 +08:00