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
42ffba11
Unverified
Commit
42ffba11
authored
Sep 11, 2024
by
Woosuk Kwon
Committed by
GitHub
Sep 11, 2024
Browse files
[Misc] Use RoPE cache for MRoPE (#8396)
parent
295c4730
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/layers/rotary_embedding.py
vllm/model_executor/layers/rotary_embedding.py
+1
-1
No files found.
vllm/model_executor/layers/rotary_embedding.py
View file @
42ffba11
...
...
@@ -990,7 +990,7 @@ def get_rope(
base
,
is_neox_style
,
dtype
,
short_factor
,
long_factor
,
**
extra_kwargs
)
elif
scaling_type
==
"mrope"
:
r
eturn
MRotaryEmbedding
(
r
otary_emb
=
MRotaryEmbedding
(
head_size
,
rotary_dim
,
max_position
,
...
...
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