项目介绍

HKUSTDial/flash-sparse-attention 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 BSD 3-Clause "New" or "Revised" License 许可证,目前获得 753 个 Star、55 次 Fork。

仓库全名
HKUSTDial/flash-sparse-attention

README 摘要

English | 简体中文 Flash-Sparse-Attention is a high-performance trainable sparse attention implementation that combines Flash Attention's memory efficiency with sparse computation for handling extremely long sequences in Transformer models. [!NOTE] The CuTe backend (flashsparseattn.ops.cute) currently delivers the best performance. A Gluon backend targeting performance parity with CuTe is still a work in progress. Key…

完整内容见 GitHub 原始 README 或本页 。

常见问题

flash-sparse-attention 用什么语言开发?

主要使用 Python 编写,采用 BSD 3-Clause "New" or "Revised" License 许可证,目前有 753 个 Star。

flash-sparse-attention 可以免费商用吗?

仓库采用 BSD 3-Clause "New" or "Revised" License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 flash-sparse-attention 的源码?

可以直接克隆仓库:git clone https://github.com/HKUSTDial/flash-sparse-attention.git,默认分支为 main;安装与运行步骤见仓库 README。

flash-sparse-attention 最近还在维护吗?

仓库最近一次更新为 1 天前,当前有 3 个未关闭 Issue;Star 数为 753,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Trainable fast and memory-efficient sparse attention

以下为仓库作者撰写的原始描述。

简要分析

热度分
875
价值分
469
活跃状态
活跃

语言占比

C++
Cuda
Makefile
PowerShell
Python
Shell

Release