You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ColossalAI/colossalai/engine/ophooks
ver217 9506a8beb2
use double buffer to handle grad
3 years ago
..
__init__.py [zero] Update sharded model v2 using sharded param v2 (#323) 3 years ago
_base_ophook.py add pytorch hooks (#179) 3 years ago
_memtracer_ophook.py Flake8 code restyle 3 years ago
_shard_grad_ophook.py [zero] add sharded grad and refactor grad hooks for ShardedModel (#287) 3 years ago
_shard_param_ophook.py fix sharded param hook and unit test 3 years ago
zero_hook.py use double buffer to handle grad 3 years ago