Flash Attention Causes Performance Drops in BGE-M3 and Other Models

Incompatibility between packed position IDs and RoBERTa when using flashattention2 caused significant performance drops, notably degrading BAAI/bge-m3's STSB test Spearman score from 0.8485 to 0.7239 before the fix.

2026-07-23 ~ 2026-07-23 · 2 related posts

Full story(2 episodes)→