Skip to content

Implement fast VLA attention with Triton and update benchmarks#10

Merged
Vishal-sys-code merged 2 commits into
mainfrom
gopal-inference
Apr 12, 2026
Merged

Implement fast VLA attention with Triton and update benchmarks#10
Vishal-sys-code merged 2 commits into
mainfrom
gopal-inference

Conversation

@Vishal-sys-code

Copy link
Copy Markdown
Owner

Author: @Akshay594

Author: @Akshay594
Add a new fast VLA attention module implementing sequential, parallel (prefix-scan) and an optional Triton-fused variant (src/models/attention/fast_vla.py). Include parallel-scan and Sherman–Morrison scan implementations, KV-explosion fixes, and Triton kernel guarded by HAS_TRITON. Add a basic unit test for the parallel variant (tests/test_fast_vla.py) and a speed benchmark script (scripts/benchmark_speed.py). Update plotting script (scripts/plot_retrieval.py) to aggregate retrieval CSVs and produce a combined accuracy plot. Scripts save figures under results/ and handle CPU/GPU/Triton availability.
@vercel

vercel Bot commented Apr 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
variational-linear-attention Ready Ready Preview, Comment Apr 12, 2026 3:10pm

@Vishal-sys-code Vishal-sys-code merged commit 5d5916a into main Apr 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant