News for hackers. Stuff that matters.
Re:Apple's On-Device and Server Foundation Models by pjmlp on Tuesday June 11, 2024 @01:30AM (#40642694)
Not at Apple's price points.
Re:Apple's On-Device and Server Foundation Models by throwaway4good on Tuesday June 11, 2024 @01:33AM (#40642730)
I think NVIDIA has the highest hardware markup at the moment.
Re:Apple's On-Device and Server Foundation Models by Hugsun on Tuesday June 11, 2024 @02:34AM (#40643200)
You get considerably more ML FLOPS per dollar in a 4090 than any mac. It seems like the base M2 MAX is at roughly the same price point. It does grant you more RAM.

Quadro and Tesla cards might be a different story. I would still like to see concrete FLOPS/$ numbers.

Re:Apple's On-Device and Server Foundation Models by throwaway4good on Tuesday June 11, 2024 @02:42AM (#40643253)
The M2 is a chip designed to be in a laptop (and it is quite powerful given its low power consumption). Presumedly they have a different chip or at least completely different configuration (RAM, network, etc.) in their data centers.
Re:Apple's On-Device and Server Foundation Models by skohan on Tuesday June 11, 2024 @04:05AM (#40643754)
There was a rumor floating around that Apple might try to enter the server chip business with an AI chip, which is an interesting concept. Apple's never really succeeded in the B2B business, but they have proven a lot of competency in the silicon space.

Even their high-end prosumer hardware could be interesting as an AI workstation given the VRAM available if the software support were better.

Re:Apple's On-Device and Server Foundation Models by jitl on Tuesday June 11, 2024 @08:59AM (#40645719)
> Apple's never really succeeded in the B2B business

Idk every business I’ve worked and all the places my friends work seem to be 90% Apple hardware, with a few Lenovo issued for special case roles in finance or something.

Re:Apple's On-Device and Server Foundation Models by neodymiumphish on Tuesday June 11, 2024 @09:08AM (#40645791)
They mean server infrastructure.
Re:Apple's On-Device and Server Foundation Models by mrweasel on Tuesday June 11, 2024 @03:06AM (#40643413)
The interesting point here is that developers targeting the Mac can safely assume that the users will have a processor capable of significant AI/ML workloads. On the Windows (and Linux) side of things, there's no common platform, no assumption that the users will have an NPU or GPU capable of doing what you want. I think that's also why Microsoft was initially going for the ARM laptops, where they'd be sure that the required processing power is available.
Re:Apple's On-Device and Server Foundation Models by skohan on Tuesday June 11, 2024 @04:06AM (#40643759)
I believe MS is trying to standardize this, in the same way as they do with DirectX support levels, but I agree it's probably going to be inherently a bit less consistent than Apple offerings
Re:Apple's On-Device and Server Foundation Models by pjmlp on Tuesday June 11, 2024 @07:22AM (#40644950)
DirectML can use multiple backends.
Re:Apple's On-Device and Server Foundation Models by qwytw on Tuesday June 11, 2024 @03:19AM (#40643505)
> The interesting point here is that developers targeting the Mac can safely assume that the users will have a processor capable of significant AI/ML workloads

Also that a significant proportion (majority?) of them will have just 8 GB of memory which is not exactly sufficient to run any complex AI/ML workloads.

Re:Apple's On-Device and Server Foundation Models by talldayo on Tuesday June 11, 2024 @03:10PM (#40650211)
Easy solution; just swap multiple gigabytes of your model to SSD-based ZRAM when you run out of memory. What could possibly go wrong?
Re:Apple's On-Device and Server Foundation Models by sofixa on Tuesday June 11, 2024 @03:55AM (#40643703)
That's probably where Microsoft's "Copilot+ PCs" come in.
Re:Apple's On-Device and Server Foundation Models by pjmlp on Tuesday June 11, 2024 @07:23AM (#40644955)
Plus DirectML, wich as the name implies, builds on top of DirectX, allowing multiple backends, CPU, GPU, NPU.
Re:Apple's On-Device and Server Foundation Models by treprinum on Tuesday June 11, 2024 @04:23AM (#40643853)
How does it help me (with maxed out M3 Max) that Apple might have some chip in the future right now? I do DL on A6000 and 4090, not waiting until Apple produces a chip someday that is faster than 1650 in ML...
Re:Apple's On-Device and Server Foundation Models by InsomniacL on Tuesday June 11, 2024 @05:29AM (#40644225)
That sounds like a big issue, but surely assuming for either case is bad.

I expect OS's will expose an API which, when queried, will indicate the level of AI inference available.

Similar to video decoding/encoding where clients can check if hardware acceleration is available.

Re:Apple's On-Device and Server Foundation Models by esskay on Tuesday June 11, 2024 @04:53AM (#40644010)
Of course you do, Apple's selling mobile SOC's not high end cards. That doesn't mean they're incapable of making them for the right application. You don't seriously think the server farms running on M4 Pro Max chips do you...
Re:Apple's On-Device and Server Foundation Models by hajile on Tuesday June 11, 2024 @08:42AM (#40645562)
They don't need the entire mac. Their cost per Max chip is probably $200-300 which beats the 4090 by a massive margin and each chip can do more than a 4090 because it also has a CPU onboard.

4090 peaks out at around 550w which means they can run 5+ of their Max chips in the same power budget.

A 4090 is $2000. Apple can probably get 5 chips on a custom motherboard for that cost. They'll use the same amount of power, but get a lot more raw compute.

