🤯逆天了!Qwen 3.8 27B注意力层被彻底击穿了!10M超长上下文下,Prefill注意力快72.4倍、Decode快42.5倍!端到端首token延迟砍到约1/9!


This is a dev post classified by AGK Intelligence as AI dev tools (a tool drop), kept by the Dev Radar because it carries real work, not commentary.
🤯逆天了!Qwen 3.8 27B注意力层被彻底击穿了!10M超长上下文下,Prefill注意力快72.4倍、Decode快42.5倍!端到端首token延迟砍到约1/9! 闲置GPU的朋友注意了:把这个新方法丢给Claude/Codex,让它直接移植到Qwen 27B上!注意力算法“移植”已经被验证可行。 惊人之处: 🔹10M token(约1000万)超长上下文下,传统稀疏注意力有98%时间都在“找该看哪些token”,真正算注意力反而没那么贵 🔹新方法Latent Sparse Attention (LSA):先把Key按“意思相近”聚类成层级结构,Query只看聚类中心,再挑最相关的几个桶去算。从“全扫”变成“树搜索” 🔹实测(Qwen-3.8-27B):单层注意力Prefill快72.4倍,Decode快42.5倍!端到端首token延迟也能降到约1/9 🔹精度几乎不掉,甚至在RULER等长上下文任务上还略好一点 🔹只需要短蒸馏训练Indexer(基座模型冻结),就能套到现成模型上。Native训练版本也能跟上全注意力精度,还更快 🔹对GPU紧缺党意义巨大:超长上下文(百万级)不再需要堆满H100/H200才能跑,单卡/少量卡也能玩得起真正长上下文Agent 适配步骤: 1️⃣git clone 仓库后用 uv sync 安装(Python 3.12)
Posted by SuSu_酥酥👅 (25.9k followers) 1 h ago · 23 likes · 1.8k views · view the original post on X. Kept by the Dev Radar as AI dev tools. Tools mentioned: latent-sparse-attention.
More dev work like this
- 做了个插件:离开项目一段时间后,一页看懂它进展到哪了 — @mylifcc
- 𝗦𝗲𝗻𝘀𝗲𝗡𝗼𝘃𝗮 𝟲.𝟴 𝗙𝗹𝗮𝘀𝗵 𝗶𝘀 𝗵𝗲𝗿𝗲! — @SenseTime_AI
- We @huggingface reproduced this paper!! — @NielsRogge
- Stop rebuilding your Claude Code workflows one prompt at a time. — @DanKornas
- 🚨最新!DeepSeek Harness 版本已更新至 v0.2.2-alpha.3 ! — @NFT_Chen
- 😨卧槽! 别再排队等Claude Duet 白名单了!开源极致平替版Duet直接封神了!还能平替Grok Bot、Dots! — @NFT_Chen
- The Best New Local Image-To-3D Model Is Now Available on Apple Silicon — @Stefan_3D_AI
- "Mistral Large 4" — @askalphaxiv
Every post is read and classified by AGK Intelligence: what it is, which market it belongs to, and whether the link is a real tool. 31.5k posts from 5k X accounts over the last 21 days, 9.1k tools, 12 markets. New posts are collected several times an hour and the full ranking is recomputed every hour — last update 2026-11-03 09:22 UTC. Full method.