[Kimi][MM] disable kimi_vit's dynamic torch.compile for TPU (#51196)

Signed-off-by: Linkun Chen <github@lkchen.net>
This commit is contained in:
Linkun
2026-08-08 00:42:51 +00:00
committed by GitHub
parent 1c008a346c
commit 7f58e8294a
+1 -1
View File
@@ -61,7 +61,7 @@ def get_rope_shape_decorate(func):
@get_rope_shape_decorate
@torch.compile(dynamic=True)
@torch.compile(dynamic=True, disable=current_platform.simple_compile_backend == "tpu")
def get_rope_shape(org, interpolation_mode, shape):
return (
F.interpolate(