跳到主内容
@wquguru
精选88Two Minute Papers(YouTube)模型发布/更新

DeepSeek 4.1 Flash:共享KV缓存技术使显存需求降低4倍

DeepSeek Just Made AI Memory 4x Smaller!

原文
发到 X
推荐理由

DeepSeek 再次通过架构创新(共享KV缓存)大幅降低大模型本地部署门槛,这是极具复用价值的工程实践参考,值得开发者关注其技术细节。

The new DeepSk is here. 4.1 Flash and it is Wow. Look at that. It is incredibly fast. And I was also stunned by this. Look, it can outperform Claude Opus 5 Kim K3 on some tests, not everything. We'll see about that. But there is a catch. I'll show you at the end. It also reliably outperforms DeepSeek 4.0 0 Pro, which is a huge surprise. I mean, that system costs maybe $300K to run locally, and this one can be run for a quarter of that.

全新的 DeepSk 来了。4.1 Flash 版本,效果令人惊叹。你看,它速度极快。我也对此感到震惊。看,它在某些测试中能超越 Claude Opus 5 和 Kim K3,并非所有测试。我们拭目以待。但这里有个问题。我会在最后展示给你看。它还可靠地超越了 DeepSeek 4.0 Pro,这真是个巨大的惊喜。我的意思是,那个系统本地运行成本可能高达 30 万美元,而这个系统的运行成本只有它的四分之一。

Well, that's still a lot of money, but the tendency is undeniable. This might run in our pocket in a year's time. It also has native visual understanding. So finally you can give it images of an iconic game menu and have it write a game that reproduces it. I'll tell you more about my other experiments at the end. And this is huge and small at the same time. How? Well, now hold on to your papers, fellow scholars. It's small because of the KV cache.

好吧,那仍然是一笔巨款,但这种趋势不可否认。也许一年后它就能装进我们的口袋。它还具备原生的视觉理解能力。因此,你终于可以给它一张标志性游戏菜单的图片,让它编写一个能重现该菜单的游戏。我会在最后告诉你更多关于我的其他实验的信息。这既是巨大的突破,也是微小的改进。为什么?嗯,各位学者请坐稳了。之所以说它微小,是因为 KV 缓存的问题。

This contains the context and is 437 times smaller than V1 was 3 years ago, but also four times smaller than the previous 4.0 flash. But that was just a few months ago and you compressed it 4x that is what? How did they do that? Do we know? Yes, we do. Dear fellow scholars, this is two minute papers with Dr. Eer why? Because this is an open model and there is a free research paper explaining it. I am not an expert just a student but I'll try to break it down.

其中包含上下文信息,其体积比三年前的 V1 小了 437 倍,也比之前的 4.0 Flash 版本小了四倍。但这只是几个月前的事,你们将其压缩了 4 倍,这是怎么回事?他们是怎么做到的?我们知道吗?是的,我们知道。亲爱的各位学者,这是 Dr. Eer 带来的两分钟论文。为什么?因为这是一个开源模型,并且有一篇免费的研究论文对其进行了解释。我不是专家,只是个学生,但我将尝试把它拆解清楚。

They call this technique CSA2 and they are finally onto something here. You see a neural network is given by a lot of layers of neurons and as information is propagated through these layers each of them has its own KV memory but not here. Deepseek 4.1 flash finally gives us shared memory between the layers. Not everyone has to remember everything. No, they share the memories. It's a nightmare to pull off well because different layers need different views of the same history.

他们将这项技术称为 CSA2,他们终于在这里找到了门道。你看,神经网络由许多层神经元组成,当信息在这些层中传播时,每一层都有自己的 KV 内存,但在这里并非如此。Deepseek 4.1 Flash 终于为我们提供了层之间的共享内存。不是每个人都必须记住一切。不,他们共享记忆。由于不同的层需要对相同历史的不同视角,要实现这一点非常困难,堪称噩梦。

