Revert "[ROCm][AITER] Support AITER Rope ops in RotaryEmbedding Module." (#22956)

Signed-off-by: vllmellm <vllm.ellm@embeddedllm.com>
Co-authored-by: vllmellm <vllm.ellm@embeddedllm.com>
This commit is contained in:
TJian
2025-08-15 06:39:19 +00:00
committed by GitHub
co-authored by vllmellm
parent 3d232dbd19
commit b2f6c247a9
4 changed files with 10 additions and 204 deletions
@@ -99,7 +99,7 @@ def yarn_linear_ramp_mask(low: float, high: float, dim: int,
return ramp_func
def yarn_get_mscale(scale: float = 1, mscale: float = 1) -> float:
def yarn_get_mscale(scale: float = 1) -> float:
if scale <= 1:
return 1.0
return 0.1 * mscale * math.log(scale) + 1.0
return 0.1 * math.log(scale) + 1.0