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
aaab103b
Unverified
Commit
aaab103b
authored
Oct 02, 2023
by
Casper
Committed by
GitHub
Oct 02, 2023
Browse files
Merge pull request #89 from casper-hansen/falcon_fix_kv_heads
Fix Falcon n_kv_heads parameter
parents
a4ea423d
80eea43e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
awq/modules/fused/block.py
awq/modules/fused/block.py
+1
-1
No files found.
awq/modules/fused/block.py
View file @
aaab103b
...
@@ -38,7 +38,7 @@ class FalconDecoderLayer(nn.Module):
...
@@ -38,7 +38,7 @@ class FalconDecoderLayer(nn.Module):
input_layernorm
=
None
,
ln_attn
=
None
,
ln_mlp
=
None
,
new_decoder_arch
=
True
):
input_layernorm
=
None
,
ln_attn
=
None
,
ln_mlp
=
None
,
new_decoder_arch
=
True
):
super
().
__init__
()
super
().
__init__
()
self
.
n_heads
=
n_heads
self
.
n_heads
=
n_heads
self
.
n_kv_heads
=
8
self
.
n_kv_heads
=
8
if
new_decoder_arch
else
0
self
.
hidden_size
=
hidden_size
self
.
hidden_size
=
hidden_size
self
.
new_decoder_arch
=
new_decoder_arch
self
.
new_decoder_arch
=
new_decoder_arch
...
...
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