正在加载视频...

视频加载失败

DwarfStar DeepSeek v4 Flash 0731 pre-M5 kernel keeps improving 💪🏻 - prefill +11% - decode +10% - single request no DSpark/MTP. - 100% same logics between baseline and now. Today is QA like crazy. I hope to file PR by EOD antirez Here are results on the M3 Ultra...

18,754 次观看 • 3 个月前 •via X (Twitter)

34 条评论

David Dalcu 的头像
David Dalcu3 个月前

It’s crazy that testing has become the bottleneck and not coding… it’s not even testing but hardware being slow and taking forever to run through the automated tests. Btw you should check out llmprobe, I built it specifically for this, fast iteration, before the final big test. “npx llmprobe@latest” give it a try and let me know if you like it. On my github too.

Ivan Fioravanti 的头像
Ivan Fioravanti3 个月前

@antirez Sure! I’ll give it a try, you’re building great things!

Ivan Fioravanti 的头像
Ivan Fioravanti3 个月前

I'll push this beyond 40 before creating PR. I think/hope there is still room for improvement.

Kavin Prasanth 的头像
Kavin Prasanth3 个月前

@antirez @ivanfioravanti On my M3 Ultra with my custom Metal implementation, I’m seeing about 45 tokens/s decode and 426 tokens/s prefill on DeepSeek-V4-Flash-0731-MXFP4-MLX.

CV.YH 的头像
CV.YH3 个月前

@antirez Have you tried batching the prefill?

Yves Van Den Broek 的头像
Yves Van Den Broek3 个月前

@antirez Can this be used over MLX Distributed? Using 2 M5Max with MLX/MTP … 30 t/s

Ivan Fioravanti 的头像
Ivan Fioravanti3 个月前

@antirez ds4 has its own TP distributed mechanism.

Yves Van Den Broek 的头像
Yves Van Den Broek3 个月前

@antirez Yes, did not realize but the drafter is running indeed on the 2 nodes in sync.

AlexandeR Aguilar 的头像
AlexandeR Aguilar3 个月前

@antirez

Ivan Fioravanti 的头像
Ivan Fioravanti3 个月前

prime-agent played a great role here!

netrunner 的头像
netrunner3 个月前

@antirez What's next on the pre-m5 line?

TheDavidTai 的头像
TheDavidTai3 个月前

@antirez I was actually hoping that @eigenlabs would do a contest for DSv4 targeting both the 2bit and the 4bit. I'm curious if they'd get as much participation due to the ram floor.

Ivan Fioravanti 的头像
Ivan Fioravanti3 个月前

@antirez @eigenlabs 4bit is big, 256GB up. 2bit would be better, but still not so common.

TheDavidTai 的头像
TheDavidTai3 个月前

@antirez @eigenlabs Yeah, the tiny ones are the most fun to optimize but they are not that useful outside of the 35b variants.

Ivan Fioravanti 的头像
Ivan Fioravanti3 个月前

@antirez @eigenlabs 27b?

TheDavidTai 的头像
TheDavidTai3 个月前

@antirez @eigenlabs Its memory bound and close to compute bound so its very hard. I was looking at the encoding stuff they were doing for NVFP4 on Laguna so there's probably some headway to get around the mid 80s if those pan out. There's just no way around having to read 27b weights.

Ivan Fioravanti 的头像
Ivan Fioravanti3 个月前

logits not logics

Kev 的头像
Kev3 个月前

@antirez Very cool.

Ivan Fioravanti 的头像
Ivan Fioravanti3 个月前

@antirez Stay tuned for more! 🚀

Rivers 的头像
Rivers3 个月前

@antirez So basically it runs on M3 Ultra with minimal quality loss?

Glitch 81 ᯅ 的头像
Glitch 81 ᯅ3 个月前

@antirez How much ram does your m3 ultra have

Juxhin Radhima 的头像
Juxhin Radhima3 个月前

@antirez @ivanfioravanti can you share your benchmarks here for the community with a PR? Thank you

pūnktfrm 的头像
pūnktfrm1 个月前

@antirez Great work! 0731 is a fine model!

Federico Sciuca 的头像
Federico Sciuca3 个月前

@antirez Try it with quantprobe, your datapoint would be interesting in my charts! I’m about to test it on my 6GB card and 16GB ram

BullBear.News 的头像
BullBear.News3 个月前

@antirez i spent all morning debugging a kernel panic just to find out my prefill metrics were off by a factor of ten

Zack Proser 的头像
Zack Proser3 个月前

@antirez Awesome work.

iTokens.io ⚡️ AI API 的头像
iTokens.io ⚡️ AI API3 个月前

@antirez Great test, Ivan👍 If you'd like to try the cloud version later, feel free to reach out. Our DeepSeek V4 Flash 0731 is now live, and we can offer you test credits to help more people discover this great model.

yingying 的头像
yingying3 个月前

@antirez Or use Dram instead of HBM to serve the KV cache?

Sakura Yuki 的头像
Sakura Yuki3 个月前

@antirez The +10% decode on M3 Ultra is the headline. Prefill has more room to move, but squeezing 35.27 to 38.86 tok/s from a single-request path is real kernel work.

rusa 的头像
rusa3 个月前

@antirez prefill and decode usually move for different reasons, one compute bound and one bandwidth bound. both landing near ten points at once suggests dispatch overhead rather than the math, which is the better kind of win because it holds across shapes.

William Chase 的头像
William Chase3 个月前

@antirez Cool speed gains. But does it actually write better cold emails? That's what I need to know.

King Le Breton 的头像
King Le Breton3 个月前

@antirez what is the githup repo?

yingying 的头像
yingying3 个月前

@antirez Can it use SSD as the kv cache?

sofia a ᯓ★ 的头像
sofia a ᯓ★3 个月前

@antirez Strong single-request gains, but that's the easy case. How does it handle concurrent requests or batching?

相关视频