Skip to content

Commit

Permalink
[Bugfix] Fix invalid rotary embedding unit test (vllm-project#13431)
Browse files Browse the repository at this point in the history
Signed-off-by: Liangfu Chen <liangfc@amazon.com>
  • Loading branch information
liangfu authored Feb 18, 2025
1 parent d3231cb commit 3809458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kernels/test_rotary_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_rotary_embedding_opcheck(dist_init, device, max_position,
is_neox_style, rotary_dim, head_size,
seq_len):
batch_size = 1
base = 0
base = 10000
num_heads = 7
rot = RotaryEmbedding(head_size, rotary_dim, max_position, base,
is_neox_style, torch.float32)
Expand Down

0 comments on commit 3809458

Please sign in to comment.