ColossalAI
ColossalAI copied to clipboard
[BUG]: Size mismatch is ignored when loading checkpoint
🐛 Describe the bug
In this code block, when size mismatch occurs, no error message is printed.
Fix: RuntimeError should be raise when len(error_msgs) > 0
Environment
No response