[Metax] support ENABLE_V1_KVCACHE_SCHEDULER (#5163)

This commit is contained in:
xiaozude
2025-11-24 19:19:49 +08:00
committed by GitHub
parent e150a418d4
commit d5bd64336a
5 changed files with 24 additions and 14 deletions

View File

@@ -523,7 +523,7 @@ class EngineArgs:
f"= {expected_ports}, but got {len(self.rdma_comm_ports)}."
)
if not current_platform.is_cuda() and not current_platform.is_xpu():
if not (current_platform.is_cuda() or current_platform.is_xpu() or current_platform.is_maca()):
envs.ENABLE_V1_KVCACHE_SCHEDULER = 0
if self.guided_decoding_backend != "off":
envs.ENABLE_V1_KVCACHE_SCHEDULER = 0