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
benchmarking-and-optimizationRoutes FLA correctness-gated op benchmarking, optimization loops, profiling handoffs, and benchmark summaries.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for Flash Linear Attention performance work where the deliverable depends on trustworthy measurements: op microbenchmarks, before/after comparisons, optimization-loop discipline, profiler handoff, benchmark registry updates, and summarizing saved benchmark JSON.
references/benchmarking.md for command patterns, registry semantics, result formats, and benchmark environment variables.references/optimization-loop.md for the frozen-test contract, iteration log, promotion bar, no-go bar, and profiler handoffs.references/troubleshooting.md for red gates, missing registry entries, noisy measurements, backend dispatch, and JSON-summary failures.scripts/fla_verify_op_command.py — builds and prints a safe python -m benchmarks.ops.verify ... command. It does not run tests or benchmarks.scripts/summarize_benchmark_json.py — summarizes local benchmark JSON without importing FLA or touching GPUs.# Discover benchmark targets.
python -m benchmarks.ops.verify --list
# Full frozen gate, then benchmark against a baseline.
python -m benchmarks.ops.verify --op chunk_gla --base main
# Fast signal only; do not promote from a subset gate.
python -m benchmarks.ops.verify --op chunk_gla --gate-k T8192 --modes fwd
# Print a command without running it.
python scripts/fla_verify_op_command.py \
--op chunk_gla --base main --modes fwd fwdbwd
# Summarize saved JSON locally.
python scripts/summarize_benchmark_json.py \
benchmark_results.json --threshold 5 --top 10
A performance change is promotable only when the full frozen gate passes, the same-shape before/after benchmark shows a repeatable improvement, and profiler or roofline evidence explains the mechanism. A faster number without a green gate, without same-hardware baseline, or without an explanation is a no-go or an unfinished loop.