executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
setup-and-backendsInstall, import, backend selection, runtime smoke checks, and setup troubleshooting for Flash Linear Attention.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about installing Flash Linear Attention (FLA), checking whether fla imports, choosing a backend extra, diagnosing backend wheel mismatches, or deciding whether optional runtime backends are active.
flash-linear-attention or fla-core from PyPI, source, editable checkouts, or prebuilt wheels.cuda, rocm, xpu, npu, or cpu.torch / triton, or why ROCm / XPU / NPU need backend-specific wheel indexes.torch.cuda.is_available(), wrong backend wheels, optional backend gates, and FLA environment variables.Pick exactly one backend family for the user's machine and package policy. Use references/install-and-backends.md for the install matrix and package split notes.
Install flash-linear-attention[...] for layer/model users, or fla-core[...] only when the task needs kernels/modules without fla.layers or fla.models.
Run the bundled safe checker before invoking native tests or examples:
python scripts/check_fla_runtime.py --show-env-vars
python scripts/check_fla_runtime.py --require-cuda
Use --require-cuda only when the chosen backend is CUDA/NVIDIA and a CUDA device is expected.
If imports, CUDA allocation, or optional backend activation fail, use references/troubleshooting.md before changing code.
fla; the distribution packages are split into fla-core and flash-linear-attention.torch and triton are intentionally not base dependencies. A bare pip install flash-linear-attention is not a usable runtime install; choose a backend extra.torch from the matching PyTorch wheel index first so pip does not mix incompatible backend wheels.references/install-and-backends.md: package split, install commands, backend extras, environment variables, and smoke-check procedure.references/troubleshooting.md: symptom-driven install/import/backend failure recovery.scripts/check_fla_runtime.py: safe argparse helper for imports, versions, public export counts, selected FLA environment variables, and optional tiny CUDA allocation.