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
38094584
Unverified
Commit
38094584
authored
Feb 18, 2025
by
Liangfu Chen
Committed by
GitHub
Feb 18, 2025
Browse files
[Bugfix] Fix invalid rotary embedding unit test (#13431)
Signed-off-by:
Liangfu Chen
<
liangfc@amazon.com
>
parent
d3231cb4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/kernels/test_rotary_embedding.py
tests/kernels/test_rotary_embedding.py
+1
-1
No files found.
tests/kernels/test_rotary_embedding.py
View file @
38094584
...
@@ -41,7 +41,7 @@ def test_rotary_embedding_opcheck(dist_init, device, max_position,
...
@@ -41,7 +41,7 @@ def test_rotary_embedding_opcheck(dist_init, device, max_position,
is_neox_style
,
rotary_dim
,
head_size
,
is_neox_style
,
rotary_dim
,
head_size
,
seq_len
):
seq_len
):
batch_size
=
1
batch_size
=
1
base
=
0
base
=
1000
0
num_heads
=
7
num_heads
=
7
rot
=
RotaryEmbedding
(
head_size
,
rotary_dim
,
max_position
,
base
,
rot
=
RotaryEmbedding
(
head_size
,
rotary_dim
,
max_position
,
base
,
is_neox_style
,
torch
.
float32
)
is_neox_style
,
torch
.
float32
)
...
...
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