DeepSeek AI 發布 DeepSeek-V4.1-Flash:100 萬上下文、FP4 KV 快取與跨層注意力重用
Long-horizon agents have turned LLM serving into an input-heavy workload.Repeated prefills and million-token contexts leave KV caches that strain HBM, SSD capacity, and bandwidth.DeepSeek AI built its newest release around that exact bottleneck.DeepSeek-V4.
1-Flash is a multimodal Mixture-of-Experts model with 552B backbone parameters, 196B additional Engram parameters, and a 1M-token context window.It activates 8B parameters per token during prefill and 16B during decode.
The main number is a global KV cache footprint of 890 bytes per token, about 1/4 of DeepSeek-V4-Flash and roughly 437x smaller than DeepSeek-V1.Is it deployable?Yes.
Open weights ship under an MIT license with vLLM, SGLang, and Transformers paths on Hugging Face, and the research team describes a public API with low, high, and max reasoning tiers.
Causal Encoder-Decoder: Half the Prefill The 40-layer backbone is split into a 20-layer causal encoder and a 20-layer decoder.Inspired by YOCO, the decoder does not compute its own global KV.Instead, per-layer projection weights derive it from the final encoder hidden state.
Prompt tokens therefore stop at the encoder, which nearly halves prefill compute.Sliding-window attention (SWA) with a 128-token window still runs in every layer, so decoder SWA states are rebuilt by replaying only the last 128 prompt tokens.The research team calls this Decoder SWA Bounded Replay.
Compressed Sparse Attention 2 (CSA2) DeepSeek-V4 mixed CSA with Heavily Compressed Attention.V4.1-Flash uses pure CSA2 and attacks cache size along the layer axis.
Each CSA2 layer is statically assigned one of 3 modes: Full: computes its own main KV, projects indexer K from it, and selects fresh Top-512 indices.Reindex: reuses main KV and indexer K from the last Full layer but rescores them with its own indexer Q.
Reuse: reuses both the main KV and the latest Top-K indices, skipping the indexer entirely.Every layer keeps its own main Q and SWA KV.The 18 CSA2 encoder layers use a compression ratio of 2 in 3 groups of 6 (1 Full, 5 Reuse).
The 20 decoder layers use ratio 1 in 5 groups of 4: the first is Full plus 3 Reuse, the rest Reindex plus 3 Reuse.
A Hierarchical Sparse Indexer in the decoder lets the Full layer build a candidate pool of up to 16,384 positions (2,048 blocks of 8), so later Reindex layers score a bounded set instead of the entire context.
FP4 KV, Bounded Replay, and Other Extensions The main KV cache is quantized to E2M1 with one E4M3 scale per 16 channels, following NVFP4 without its global scale.This is introduced through quantization-aware training in post-training and nearly halves storage against V4’s FP8 cache.
At the deployment level, SWA KV is no longer persisted to SSD.It lives in a distributed pool carved from 10% of host DRAM with a TTL of minutes, while global KV keeps a guaranteed 72-hour lifetime.On a miss, Encoder SWA Bounded Replay recomputes only 128 tokens instead of layers times window.
Other changes include Single-Pass mHC, which shifts input-mixing coefficients by one block so a fused Mega-mHC kernel can halve activation memory traffic, the Engram conditional memory module at layers 1 and 14, DSpark speculative decoding trained after pre-training with the backbone frozen, and head-wise Muon.
Single-token decode FLOPs rise by only 1/4 when context grows from 4K to 1M.Training and Results Pre-training covers 45T multimodal tokens at a 7:1 text-to-multimodal ratio.
Sparse attention is trained from scratch at 64K sequence length with no dense warmup, and context is extended to 1M at 34T tokens.The base model matches DeepSeek-V4-Pro-Base on world knowledge and coding while using 1/3 of the total and 1/4 of the activated parameters.
Post-training introduces no new algorithms.Gains come from large-scale synthesis of verifiable agent tasks, RL across heterogeneous scaffolds (Claude Code, Codex, OpenCode, Pi, mini-SWE, DeepSeek Harness), and on-policy distillation from over 40 teachers.Selected max-effort results: BenchmarkDS-V4.
1-FlashDS-V4-FlashOpus-5GPT-5.6 SolTerminal-Bench 2.190.682.789.188.8DeepSWE v1.174.254.474.073.0Terminal-Bench 4.031.27.051.839.9Automation-Bench54.837.750.345.8GPQA Diamond90.989.993.494.1Codeforces (rating)34713289n/an/a Interactive Explainer window.addEventListener("message",function(e){if(e.
data&&e.data.type==="dsx-resize"){var f=document.getElementById("dsx-frame");if(f)f.style.height=e.data.height+"px";}}); Key Takeaways Global KV cache falls to 890 bytes per token, about 1/4 of V4-Flash and 437x below V1.
CED runs only 20 encoder layers in prefill, activating 8B parameters against 16B in decode.CSA2 shares main KV, indexer K, and Top-K indices across layers in Full, Reindex, and Reuse modes.FP4 main KV plus SWA Bounded Replay cut persistent cache to about 1/8 of V4-Flash.Beats Opus-5 and GPT-5.
6 Sol on Terminal-Bench 2.1 and DeepSWE v1.1 with MIT weights.Check out the Model on Hugging Face and the Technical Report.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!are you on telegram?
now you can join us on telegram as well.Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?Connect with us The post DeepSeek AI Released DeepSeek-V4.
1-Flash with 1M Context, FP4 KV Cache, and Cross-Layer Attention Reuse appeared first on MarkTechPost.
Related
相關文章
曝OpenAI拿下超6.7億年單!打“骨折”、送額度、配工程師,就為了搶Anthropic客戶
編譯 | 孫小雯 編輯 | 程茜 OpenAI和Anthropic為了搶用戶,最近又槓上了!10月30日,OpenAI剛將部分Pro套餐的ChatGPT Work和Codex額度翻倍;次日,Anthropic取消了已驗證Ultra賬戶的5小時用量限制,周限額保留。
英特爾與騰訊發佈基於至強6+的雲實例,曬智能體AI基礎設施全家桶
作者 | ZeR0 編輯 | 漠影 11月3日報道,近日,在2026騰訊全球數字生態大會上,英特爾與騰訊雲發佈基於英特爾至強6+處理器的騰訊雲新一代雲實例,並全面展示英特爾的芯片產品與雲端實踐。 全新至強6+處理器擁有最高288顆能效核,單顆處理器最高可支持超過1000個智能體的穩定部署,這也為騰訊雲服務器提供更高併發、更低時延、更優能效的雲端算力服務。
智元榮獲2026世界互聯網大會傑出貢獻獎
11月3日,2026年世界互聯網大會烏鎮峰會在浙江烏鎮隆重開幕,國務院總理李強出席開幕式並發表主旨演講。開幕式上,智元憑藉在具身智能領域的系統性技術突破與產業化實踐,獲頒世界互聯網大會傑出貢獻獎。智元合夥人、高級副總裁朱潔在領獎時表示:人工智能的終局,不在於屏幕與雲端,而紮根於工廠一線和尋常煙火。具身智能賽道的競爭,早已跳出單點技術的競速,轉向軟硬協同、工程化落地、產業組織與治理體系的綜合比拼。智元期待與各界同心同行,堅守務實,躬身落地。
電動車退燒、AI 儲能燒起來:LG 新能源把產能挪向數據中心
11 月 3 日,首席財務官李昌植在財報電話會上給出時間表:今年底軟包儲能系統(ESS)產能將超 50 吉瓦時,明年進一步拉到 70 GWh 以上。在他看來,電動車增速放緩之際,AI 數據中心的大規模新建為電池廠撕開了新口子——第三季度 ESS 在手訂單已達 160 GWh,公司正與電力企業、超大型數據中心運營商談新項目,今年 9 月還作為儲能供應商擠進了英偉達的 DSX Ready 計劃。
最高288核的至強6+,為了Agent高密度部署還下了哪些「雲功夫」?
作者 | 陳悅琳編輯 | 包永剛 一個智能體能順利完成任務,不代表成百上千個智能體就能同時高效運行。 對於承載大量智能體任務的雲服務器而言,除了提升計算速度,如何在任務集中到來時迅速準備好執行環境、怎樣減少暫時閒置的任務對內存資源的佔用,也成為亟待解決的問題。 對此,在一年一度的騰訊全球數字生態大會上,英特爾與騰訊雲聯合發佈了基於至強6+處理器的新一代雲實例,圍繞任務啟動效率、內存資源利用率等關鍵因素進行優化後,其綜合性能較上一代提升30%以上。
聯合國副秘書長點贊!千問AI耳夾式耳機亮相烏鎮互聯網大會
他認為,產品非常實用,適合自己日常工作中需要使用多國語言進行交流的場景。面對面交流時,用戶可以通過耳機收聽譯文;會議中的討論內容,也能通過AI聽記整理為結構化紀要,方便會後回顧。連接千問App後,用戶還可通過語音交辦資料研究等任務、接收完成提醒,讓耳機成為日常辦公的隨身助手。