Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions flashinfer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,12 @@ def is_fa3_backend_supported(
return False
if use_fp16_qk_reductions:
return False
# FA3 FP8 KV cache currently requires FP8 query.
if dtype_kv in {torch.float8_e4m3fn, torch.float8_e5m2} and dtype_q not in {
torch.float8_e4m3fn,
torch.float8_e5m2,
}:
return False
return True


Expand Down
Loading