[Platform] Add check_runner_kv_caches_multi_layer (#51633)

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan
2026-08-13 19:25:07 +00:00
committed by GitHub
parent 11c3fa4adc
commit 73b83949f7
6 changed files with 34 additions and 11 deletions
+4
View File
@@ -70,6 +70,10 @@ class CpuPlatform(Platform):
# x86/aarch64 CPU has supported both bf16 and fp16 natively.
return [torch.bfloat16, torch.float16, torch.float32]
@classmethod
def check_runner_kv_caches_multi_layer(cls) -> None:
pass
@classmethod
def get_device_name(cls, device_id: int = 0) -> str:
return "cpu"