ColossalAI/colossalai/checkpoint_io
Gao, Ruiyuan e9032fb0b2
[colossalai/checkpoint_io/...] fix bug in load_state_dict_into_model; format error msg (#6020)
* fix bug in load_state_dict_into_model; format error msg

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

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

* Update utils.py

to support checking missing_keys

* Update general_checkpoint_io.py

fix bug in missing_keys error message

* retrigger tests

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-02 16:56:35 +08:00
..
__init__.py [MoE/ZeRO] Moe refactor with zero refactor (#5821) 2024-06-28 14:00:08 +08:00
checkpoint_io_base.py [lora] add lora APIs for booster, support lora for TorchDDP (#4981) 2024-04-28 10:51:27 +08:00
general_checkpoint_io.py [colossalai/checkpoint_io/...] fix bug in load_state_dict_into_model; format error msg (#6020) 2024-09-02 16:56:35 +08:00
hybrid_parallel_checkpoint_io.py [colossalai/checkpoint_io/...] fix bug in load_state_dict_into_model; format error msg (#6020) 2024-09-02 16:56:35 +08:00
index_file.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
moe_checkpoint.py [moe] implement tp 2024-08-01 10:06:59 +08:00
utils.py [colossalai/checkpoint_io/...] fix bug in load_state_dict_into_model; format error msg (#6020) 2024-09-02 16:56:35 +08:00