Unverified Commit 32803fb2 authored by fzyzcjy's avatar fzyzcjy Committed by GitHub
Browse files

Super tiny improve FA3 import error message (#11590)

parent 91fc5bb5
...@@ -6,7 +6,9 @@ import torch ...@@ -6,7 +6,9 @@ import torch
try: try:
from sgl_kernel import flash_ops from sgl_kernel import flash_ops
except: 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: try:
from ._fa4_interface import flash_attn_varlen_func as flash_attn_varlen_func_v4 from ._fa4_interface import flash_attn_varlen_func as flash_attn_varlen_func_v4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment