flashinfer.cute_dsl.is_cute_dsl_available¶
- flashinfer.cute_dsl.is_cute_dsl_available() bool¶
Return
Truewhen the optional CuTe DSL stack is importable.Probes for
cutlassandcutlass.cuteviaimportlib.util.find_spec(). Used by higher-level wrappers to decide whether to dispatch to a CuTe-DSL backend (e.g.flashinfer.quantization.mxfp4_quantize(),flashinfer.cute_dsl.attention.wrappers.BatchDecodeCuteDSLWrapper) or fall back to a plain-CUDA implementation.- Returns:
Trueif bothcutlassandcutlass.cuteare importable in the current Python environment.- Return type:
bool