[Platform][Kernel] platform-specific kernel loading (#25823)

Signed-off-by: Hank <hcc.mayday@gmail.com>
This commit is contained in:
Hank_
2025-10-05 13:25:15 +02:00
committed by GitHub
parent 3303cfb4ac
commit 17edd8a807
4 changed files with 27 additions and 11 deletions
+4
View File
@@ -47,6 +47,10 @@ class TpuPlatform(Platform):
"TPU_CHIPS_PER_HOST_BOUNDS", "TPU_HOST_BOUNDS"
]
@classmethod
def import_core_kernels(cls) -> None:
pass
@classmethod
def get_attn_backend_cls(cls, selected_backend: "_Backend", head_size: int,
dtype: torch.dtype, kv_cache_dtype: Optional[str],