Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
eadb4e86
Unverified
Commit
eadb4e86
authored
Feb 09, 2026
by
Artus Krohn-Grimberghe
Committed by
GitHub
Feb 09, 2026
Browse files
[Bugfix] Avoid duplicate k-proj weight emission in helper (#34142)
Signed-off-by:
Artus KG
<
artuskg@gmail.com
>
parent
285bab47
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/model_executor/models/whisper.py
vllm/model_executor/models/whisper.py
+2
-2
No files found.
vllm/model_executor/models/whisper.py
View file @
eadb4e86
...
...
@@ -958,8 +958,8 @@ def _create_fake_bias_for_k_proj(
So that the bias for k_proj in qkv_proj can be initialized with zeros.
"""
for
name
,
weight
in
weights
:
yield
name
,
weight
if
name
.
endswith
(
fake_bias_key_name
):
bias
=
torch
.
zeros
(
weight
.
size
(
0
))
bias_name
=
name
.
replace
(
"weight"
,
"bias"
)
yield
from
[(
name
,
weight
),
(
bias_name
,
bias
)]
yield
name
,
weight
yield
bias_name
,
bias
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment