r/MacLocalLLM • • 2d ago

Two 256 GB Mac Studios just outpaced a 4-node NVIDIA DGX Spark cluster on DeepSeek-V4.1-Flash. Half the nodes. 100% lossless.

I just open-sourced Machd (dsv41-hyper), a C++20 / Metal-4 distributed inference engine built for running DeepSeek-V4.1-Flash losslessly on 2× 256 GB Apple Mac Studio M5 Ultra over Thunderbolt 5 RDMA (JACCL).

9 Upvotes

12 comments sorted by

4

u/Lyelinn 2d ago

Every day we get more vibecoded inference engines for popular models

Perhaps instead of thinking "can I make my own super giga engine" you should be thinking "can I improve already stable and proven engine to make it faster?"

1

u/DifferentArea5439 2d ago

And what difference does that make? What makes you think proven engines were not vibe coded?

2

u/Borilentz 2d ago

That’s not the point. We get so many pieces of running software, each reinventing the wheel and each with their quirks and issues. I don’t want an engine for each of the models I run, each with their own memory management. That’s why I moved back to oMLX, because lately they are catching up again (including a cluster feature) with performance, and one inference engine for all my models is much more convenient.

1

u/DifferentArea5439 2d ago

Yes, but none of the models right now reach this performance, so it serves to fill a gap. I agree that in its current state it isn't a general purpose engine, and it is a future goal.

1

u/Borilentz 2d ago

That’s indeed how I see it: proof of concept, and it will probably land somewhere in other (probably existing) open source projects. It’s just that lately we see more new inferences engines than open weight models being introduced, all with the same promises. People just get a bit tired of it; that’s all. No intention to disqualify your work.

2

u/DifferentArea5439 2d ago

Yes, I see this as a starting point. Once I figure out all the quirks with M5 serving, I can then establish a generalized engine with model specific optimizations. Working on it

1

u/Lyelinn 2d ago

I do think that there are talented engineers that know what theyre doing besides just asking claude to make it faster. Engineers that can review pull requests and decide whats worth adding and whats worth tweaking to make it stable.

eg MLTPX, oMLX, exo, llama.cpp metal cores support, mlx-lm.

0

u/DifferentArea5439 2d ago

They still have to add individual support for each model, it is just that it is housed under a convenient app

2

u/Lyelinn 2d ago

yeah not knowing basic stuff explains why you decided to vibecode yet another engine...

1

u/utilitycoder 1d ago

Fun fact nothing is hand coded anymore, everything is vibe coded.

1

u/zaypen 2d ago

my question, are 2x256Mac cheaper than 4xSpark

1

u/OneDogSolutions 20h ago

The 4 Sparks will be around $10K more than 2x Mac Studio M5 Ultras 256GB.