Загрузка видео...

Не удалось загрузить видео

На главную

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?

Похожие видео