And if we pop the hood and look closer, look, an an encoder decoder structure. The encoder creates a shared global memory and the decoder reads from it. And all that is what finally gives us a much smaller KV cache which is the bane of my existence because it needs too much video RAM. Incredible leap forward. Now I also said this is huge more than 500 billion parameters. So I have no chance to run this at home whatsoever.

如果我们打开引擎盖仔细看看,看,这是一种编码器-解码器结构。编码器创建共享的全局内存,解码器从中读取。正是这一切最终为我们带来了更小的 KV 缓存,而这一直是我存在的痛点,因为它需要太多的显存。这是一次令人难以置信的巨大飞跃。现在我还说过这也是巨大的——超过 5000 亿参数。所以我根本不可能在家里运行它。

And when I tried to reproduce this beautiful honey coiling paper, GPT6 Astra nailed it. Absolutely stunning. Opus 5.1 not as stunning, but the physics is quite formidable. Rendering a bit less. So now this one, well, we still need to get a couple more papers down the line to match that, but it will happen. Of that I am certain. And you see, I am here to show you the truth, not just believe the headlines. Now, also, since YouTube stopped recommending my physics simulation papers, which breaks my heart, at least I get to show you this, which fills me with joy.

当我尝试复现这种美丽的蜂蜜卷纸效果时,GPT6 Astra 完美做到了。绝对惊艳。Opus 5.1 没那么惊艳,但物理效果相当扎实。渲染稍逊一筹。所以现在这个,嗯,我们还需要再等几篇论文才能赶上那个水平,但这一天会来的。我对此深信不疑。你看,我在这里是为了向你们展示真相,而不只是相信头条新闻。另外,既然 YouTube 不再推荐我的物理模拟论文了,这让我心碎,但至少我还能向你们展示这个,这让我充满喜悦。

Subscribe and hit the bell to see more. Also, the catch. 4.1 Flash likes to think a lot and burns a lot of tokens. Fortunately, it is not that expensive, but man, that's a lot of tokens. But if you have the hardware, you get to run all this for free. I don't, so I run it through the API or Lambda. But given that every time DeepS publishes a new paper, AI gets cheaper for all of us. So, thank you so much for that huge contribution to humanity.

订阅并开启铃铛以查看更多内容。还有,有个小问题。4.1 Flash 喜欢思考很多,消耗大量令牌。幸运的是,它并不贵,但天哪,那真是海量令牌。但如果你有硬件,你就能免费运行所有这些。我没有,所以我通过 API 或 Lambda 运行。但鉴于每次 DeepS 发布新论文,AI 对我们所有人来说都会变得更便宜。所以,非常感谢你们为人类做出的巨大贡献。

This is going to help a lot of doctors and scientists do their work. Open science for the win. What a time to be alive. I use Lambda to reproduce AI research papers, often in minutes. It's also great to train your own models or fine-tune an existing one. Run inference or text to image or video. Easy peasy. Running a Deepseek chatbot or agent. Super fast, super reliable. Lambda gives you powerful NVIDIA GPUs to run your own experiments.

这将帮助许多医生和科学家完成他们的工作。开放科学获胜。活在这个时代真是太好了。我使用 Lambda 复现 AI 研究论文,通常只需几分钟。它也非常适合训练你自己的模型或微调现有模型。运行推理或文本转图像或视频。轻而易举。运行 Deepseek 聊天机器人或代理。超快,超可靠。Lambda 为你提供强大的 NVIDIA GPU 来运行你自己的实验。

I test ideas from the papers I cover and moments later, results. Love it. Seriously, try it out now at lambda.ai/papers. EI/ peepers.

我测试我报道的论文中的想法,片刻之后就能得到结果。太喜欢了。说真的,现在就试试 lambda.ai/papers。EI/ peepers。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

关联讨论

同一事件的更多信源

相似阅读

关联信息,但可能不是同一事件