Preparing for system design interviews?  Try bugzed.com →

Local Attention

JSON →
library 1.11.2 ·python
verified Jun 28, 2026

local-attention is a Python library by lucidrains that implements local attention mechanisms with configurable windowing and lookback/lookforward options, primarily for language modeling tasks. It leverages PyTorch for efficient computation and is actively maintained with frequent minor and patch releases.

total hits 26
actors 7 distinct systems
last hit 5d ago AhrefsBot
GPTBot
4
Amazonbot
4
ByteDance
2
Script
1
OAI-SearchBot
1
Search engines
1
Humans
9

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇦 Canada · VN