[HPC Attention Backend] hpc attention backend support bf16 kv cache with fp8 weight (#50980)
Signed-off-by: chengvjiang <chengvjiang@tencent.com> Co-authored-by: chengvjiang <chengvjiang@tencent.com> Co-authored-by: VAthree <56064364+VAthree@users.noreply.github.com>
This commit is contained in:
co-authored by
chengvjiang
VAthree
parent
7e724dca89
commit
470297c143
@@ -62,11 +62,7 @@ class HPCExperts(mk.FusedMoEExpertsModular):
|
||||
@staticmethod
|
||||
def _supports_current_device() -> bool:
|
||||
p = current_platform
|
||||
return (
|
||||
p.is_cuda()
|
||||
and (p.is_device_capability(90) or p.is_device_capability_family(100))
|
||||
and has_hpc()
|
||||
)
|
||||
return p.is_cuda() and p.is_device_capability(90) and has_hpc()
|
||||
|
||||
@staticmethod
|
||||
def _supports_no_act_and_mul() -> bool:
|
||||
|
||||
Reference in New Issue
Block a user