Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Size mismatch is ignored when loading checkpoint #5492

Open
KimbingNg opened this issue Mar 22, 2024 · 0 comments 路 May be fixed by #5493
Open

[BUG]: Size mismatch is ignored when loading checkpoint #5492

KimbingNg opened this issue Mar 22, 2024 · 0 comments 路 May be fixed by #5493
Labels
bug Something isn't working

Comments

@KimbingNg
Copy link

馃悰 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

@KimbingNg KimbingNg added the bug Something isn't working label Mar 22, 2024
@KimbingNg KimbingNg linked a pull request Mar 22, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant