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
SIYIXNI
vllm
Commits
0c48b37c
"test/old-api/parsertests.cpp" did not exist on "0d41a7de7cb216b908cc14e9e15d17e4e7f077a2"
Unverified
Commit
0c48b37c
authored
Feb 13, 2024
by
Philipp Moritz
Committed by
GitHub
Feb 13, 2024
Browse files
Fix internlm after
https://github.com/vllm-project/vllm/pull/2860
(#2861)
parent
7eacffd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/model_executor/models/llama.py
vllm/model_executor/models/llama.py
+2
-1
No files found.
vllm/model_executor/models/llama.py
View file @
0c48b37c
...
...
@@ -175,7 +175,8 @@ class LlamaDecoderLayer(nn.Module):
self
.
self_attn
=
LlamaAttention
(
hidden_size
=
self
.
hidden_size
,
num_heads
=
config
.
num_attention_heads
,
num_kv_heads
=
config
.
num_key_value_heads
,
num_kv_heads
=
getattr
(
config
,
"num_key_value_heads"
,
config
.
num_attention_heads
),
rope_theta
=
rope_theta
,
rope_scaling
=
rope_scaling
,
max_position_embeddings
=
max_position_embeddings
,
...
...
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