ColossalAI/colossalai/zero/utils
HELSON 1468e4bcfc
[zero] add constant placement policy (#1705)
* fixes memory leak when paramter is in fp16 in ZeroDDP init.
* bans chunk releasement in CUDA. Only when a chunk is about to offload, it is allowed to release.
* adds a constant placement policy. With it, users can allocate a reserved caching memory space for parameters.
2022-10-14 17:53:16 +08:00
..
__init__.py [gemini] init genimi individual directory (#754) 2022-04-14 16:40:26 +08:00
zero_hook.py [hotfix] remove potiential circle import (#1307) 2022-07-14 13:44:26 +08:00
zero_hook_v2.py [zero] add constant placement policy (#1705) 2022-10-14 17:53:16 +08:00