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
66adba4a
Unverified
Commit
66adba4a
authored
Dec 23, 2023
by
Casper
Committed by
GitHub
Dec 23, 2023
Browse files
Set default rope_theta on LlamaLikeBlock (#271)
parent
cef9f113
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 @
66adba4a
...
...
@@ -43,7 +43,7 @@ class LlamaLikeBlock(nn.Module):
"""
def
__init__
(
self
,
hidden_size
,
n_heads
,
n_kv_heads
,
qkv_layer
,
o_proj
,
mlp
,
norm_1
,
norm_2
,
dev
,
max_seq_len
,
rope_theta
,
use_alibi
=
False
mlp
,
norm_1
,
norm_2
,
dev
,
max_seq_len
,
rope_theta
=
10000
,
use_alibi
=
False
):
super
().
__init__
()
self
.
n_heads
=
n_heads
...
...
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