AGI Hunt· tomaarsen·· 4 天前AI 评分66
Sentence Transformers 通过 Flash Attention 2 配置约 50% 嵌入提速
两条 pip 命令即可白拿约 50% 嵌入提速,Sentence Transformers 将默认启内核
AI 导读
tomaarsen 给出 Sentence Transformers 启用 Flash Attention 2 的快速配置方法,可获得约 50% 的嵌入吞吐提升。
来源:AGI Hunt · agihunt.info