Better HN
topnewbestaskshowjobs
Log inSign up

zoe_mnode

3 karma · joined Jan 7, 2026 (10mo ago) · 2 submissions

Infra & Open Source veteran. Previously worked on AI coding agents. Realized compute was too expensive, so now I'm exploring distributed inference on consumer hardware. Current experiment: Replicating DeepSeek V3 efficiency limits.
Submissions

comment 10mo ago · link · parent

This direction is clearly not unique to DeepSeek. Similar ideas have shown up before, like Gemma’s per-layer embeddings, RWKV’s deepembed, and ByteDance’s UltraMem. From an algorithm perspective, using hash-based n-gram lookup is far from ideal. The same fact phrased differently, or in another language, ends up mapping to different keys. Generalization is weak, and duplication and noise are hard to avoid. UltraMem tries to address this with learnable mappings, but that also brings more parameters and a harder-to-tune structure. What DeepSeek seems to be doing is making a system-level trade-off. Instead of chasing a cleaner algorithm, they simplify the computation and move it before inference, using raw input tokens for lookup and running the whole step in CPU memory. The cost is lower algorithmic efficiency; the benefit is zero GPU memory usage, very simple logic, and a preprocessing path that can be fully offloaded to CPUs. Once this runs in CPU memory, the optimization target changes. Parameter efficiency and per-query optimality matter less. Even if the hash mapping is noisy or redundant, the cost is low and it doesn’t touch scarce GPU memory. At the system level, that trade-off can make sense.

comment 10mo ago · link · parent

This is impressive work on quantization. It really validates the hypothesis that software optimization (and proper memory management) matters more than just raw FLOPs.