3 ms·
> FlashAttention-3 is optimized for Hopper GPUs (e.g. H100). How does FA3 fare for consumer GPUs such as 3090 and 4090?
by lxe 2y ago
> FlashAttention-3 is optimized for Hopper GPUs (e.g. H100).
How does FA3 fare for consumer GPUs such as 3090 and 4090?
- apsec112 2y agoIt's Hopper-specific, the improvements are closely tied to Hopper features like warp groups and TMA. For 4090s, you might get a speedup by using the Triton implementation of FP8 attention: https://triton-lang.org/main/getting-started/tutorials/06-fused-attention.html https://triton-lang.org/main/getting-started/tutorials/06-fu...
- moffkalast 2y agoThe original flash attention (v1?) took like a year to get added to llama.cpp and only provides single digit percent VRAM savings for typical context lengths and practically no speed boost. Still nice to have, but man was this thing overhyped. I doubt v3 will do more than marginally better on the RTX 5000 series.
- apsec112 2y agoOn GPU, or on CPU/Metal? For the latter I'm not surprised, but that's because they have a totally different memory/cache hierarchy.
- moffkalast 2y agoWith CUDA offloading, I don't think it runs otherwise at all.