Unverified Commit 61a0e600 authored by timmy-feng's avatar timmy-feng Committed by GitHub
Browse files

torch.compile() mrope (#9487)

parent 0f8cee8c
......@@ -1029,6 +1029,7 @@ class MRotaryEmbedding(RotaryEmbedding):
f"Corrected mrope_section: {self.mrope_section} (sum={sum(self.mrope_section)})"
)
@torch.compile(dynamic=True)
def forward(
self,
positions: torch.Tensor,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment