[CVPR 2026 Findings] ELSA: Exact Linear-Scan Attention for Fast and Memory-Light Vision Transformers
ELSA provides drop-in PyTorch modules and kernels to accelerate attention in vision transformers like ViT and Swin, matching exact softmax accuracy with lower memory and higher speed.
How It Works
You find ELSA while searching for ways to speed up image recognition models without losing accuracy.
Run a simple command to add ELSA to your Python setup, and it grabs everything you need.
Pick a ready-made image model like ViT or Swin that you already know and love.
With one line of code, upgrade the model's attention to ELSA's lightning-fast version.
Feed in your photos or scans, and watch it process them super quickly.
Your model runs twice as fast with way less memory, perfect results every time.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.