News for hackers. Stuff that matters.
Re:Apple M3 Ultra by lhl on Wednesday March 05, 2025 @01:54PM (#43270659)
Since no one specifically answered your question yet, yes, you should be able to get usable performance. A Q4_K_M GGUF of DeepSeek-R1 is 404GB. This is a 671B MoE that "only" has 37B activations per pass. You'd probably expect in the ballpark of 20-30 tok/s (depends on how much actually MBW can be utilized) for text generation.

From my napkin math, the M3 Ultra TFLOPs is still relatively low (around 43 FP16 TFLOPs?), but it should be more than enough to handle bs=1 token generation (should be way <10 FLOPs/byte for inference). Now as far is its prefill/prompt processing speed... well, that's another matter.

Re:Apple M3 Ultra by drited on Wednesday March 05, 2025 @03:32PM (#43271928)
I would be curious about context window size that would be expected when generating ballpark 20 to 20 tokens per second using Deepseek-R1 Q4 on this hardware?
Re:Apple M3 Ultra by lynguist on Wednesday March 05, 2025 @06:07PM (#43274027)
I actually think it’s not a coincidence and they specifically built this M3 Ultra for DeepSeek R1 4-bit. They also highlight in their press release that they tested it with 600B class LLMs (DeepSeek R1 without referring to it by name). And they specifically did not stop at 256 GB RAM to make this happen. Maybe I’m reading too much into it.
Re:Apple M3 Ultra by a1o on Wednesday March 05, 2025 @06:53PM (#43274428)
Any ideas on power consumption? I wonder how much power would that use. It looks like it would be more efficient than everything else that currently exists.
Re:Apple M3 Ultra by ryao on Wednesday March 05, 2025 @08:56PM (#43275385)
The M2 Ultra Mac Pro could reach a maximum of 330W according to Apple:

https://support.apple.com/en-us/102839

I assume it is similar.

Re:Apple M3 Ultra by j45 on Wednesday March 05, 2025 @09:18PM (#43275585)
Looks like up to 480W listed here

https://www.apple.com/mac-studio/specs/

Re:Apple M3 Ultra by a1o on Thursday March 06, 2025 @11:27AM (#43281995)
Thanks!!
Re:Apple M3 Ultra by forrestthewoods on Wednesday March 05, 2025 @06:52PM (#43274426)
I don’t think you understand hardware timelines if you think this product had literally anything to do with anything DeepSeek.
Re:Apple M3 Ultra by bustling-noose on Wednesday March 05, 2025 @09:14PM (#43275542)
My thoughts too. This product was in the pipeline maybe 2-3 years ago. Maybe with LLMs getting popular a year ago they tried to fit more memory but it’s almost impossible to do that that close to a launch. Especially when memory is fused not just a module you can swap.
Re:Apple M3 Ultra by tgma on Thursday March 06, 2025 @01:13AM (#43276948)
Your conclusion is correct but to be clear the memory is not "fused." It's soldered close to the main processor. Not even a Package-on-Package (two story) configuration.

See photo without heatspreader here: https://wccftech.com/apple-m2-ultra-soc-delidded-package-siz...

Re:Apple M3 Ultra by bustling-noose on Saturday March 08, 2025 @12:06AM (#43297650)
I think by fuse I mean't its stuck on to the SOC module, not part of the SOC as I may have worded. While you could maybe still add NANDs later in the manufacturing process, it's probably not easy, especially if you need more NANDs and a larger module which might cause more design problems. The NAND is closer cause the controller is in the SOC. So the memory controller probably would also change with higher memory sizes which would mean this cannot be a last minute change.
Re:Apple M3 Ultra by fennecfoxy on Monday March 10, 2025 @07:49AM (#43319506)
Sheesh, the...comments on that link.
Re:Apple M3 Ultra by reitzensteinm on Thursday March 06, 2025 @12:23AM (#43276688)
Chip? Yes. Product? Not necessarily...

It's not completely out of the question that the 512gb version of M3 Ultra was built for their internal Apple silicon servers powering Private Compute Cloud, but not intended for consumer release, until a compelling use case suddenly arrived.

I don't _think_ this is what happened, but I wouldn't go as far as to call it impossible.

Re:Apple M3 Ultra by jahewson on Thursday March 06, 2025 @04:15AM (#43278100)
[delayed]
Re:Apple M3 Ultra by brookst on Thursday March 06, 2025 @07:31AM (#43279478)
Apple is positively building custom servers, and quantities are closer to the 100k range than 1000 [0]

But I agree they are not using m3 ultra for that. It wouldn’t make any sense.

0. https://www.theregister.com/AMP/2024/06/11/apple_built_ai_cl...

Re:Apple M3 Ultra by teknologist on Friday March 07, 2025 @10:02PM (#43297119)
That could be why they're also selling it as the Mac Studio M3 Ultra
Re:Apple M3 Ultra by forrestthewoods on Thursday March 06, 2025 @01:07AM (#43276915)
DeepSeek R1 came out Jan 20.

Literally impossible.

Re:Apple M3 Ultra by reitzensteinm on Thursday March 06, 2025 @01:32AM (#43277081)
The scenario is that the 512gb M3 Ultra was validated for the Mac Studio, and in volume production for their servers, but a business decision was made to not offer more than a 256gb SKU for Mac Studio.

I don't think this happened, but it's absolutely not "literally impossible". Engineering takes time, artificial segmentation can be changed much more quickly.

Re:Apple M3 Ultra by forrestthewoods on Thursday March 06, 2025 @02:54AM (#43277597)
From “internal only” to “delivered to customers” in 6 weeks is literally impossible.
Re:Apple M3 Ultra by ryao on Thursday March 06, 2025 @09:33AM (#43280649)
This change is mostly just using higher density ICs on the assembly line and printing different box art with a SKU change. It does not take much time, especially if they had planned it as a possible product just in case management changed its mind.
Re:Apple M3 Ultra by kmacdough on Wednesday March 05, 2025 @09:17PM (#43275573)
That or it's the luckiest coincidence! In all seriousness, Apple is fairly consistent about not pushing specs that don't matter and >256GB is just unnecessary for most other common workloads. Factors like memory bandwidth, core count and consumption/heat would have higher impact.

That said, I doubt it was explicitly for R1, but rather based the industry a few years ago when GPT 3s 170B was SOTA, but the industry was still looking larger. "As much memory as possible" is the name of the game for AI in a way that's not true for other workloads. It may not be true for AI forever either.

Re:Apple M3 Ultra by icedchai on Thursday March 06, 2025 @06:43PM (#43286163)
The high end Intel Macs supported over a TB of RAM, over 5 years ago. It's kinda crazy Apple's own high end chips didn't support more RAM. Also, the LLM use case isn't new... Though DeepSeek itself may be. RAM requirements always go up.
Re:Apple M3 Ultra by teknologist on Saturday March 08, 2025 @12:27AM (#43297726)
Just to clarify. There is an important difference between unified memory, meaning accessible by both CPU and GPU, and regular RAM that is only accessible by CPU.
Re:Apple M3 Ultra by angoragoats on Monday March 10, 2025 @04:50PM (#43325927)
As mentioned elsewhere in this thread, unified memory has existed long before Apple released the M1 CPU, and in fact many Intel processors that Apple used before supported it (though the Mac pros that supported 1.5TB of RAM did not, as they did not have integrated graphics).

The presence of unified memory does not necessarily make a system better. It’s a trade off: the M-series systems have high memory bandwidth thanks to the large number of memory channels, and the integrated GPUs are faster than most others. But you can’t swap in a faster GPU, and when using large LLMs even a Mac Studio is quite slow compared to using discrete GPUs.

Re:Apple M3 Ultra by nightski on Wednesday March 05, 2025 @11:00PM (#43276270)
$10k to run a 4 bit quantized model. Ouch.
Re:Apple M3 Ultra by vaxman on Thursday March 06, 2025 @01:40AM (#43277140)
and low TOPS, but da novices will go deep in debt for dem. (Apple employee up/down voters, please --I have a lifetime of experience and your company might have failed w/o me and my million dollar pos at juuust the righ time, m'kay?)
Re:Apple M3 Ultra by vaxman on Thursday March 06, 2025 @03:56AM (#43277991)
M3 Ultra is 17-36 TOPS, GB10 (Project DIGITS) is more like 270 TOPS. Two Project DIGITS will cost about $4K less than an M3 Ultra Studio. This is a fact. GB10 is "only" 128GB @ 500Mbps tho.

Downvote away Cupetino Tea drinkers!

Re:Apple M3 Ultra by 1R053 on Thursday March 06, 2025 @04:39AM (#43278224)
are you comparing the same models? How did you calculate the TOPS for M3 Ultra?
Re:Apple M3 Ultra by vaxman on Thursday March 06, 2025 @02:10PM (#43283975)
An M3 Ultra is two M3 Max chips connected via fabric, so physics.

Did not mean to shit on anyone's parade, but it's a trap for novices, with the caveat that you reportedly can't buy a GB10 until "May 2025" and the expectation that it will be severely supply constrained. For some (overfunded startups running on AI monkey code? Youtube Influencers?), that timing is an unacceptable risk, so I do expect these things to fly off the shelves and then hit eBay this Summer.

Re:Apple M3 Ultra by fredoliveira on Thursday March 06, 2025 @10:19AM (#43281230)
what?
Re:Apple M3 Ultra by vaxman on Thursday March 06, 2025 @02:39PM (#43284294)
Sorry, an apostrophe got lost in "PO's"
Re:Apple M3 Ultra by titanomachy on Thursday March 06, 2025 @01:42PM (#43283621)
I'm downvoting you because your use of language is so annoying, not because I work for Apple.
Re:Apple M3 Ultra by vaxman on Thursday March 06, 2025 @08:22PM (#43286694)
So, Microsoft?
Re:Apple M3 Ultra by water9 on Thursday March 06, 2025 @02:40AM (#43277498)
The M4 MacBook Pro 128GB can run a 32B perimeter model with an 8 bit quantized model just fine
Re:Apple M3 Ultra by OriginalMrPink on Thursday March 06, 2025 @08:03AM (#43279737)
That's today. What about tomorrow?
Re:Apple M3 Ultra by tgma on Thursday March 06, 2025 @01:02AM (#43276889)
Pretty sure this has absolutely nothing to do with Deepseek and even local LLM at large, which has been a thing for a while and an obvious use case original Llama leak and llama.cpp coming around.

Fact is Mac Pros in the Intel days supported 1.5TB RAM in some configurations[1] and that was 6 years ago expectations of their high end customer base. They needed to address the gap for those customers so they would have shipped such a product regardless. Local LLM is cherry-on-top. Deepseek in particular almost certainly had nothing to do with it. They will still need to double their supported RAM in their SoC to get there. Perhaps in a Mac Pro or a different quad-Max-glued chip.

[1]: https://support.apple.com/en-us/101639

Re:Apple M3 Ultra by saagarjha on Thursday March 06, 2025 @02:15AM (#43277340)
The thing that people are excited about here is unified memory that the GPU can address. Mac Pro had discrete GPUs with their own memory.
Re:Apple M3 Ultra by water9 on Thursday March 06, 2025 @02:38AM (#43277488)
Intel integrated graphics, technically also used unified memory with the standard dram
Re:Apple M3 Ultra by kergonath on Thursday March 06, 2025 @04:05AM (#43278043)
Those also have terrible performance and worse bandwidth. I am not sure they are really relevant, to be honest.
Re:Apple M3 Ultra by McDaveNZ on Thursday March 06, 2025 @03:18AM (#43277764)
Did the Xeons in the Mac Pro even have integrated graphics?
Re:Apple M3 Ultra by icedchai on Thursday March 06, 2025 @06:38PM (#43286141)
So did the Amiga, almost 40 years ago...
Re:Apple M3 Ultra by vaxman on Thursday March 06, 2025 @08:51PM (#43286824)
You mean this? ;) http://de.wikipedia.org/wiki/Datei:Amiga_1000_PAL.jpg

RIP Jay Miner who watched his unified memory daughters Agnus, Denise and Paula be slowly murdered by Jack Tramiel's vengeance against Irving Gould. [Why couldn't the shareholders have stormed their boardroom 180 days before the company ran out of cash, installed interim management who, in turn, would have brought back the megalomaniac Founder that would, until his dying breath, keep spreading their cash to the super brilliant geniuses that made all the magic chips happen and then turn the resulting empire over to ops people to make their workplace so uncomfortable they all retire early and live happily ever after on tropical islands and snowy mountain tops?]

Re:Apple M3 Ultra by icedchai on Thursday March 06, 2025 @10:26PM (#43287167)
Yep! Though one could argue the Amiga wasn't true unified memory due to the chip RAM limitations. Depending on the Agnus revision, you'd be limited to 512, 1 meg, or 2 meg max of RAM addressable by the custom chips ("chip RAM".)
Re:Apple M3 Ultra by vaxman on Wednesday March 12, 2025 @04:45AM (#43341050)
fun fact: M-series that are configured to use more than 75% of shared memory for GPU can make the system go boom...something to do with assumptions macOS makes that can be fixed by someone with a "private key" to access kernel mode (maybe not a hardware limit).
Re:Apple M3 Ultra by icedchai on Saturday March 15, 2025 @04:43PM (#43375021)
I messed around with that setting on one of my Macs. I wanted to load a large LLM model and it needed more than 75% of shared memory.
Re:Apple M3 Ultra by tgma on Thursday March 06, 2025 @11:24AM (#43281957)
I understand why they are excited about it—just pointing out it is a happy coincidence. They would have and should have made such a product to address the need of RAM users alone, not VRAM in particular, before they have a credible case to cut macOS releases on Intel.
Re:Apple M3 Ultra by brookst on Thursday March 06, 2025 @07:26AM (#43279430)
Design work on the Ultra would have started 2-3 years ago, and specs for memory at least 18 months ago. I’m not sure they had that kind of inside knowledge for what Deepseek specifically was doing that far in advance. Did Deepseek even know that long ago?
Re:Apple M3 Ultra by happyopossum on Thursday March 06, 2025 @11:30AM (#43282041)
> they specifically built this M3 Ultra for DeepSeek R1 4-bit

Which came out in what, mid January? Yeah, there's no chance Apple (or anyone) has built a new chip in the last 45 days.

Re:Apple M3 Ultra by SV_BubbleTime on Thursday March 06, 2025 @12:27PM (#43282755)
No one is saying they built a new chip.

But the decision to come to market with a 512GB sku may have changed from not making sense to “people will buy this”.

Re:Apple M3 Ultra by cyanydeez on Thursday March 06, 2025 @06:33PM (#43286102)
Dies are designed in years.

This was just a coincidence.

Re:Apple M3 Ultra by SV_BubbleTime on Friday March 07, 2025 @11:01AM (#43291243)
What part of “no one is saying they designed a new chip” is lost here?
Re:Apple M3 Ultra by cyanydeez on Friday March 07, 2025 @02:03PM (#43293145)
Sorry, non of us a fan boys trying to shape apple is great narratives
Re:Apple M3 Ultra by vaxman on Thursday March 06, 2025 @08:18PM (#43286672)
"No chance?" But it has been reported that the next generation of Apple Silicon started production a few weeks ago. Those deliveries may enable Apple to release its remaining M3 Ultra SKUs for sale to the public (because it has something Better for its internal PCC build-out).

It also may point to other devices ᯅ depending upon such new Apple Silicon arriving sooner, rather than later. (Hey, I should start a YouTube channel or religion or something. /s)

Re:Apple M3 Ultra by tempaccount420 on Monday March 10, 2025 @12:02PM (#43321981)
Don't they build these Macs just-in-time? The bandwidth doesn't change with the RAM, so surely it couldn't have been that hard to just... use higher capacity RAM modules?
Re:Apple M3 Ultra by jrflowers on Thursday March 06, 2025 @04:48PM (#43285390)
> they specifically built this M3 Ultra for DeepSeek R1 4-bit.

This makes sense. They started gluing M* chips together to make Mac Studios three years ago, which must have been in anticipation of DeepSeek R1 4-bit