Re:Apple's On-Device and Server Foundation Models by eek2121 on Tuesday June 11, 2024 @09:28AM (#40645961)
The GPU in the M-series is much slower than a 4090. 4060-4070ish performance at best, and it varies quite a bit.
Re:Apple's On-Device and Server Foundation Models by hajile on Tuesday June 11, 2024 @10:46AM (#40646774)
If they can get 5 4070s for the price and power of one 4090, that's a win for them as they'll get more performance per dollar and per watt.
Re:Apple's On-Device and Server Foundation Models by talldayo on Tuesday June 11, 2024 @03:09PM (#40650200)
> and per watt

Part of the advantage of using "one 4090" is that the max TDP is only 450w, as opposed to 5 M2 Ultras running at ~150w each. When you scale up to Nvidia's latest Blackwell architecture, I genuinely don't know how Apple could beat them on performance-per-watt. Buying M2 Ultras wholesale is probably cheaper than an NVL72 cluster, but certainly not what you'd want to use for Linux or maximizing AI-based performance-per-watt.

Re:Apple's On-Device and Server Foundation Models by hajile on Tuesday June 11, 2024 @04:45PM (#40651267)
You are missing the point. We're discussing if Apple can use their own chips more cheaply than buying Nvidia's chips.

The Max TDP is not actual peak power consumption. Gamer's nexus recorded 500w peak and almost 670w overclocked. Most reviews I've looked at seem to put peak power consumption around 550w.

M2 Ultra wasn't even mentioned and it uses more than 150w. The correct question would be about M3 Max as we have solid numbers on it. M3 Max uses around 100w when both the GPU and CPU are heavily utilized and less than that when only the GPU is used.

This means that Apple could run 5 of their M3 Max chips in the same peak power as the 4090. But wait, there's more. 4090 doesn't run in a vacuum. It requires a separate CPU setup and a couple hundred more watts.

That means we could power 7 or so M3 Max chips with that same amount of power.

Of course, this isn't the whole story. 4090 isn't a professional chip either (while Apple can bin and certify their own CPUs and know they're getting a server-grade chip) and the 4090 also doesn't have nearly enough RAM. H100 starts at $25,000 and goes up. Apple could buy 75-100 M3 Max chips for that kind of money. That's certainly a load more compute than H100 would offer. Blackwell will be even more expensive in comparison.

Re:Apple's On-Device and Server Foundation Models by ribit on Tuesday June 11, 2024 @03:17PM (#40650290)
You need to consider this in the context of the relevant task. Nvidia GPUs have extremely high peak performance for GEMM, but when working with LLMs, bandwidth (and RAM capacity) becomes the limiting factor. There is a reason why real ML-focused datacenter Nvidia GPUs use much wider RAM interfaces and a much higher price point. The M2 Ultra might not have the raw compute, but it has a lot of RAM and large caches.

but you also need the bandwidth to feed those units. If LLMs are your game, you need a lot of RAM and a lot of bandwidth. The 4090 can't really stretch their tensor core muscle in this scenario. That's why real ML datacenter Nvidia tech uses much wider RAM interfaces and a considerably different price point. While the M2 Ultra does not have as much

Re:Apple's On-Device and Server Foundation Models by Hugsun on Wednesday June 12, 2024 @06:24AM (#40656475)
> Their cost per Max chip is probably $200-300 which beats the 4090 by a massive margin...

That's true. I was talking about end user pricing.

> ...each chip can do more than a 4090 because it also has a CPU onboard.

That's a strange thing to say. It has a CPU, correct. It makes the chip more versatile but for data center ML tasks it doesn't really matter. A 4090 chip also has much more ML relevant compute per chip. So apple's chips can't really "do more than a 4090" in any relevant way.

Of course apple pays less for their in house made chips vs external products. That comparison doesn't seem relevant to the context, e.g. they're not going to challenging CUDA with internal chips.

They might get more compute per watt though. My guess is that nvidias datacenter chips are competitive in that space, but that's another story.

Re:Apple's On-Device and Server Foundation Models by pjmlp on Tuesday June 11, 2024 @01:39AM (#40642798)
Depends on which card one is talking about.
Re:Apple's On-Device and Server Foundation Models by throwaway4good on Tuesday June 11, 2024 @02:15AM (#40643051)
Maybe. It is not really obvious how much you for the AI accellerator part of their offerings. For example the chips in iPhones are quite powerful even adjusted for price. However for some cases - like the max chip in the macbooks or the extra ram - their pricing seems high - maybe even nvidia high.
Re:Apple's On-Device and Server Foundation Models by bayindirh on Tuesday June 11, 2024 @02:10AM (#40643017)
Nope, it doesn't.
Re:Apple's On-Device and Server Foundation Models by pjmlp on Tuesday June 11, 2024 @02:43AM (#40643258)
Yes, it does.

Should we keep arguing like on school playground?

Re:Apple's On-Device and Server Foundation Models by bayindirh on Tuesday June 11, 2024 @02:47AM (#40643293)
Maybe, if you prefer. Honestly, I'm migrating a server fleet today, so notifications are hard to hear over these Apollo 6500 fans.
Re:Apple's On-Device and Server Foundation Models by pjmlp on Tuesday June 11, 2024 @03:15AM (#40643475)
Not everyone needs those.
Re:Apple's On-Device and Server Foundation Models by bayindirh on Tuesday June 11, 2024 @02:10AM (#40643011)
I mean, even Apple can't match the markups nVidia has right now. If you break a GPU in your compute server, you wait months for a replacement, and the part is sent back if you can't replace it in five days.

Crazy times.

Re:Apple's On-Device and Server Foundation Models by c0balt on Tuesday June 11, 2024 @03:24AM (#40643532)
Enterprise offerings tend to differ. You can get a replacement NVIDIA GPU via a partner, like Lenovo, in 2-3 weeks. And that's on the high side for some support contracts.
Re:Apple's On-Device and Server Foundation Models by bayindirh on Tuesday June 11, 2024 @03:26AM (#40643541)
That's from HPE, for an Apollo 6500.