Skip to content

Commit f7c1234

Browse files
authored
[Fix] Fissertion on YaRN model len (#2984)
1 parent 57f0449 commit f7c1234

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

vllm/model_executor/layers/rotary_embedding.py

-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,6 @@ def get_rope(
354354
elif scaling_type == "yarn":
355355
original_max_position = rope_scaling[
356356
"original_max_position_embeddings"]
357-
assert max_position == original_max_position * scaling_factor
358357
extra_kwargs = {
359358
k: v
360359
for k, v in rope_scaling.items()

0 commit comments

Comments
 (0)