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
04633c47
Commit
04633c47
authored
Aug 08, 2024
by
zhuwenwen
Browse files
fix awq index of qwen
parent
708d897e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/qwen.py
vllm/model_executor/models/qwen.py
+1
-1
No files found.
vllm/model_executor/models/qwen.py
View file @
04633c47
...
@@ -350,7 +350,7 @@ class QWenLMHeadModel(nn.Module):
...
@@ -350,7 +350,7 @@ class QWenLMHeadModel(nn.Module):
weight
.
data
=
weight
.
data
.
reshape
(
ori_shape
[
1
],
-
1
)
weight
.
data
=
weight
.
data
.
reshape
(
ori_shape
[
1
],
-
1
)
if
self
.
quant_method
==
"awq"
:
if
self
.
quant_method
==
"awq"
:
from
lmslim
import
quant_ops
as
_ops
from
lmslim
import
quant_ops
as
_ops
lay_key_words
=
[
lay_key_words
=
[
"attn.c_attn.qweight"
,
"attn.c_attn.qweight"
,
...
...
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