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
d9dc8e56
Unverified
Commit
d9dc8e56
authored
Mar 02, 2024
by
Casper
Committed by
GitHub
Mar 02, 2024
Browse files
Fix double bias (#383)
parent
68c727a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
awq/modules/linear/gemm.py
awq/modules/linear/gemm.py
+0
-1
No files found.
awq/modules/linear/gemm.py
View file @
d9dc8e56
...
...
@@ -253,7 +253,6 @@ class WQLinear_GEMM(nn.Module):
if
input_dtype
!=
torch
.
float16
:
out
=
out
.
to
(
dtype
=
input_dtype
)
out
=
out
+
self
.
bias
if
self
.
bias
is
not
None
else
out
return
out
.
reshape
(
out_shape
)
def
extra_repr
(
self
)
->
str
:
...
...
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