Super tiny improve FA3 import error message (#11590)

This commit is contained in:
fzyzcjy
2025-10-14 22:06:31 -07:00
committed by GitHub
parent 91fc5bb5a9
commit 32803fb279
+3 -1
View File
@@ -6,7 +6,9 @@ import torch
try:
from sgl_kernel import flash_ops
except:
raise ImportError("Can not import sgl_kernel. Please check your installation.")
raise ImportError(
"Can not import FA3 in sgl_kernel. Please check your installation."
)
try:
from ._fa4_interface import flash_attn_varlen_func as flash_attn_varlen_func_v4