What problem does it solve? GGML's autodiff had no attention backward, forcing every trainer to retain an O(S²) softmax per layer that capped training crop lengths and VRAM headroom. This Skill documents the custom fused flash-attention forward/backward ops and the exact contract for safely adopting them in each trainer. ## Core Features & Use Cases - Adoption contract: Six non-negotiable requirements per trainer port, including byte-identical exact mode, a supports_op probe, CPU f32 parity rungs, and measured drift classes. - Per-trainer porting checklist: Concrete file lists and measured results for the AS1.5 LM, MM3 LM, and MM3 DiT trainers, including crop-ceiling and step-time numbers. - Measurement discipline and trap list: Nineteen documented pitfalls (DLL locks, packed-output alignment, TF32 lane maps, crop-max pinning) plus a table of validated RTX 5090 measurements. - Use Case: When adding --attn flash to a new ace-train subcommand or debugging why flash mode is slower or uses more VRAM than expected, follow the checklist and trap list to avoid repeating measured mistakes. ## Quick Start Ask the assistant to port flash attention mode to the MM3 DiT trainer following the adoption contract and per-trainer checklist in this skill.