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
OpenDAS
AutoAWQ
Commits
5eb1d2f0
Unverified
Commit
5eb1d2f0
authored
Dec 08, 2023
by
jundolc
Committed by
GitHub
Dec 08, 2023
Browse files
Fixed an issue where the Qwen model had too much error after quantization (#243)
parent
5a673bf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
awq/models/qwen.py
awq/models/qwen.py
+1
-1
No files found.
awq/models/qwen.py
View file @
5eb1d2f0
...
@@ -26,7 +26,7 @@ class QwenAWQForCausalLM(BaseAWQForCausalLM):
...
@@ -26,7 +26,7 @@ class QwenAWQForCausalLM(BaseAWQForCausalLM):
layers
.
append
(
layers
.
append
(
dict
(
dict
(
prev_op
=
module
.
ln_1
,
prev_op
=
module
.
ln_1
,
layers
=
[
module
.
attn
.
c_attn
,
module
.
attn
.
c_proj
],
layers
=
[
module
.
attn
.
c_attn
],
inp
=
input_feat
[
"attn.c_attn"
],
inp
=
input_feat
[
"attn.c_attn"
],
module2inspect
=
module
.
attn
,
module2inspect
=
module
.
attn
,
kwargs
=
module_kwargs
,
kwargs
=
module_kwargs
,
...
...
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