# lucidrains/native-sparse-attention-pytorch

<https://repo.masters-masters.com/en/repos/lucidrains/native-sparse-attention-pytorch>

[Home](https://repo.masters-masters.com/en) › [lucidrains](https://repo.masters-masters.com/en/owners/lucidrains) › [native-sparse-attention-pytorch](https://repo.masters-masters.com/en/repos/lucidrains/native-sparse-attention-pytorch)

lucidrains/native-sparse-attention-pytorch has 816 stars on GitHub. Its RepoMasters card: Beta tier. Implementation of the sparse attention pattern proposed…

| Field | Value |
| --- | --- |
| Owner | [lucidrains](https://repo.masters-masters.com/en/owners/lucidrains) |
| Stars | 816 |
| Forks | 51 |
| Language | [Python](https://repo.masters-masters.com/en/languages/python) |
| License | MIT |
| Created | 2025 |
| Topics | artificial-intelligence, attention, deep-learning, sparse-attention |
| Tier | [Beta (700 to 1,999 ★)](https://repo.masters-masters.com/en/ranks/box_office) |
| View on GitHub | [lucidrains/native-sparse-attention-pytorch](https://github.com/lucidrains/native-sparse-attention-pytorch) |

## Repository

Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper

The tier for repos with 700 to 1,999 ★. Published odds per card pulled: 6%. Rarity: Rare.

## More repos by lucidrains

- [lucidrains/vit-pytorch · ★ 25,555 · Python · LTS](https://repo.masters-masters.com/en/repos/lucidrains/vit-pytorch)
- [lucidrains/DALLE2-pytorch · ★ 11,306 · Python · Stable](https://repo.masters-masters.com/en/repos/lucidrains/DALLE2-pytorch)
- [lucidrains/denoising-diffusion-pytorch · ★ 10,723 · Python · Stable](https://repo.masters-masters.com/en/repos/lucidrains/denoising-diffusion-pytorch)
- [lucidrains/imagen-pytorch · ★ 8,430 · Python · Stable](https://repo.masters-masters.com/en/repos/lucidrains/imagen-pytorch)
- [lucidrains/PaLM-rlhf-pytorch · ★ 7,862 · Python · Stable](https://repo.masters-masters.com/en/repos/lucidrains/PaLM-rlhf-pytorch)
- [lucidrains/x-transformers · ★ 5,962 · Python · Stable](https://repo.masters-masters.com/en/repos/lucidrains/x-transformers)

## Nearby in Python

- [Kwai-Keye/Keye · ★ 816 · Python · Beta](https://repo.masters-masters.com/en/repos/Kwai-Keye/Keye)
- [agulli/atlas-agents · ★ 816 · Python · Beta](https://repo.masters-masters.com/en/repos/agulli/atlas-agents)
- [Accio-Lab/Dressage · ★ 816 · Python · Beta](https://repo.masters-masters.com/en/repos/Accio-Lab/Dressage)
- [breathe-doc/breathe · ★ 816 · Python · Beta](https://repo.masters-masters.com/en/repos/breathe-doc/breathe)
- [jiffyclub/palettable · ★ 816 · Python · Beta](https://repo.masters-masters.com/en/repos/jiffyclub/palettable)
- [shantnu/FaceDetect · ★ 816 · Python · Beta](https://repo.masters-masters.com/en/repos/shantnu/FaceDetect)

---
Data: GitHub · Illustration drawn by RepoMasters from the repo’s ID and its language color.
