[Bugfix] Enable FP8 KV cache for FlashInfer and Triton backend on non-sm100 GPUs (#24577)
Signed-off-by: Thien Tran <gau.nernst@yahoo.com.sg>
This commit is contained in:
@@ -530,6 +530,10 @@ class CudaPlatformBase(Platform):
|
||||
supported = flash_attn_supports_fp8()
|
||||
else:
|
||||
supported = True
|
||||
elif attention_backend == "FLASHINFER":
|
||||
supported = True
|
||||
elif attention_backend == "TRITON_ATTN_VLLM_V1":
|
||||
supported = cls.supports_fp8()
|
||||
return supported
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user