[gpt-oss] Enable gpt-oss on ampere (#22714)

Signed-off-by: Yongye Zhu <zyy1102000@gmail.com>
This commit is contained in:
Yongye Zhu
2025-08-12 03:21:44 -07:00
committed by GitHub
parent b8a9d0e429
commit 007dd90859
10 changed files with 26 additions and 17 deletions
+2 -2
View File
@@ -196,8 +196,8 @@ class Platform:
@classmethod
def get_attn_backend_cls(cls, selected_backend: _Backend, head_size: int,
dtype: torch.dtype, kv_cache_dtype: Optional[str],
block_size: int, use_v1: bool,
use_mla: bool) -> str:
block_size: int, use_v1: bool, use_mla: bool,
has_sink: bool) -> str:
"""Get the attention backend class of a device."""
return ""