Repository navigation
[Fix] qwen3_5: Warn on unknown visual bias in load_weights (#44504) - #44571
Closed
devtyagi3909 wants to merge 5 commits into
Closed
devtyagi3909 wants to merge 5 commits into
devtyagi3909 wants to merge 5 commits into
Conversation
… skip to gptq (sgl-project#44504) load_weights silently swallowed unknown .bias weights on all checkpoints via if name.endswith(".bias") and name not in params_dict: continue, causing unrecognized vision bias weights to be dropped without warning while unknown weights logged a warning. check is_gptq = quant_config is not None and getattr(quant_config, "quant_method", None) == "gptq" and only silently skip extra biases when is_gptq and "visual" not in name. all other unknown parameters (including unknown vision bias weights) now emit a warning. add unit tests using _RecordingParam and mock named_parameters. Signed-off-by: DEV TYAGI <[email protected]>
devtyagi3909
force-pushed
the
fix/qwen35-vl-unknown-bias-warning
branch
from
October 15, 2026 20:17
4042ba6 to
fe2dd14
Compare
Author
|
fixed ruff import formatting and added test coverage for moe conditional generation as well. |
Signed-off-by: DEV TYAGI <[email protected]>
This comment has been minimized.
This comment has been minimized.
Contributor
|
Thanks @devtyagi3909. Closing this because you have 9 PRs open and none updated in 7 days, over our soft cap of 5 for idle PRs. Reopen the two or three you most want reviewed - a short active set moves faster than a long idle one. Some directories moved recently, so an older branch may need retargeting: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #44504
load_weights()silently swallowed unknown.biasweights on all checkpoints viaif name.endswith(".bias") and name not in params_dict: continue, causing unrecognized vision bias weights to be dropped without warning while unknown weights logged a warning.this checks
is_gptq = quant_config is not None and getattr(quant_config, "quant_method", None) == "gptq"and only silently skips extra biases whenis_gptq and "visual" not in name. all other unknown parameters (including unknown vision bias weights) now emit a warning. added unit tests using_RecordingParamand mock named_parameters intest/registered/unit/models/test_qwen3_5_pipeline_parallel.py.CI States
Latest PR Test (Base): ❌ Run #39473999460
Latest PR Test (Extra): ❌ Run #39473999062
Latest PR Test (AMD ROCm 10): ❌ Run #39473999100