Flash attention involves hardware-level optimizations wherein it utilizes SRAM to cache the intermediate results. This way, it reduces redundant movements, offering a speed up of up to 7.6x over standard attention methods. Check this
Flash Attention: Hardware-Level SRAM Caching Achieves 7.6x Speedup
By
–
