[Platform] Allow platform use V1 Engine by default (#19792)

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan
2025-06-18 13:03:36 +00:00
committed by GitHub
parent cca91a7a10
commit 257ab95439
3 changed files with 20 additions and 9 deletions
+7
View File
@@ -479,6 +479,13 @@ class Platform:
"""
return False
@classmethod
def default_v1(cls, model_config: ModelConfig) -> bool:
"""
Returns whether the current platform supports v1 by default.
"""
return cls.supports_v1(model_config)
@classmethod
def use_custom_allreduce(cls) -> bool:
"""