ColossalAI/tests/test_utils
YuliangLiu0306 2053e138a2
[context]use meta tensor to init model lazily. (#1187)
* [CLI] add CLI launcher

* Revert "[CLI] add CLI launcher"

This reverts commit df7e6506d4.

* [context]use meta tensor to init model lazily.

* polish

* make module with device kwargs bypass the normal init.

* change unit test to adapt updated context.
2022-06-29 21:02:30 +08:00
..
test_checkpoint [pipeline] refactor the pipeline module (#1087) 2022-06-10 11:27:38 +08:00
test_activation_checkpointing.py [hotfix] fix bugs in testing (#659) 2022-04-02 21:58:47 +08:00
test_commons.py [gemini] add GeminiMemoryManger (#832) 2022-04-24 13:08:48 +08:00
test_lazy_init_ctx.py [context]use meta tensor to init model lazily. (#1187) 2022-06-29 21:02:30 +08:00
test_memory.py [test] ignore 8 gpu test (#1080) 2022-06-08 23:14:18 +08:00
test_zero_gradient_clippling.py [test] refactored with the new rerun decorator (#763) 2022-04-15 00:33:04 +08:00