Skip to content

Commit

Permalink
Merge pull request vllm-project#8 from Starmys/dev/chengzhang/phi3moe…
Browse files Browse the repository at this point in the history
…128k

Support Phi3SuScaledRotaryEmbedding for 128k model
  • Loading branch information
xiaoxiawu-microsoft authored May 28, 2024
2 parents c496520 + 95f21fa commit dfaba7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vllm/model_executor/models/mixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ def __init__(self,
max_position=max_position,
base=int(self.rope_theta),
is_neox_style=True,
rope_scaling=getattr(config, 'rope_scaling', None),
)

self.attn = Attention(
Expand Down

0 comments on commit dfaba7c

Please sign in to comment.