ColossalAI/colossalai/context
Season 7ef91606e1
[Fix]: implement thread-safety singleton to avoid deadlock for very large-scale training scenarios (#5625)
* implement thread-safety singleton

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* refactor singleton implementation

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-25 14:45:52 +08:00
..
__init__.py [moe] merge moe into main (#4978) 2023-11-02 02:21:24 +00:00
config.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
singleton_meta.py [Fix]: implement thread-safety singleton to avoid deadlock for very large-scale training scenarios (#5625) 2024-04-25 14:45:52 +08:00