• YuliangLiu0306's avatar
    [context]use meta tensor to init model lazily. (#1187) · 2053e138
    YuliangLiu0306 authored
    * [CLI] add CLI launcher
    
    * Revert "[CLI] add CLI launcher"
    
    This reverts commit df7e6506d4500af6a9220ef7fe4d3c7b1daebd4c.
    
    * [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.
    2053e138
test_lazy_init_ctx.py 585 Bytes