Repository navigation
Deduplicate FusedQKVLinear hooks and add HF adapter tests - #3728
Merged
Merged
Conversation
sdmyzlp
requested review from
fegin,
tianyu-l,
wconstab and
wwwjn
as code owners
June 21, 2026 05:01
|
|
fegin
approved these changes
Jun 22, 2026
Contributor
|
Please fix CI errors. |
Deduplicate weight/bias split and merge logic in
_merge_qkv_on_load and _split_qkv_on_save by iterating over
("weight", 4) and ("bias", 3) pairs.
Add test_hf_adapter_roundtrip verifying HF adapter consumes
hook-produced wq/wk/wv keys correctly for both llama3 and qwen3
fused debug models.
sdmyzlp
force-pushed
the
br_update_fused_qkv
branch
from
June 23, 2026 01:50
442be91 to
4cf5564
Compare
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.
Deduplicate weight/bias split and merge logic in
_merge_qkv_on_loadand_split_qkv_on_saveby iterating over ("weight", 4) and ("bias", 3) pairs.Add
test_hf_adapter_roundtripverifying HF adapter consumes hook-produced wq/wk/wv keys correctly for both llama3 and qwen3 fused debug models.