Skip to content

Commit dbcc122

Browse files
WoosukKwonjimpang
authored and
jimpang
committed
[Fix] Fissertion on YaRN model len (vllm-project#2984)
1 parent fe2b6f3 commit dbcc122

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)