-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Misc] Add uninitialized params tracking for AutoWeightsLoader
#10327
Conversation
Signed-off-by: Isotr0py <2037008807@qq.com>
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
This pull request has merge conflicts that must be resolved before it can be |
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the QoL improvement!
Hmm. not sure whether we're being too strict or is the weight loader buggy? |
Signed-off-by: Isotr0py <2037008807@qq.com>
Hmmm, seems that Perhaps we should add the loading check on top of |
Agreed, let's move the weight loading check to a higher level. |
Signed-off-by: Isotr0py <2037008807@qq.com>
Since we may skip loading some layers in vision models / PP case, we should update the check to error out when weights inside the initialized model aren't loaded, rather than when some weights from the checkpoint aren't loaded. |
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
…m-project#10327) Signed-off-by: Isotr0py <2037008807@qq.com> Signed-off-by: Linkun Chen <lkchen+anyscale@github.com>
I found that this PR causes speculative tests to fail on main. PTAL @Isotr0py |
…m-project#10327) Signed-off-by: Isotr0py <2037008807@qq.com>
…m-project#10327) Signed-off-by: Isotr0py <2037008807@qq.com>
…m-project#10327) Signed-off-by: Isotr0py <2037008807@qq.com> Signed-off-by: Maxime Fournioux <55544262+mfournioux@users.noreply.github.com>
…m-project#10327) Signed-off-by: Isotr0py <2037008807@qq.com> Signed-off-by: rickyx <rickyx@anyscale.com>
…m-project#10327) Signed-off-by: Isotr0py <2037008807@qq.com> Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com>
…m-project#10327) Signed-off-by: Isotr0py <2037008807@qq.com>
…m-project#10327) Signed-off-by: Isotr0py <2037008807@qq.com>
Currently, model have uninitialized parameters won't raise any error even a warning message. This makes some bugs like #10297 (comment) and #9422 (comment) caused by incorrect weights loading/model initialization difficult to be found.
AutoWeightsLoader
.