Skip to content

Commit 6c635c9

Browse files
justinchubyCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <[email protected]> Signed-off-by: Justin Chu <[email protected]>
1 parent 6781754 commit 6c635c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/mobius/components/_rotary_embedding.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def forward(self, op: OpBuilder, position_ids: ir.Value):
313313
return self._cast_embeddings(op, cos, sin)
314314

315315

316-
def yarn_apply_mscale(rope_type: str, rope_scaling: dict | None, scaling: float) -> float:
316+
def yarn_apply_mscale(rope_type: str | None, rope_scaling: dict | None, scaling: float) -> float:
317317
"""Apply the DeepSeek-V2/V3 YaRN attention-softmax scale correction.
318318
319319
This mirrors HuggingFace's ``yarn_apply_mscale`` in

0 commit comments

Comments
 (0)