flashinfer.cute_dsl.is_cute_dsl_available

flashinfer.cute_dsl.is_cute_dsl_available() bool

Return True when the optional CuTe DSL stack is importable.

Probes for cutlass and cutlass.cute via importlib.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:

True if both cutlass and cutlass.cute are importable in the current Python environment.

Return type:

bool