what's the case against flash attention?

Posted by Responsible-Crew1801@reddit | LocalLLaMA | View on Reddit | 33 comments

I accidently stumbled upon the -fa (flash attention) flag in llama.cpp's llama-server. I cannot speak to the speedup in performence as i haven't properly tested it, but the memory optimization is huge: 8B-F16-gguf model with 100k fit comfortably in 32GB vram gpu with some 2-3 GB to spare.

A very brief search revealed that flash attention theoretically computes the same mathematical function, and in practice benchmarks show no change in the model's output quality.

So my question is, is flash attention really just free lunch? what's the catch? why is it not enabled by default?