Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
53e6552f
".github/vscode:/vscode.git/clone" did not exist on "bdb2449ddca40e3d49cbb1a29611d76052f40338"
Unverified
Commit
53e6552f
authored
Jan 17, 2025
by
Ke Bao
Committed by
GitHub
Jan 17, 2025
Browse files
Fix qwen accuracy issue (#2945)
parent
5dc54f1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
python/sglang/srt/models/qwen2.py
python/sglang/srt/models/qwen2.py
+0
-2
No files found.
python/sglang/srt/models/qwen2.py
View file @
53e6552f
...
...
@@ -356,8 +356,6 @@ class Qwen2ForCausalLM(nn.Module):
break
else
:
# Skip loading extra bias for GPTQ models.
if
"lm_head.weight"
in
name
:
continue
if
name
.
endswith
(
".bias"
)
and
name
not
in
params_dict
:
continue
param
=
params_dict
[
name
]
...
...
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