[HybridKVCache][Platform] Add support_hybrid_kv_cache for platform (#24646)

Signed-off-by: MengqingCao <cmq0113@163.com>
This commit is contained in:
Mengqing Cao
2025-09-11 21:47:58 +08:00
committed by GitHub
parent 94e6b2d55f
commit 4f6593b058
5 changed files with 20 additions and 2 deletions
+7
View File
@@ -586,6 +586,13 @@ class Platform:
"""
raise NotImplementedError
@classmethod
def support_hybrid_kv_cache(cls) -> bool:
"""
Returns if the hybrid kv cache is supported by the current platform.
"""
return False
class UnspecifiedPlatform(Platform):
_enum = PlatformEnum.UNSPECIFIED