Super tiny improve FA3 import error message (#11590)
This commit is contained in:
1 parent
91fc5bb5a9
commit
32803fb279
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user