Skip to content
onsuggest
Log in
Article zh

DeepSeek-V4.1 模型结构(3):序列维度(下),Hierarchical Sparse Indexer 与 FP4 KV cache

Source: Java不加糖's Blog ·

decoder 的 Reindex 层每生成一个 token 都要给 100 万条 KV 打分。Hierarchical Sparse Indexer 让第 20 层先圈出 16384 个候选位置,后面的层只在里面打分,把这部分计算变成常数。FP4 把每条 main KV 从 584 字节压到 288 字节:E2M1 能表示哪些数,为什么 22.6 是幅度的上界,scale 为什么选 E4M3。最后把 890 字节和 V4-Flash 的 3514 字节逐项对比。

Keyboard shortcuts

Previous discovery
←P
Next discovery
→N
Like
L
Not for me
X
Save
S
Show this help
?
Close
Esc

Shortcuts work on the discovery page.