Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix] Fix Phi-3 Long RoPE scaling implementation #5628

Merged
merged 4 commits into from
Jun 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix extra line
  • Loading branch information
ShukantPal authored Jun 18, 2024
commit c9ad1a8a7d3e3a0c3853108b6709be8aa0989297
1 change: 0 additions & 1 deletion vllm/model_executor/layers/rotary_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,6 @@ def __init__(
self.max_position_embeddings / self.original_max_position_embeddings
)


if scale <= 1.0:
self.scaling_factor = 1.0
else:
Expand Down
Loading