ColossalAI/colossalai/utils/model
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
..
__init__.py fix import error (#880) 2022-04-26 19:28:40 +08:00
colo_init_context.py [ColoTensor] rename APIs and add output_replicate to ComputeSpec (#1168) 2022-06-24 13:08:54 +08:00
lazy_init_context.py [context]use meta tensor to init model lazily. (#1187) 2022-06-29 21:02:30 +08:00
utils.py [context]use meta tensor to init model lazily. (#1187) 2022-06-29 21:02:30 +08:00