News for hackers. Stuff that matters.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by jsheard on Wednesday October 16, 2024 @04:16PM (#41863390)
These NPUs are tying up a substantial amount of silicon area so it would be a real shame if they end up not being used for much. I can't find a die analysis of the Snapdragon X which isolates the NPU specifically but AMDs equivalent the same ~50 TOPS performance target can be seen here, and takes up approximately as much area as three high performance CPU cores:

https://www.techpowerup.com/325035/amd-strix-point-silicon-p...

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by Kon-Peki on Wednesday October 16, 2024 @05:10PM (#41863880)
Modern chips have to dedicate a certain percentage of the die to dark silicon [1] (or else they melt/throttle to uselessness), and these kinds of components count towards that amount. So the point of these components is to be used, but not to be used too much.

Instead of an NPU, they could have used those transistors and die space for any number of things. But they wouldn't have put additional high performance CPU cores there - that would increase the power density too much and cause thermal issues that can only be solved with permanent throttling.

[1] https://en.wikipedia.org/wiki/Dark_silicon

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by IshKebab on Wednesday October 16, 2024 @05:47PM (#41864171)
If they aren't being used it would be better to dedicate the space to more SRAM.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by a2l3aQ on Wednesday October 16, 2024 @06:05PM (#41864316)
The point is parts of the CPU have to be off or throttled down when other components are under load to maintain TDP, adding cache that would almost certainly be being used defeats the point of that.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by jsheard on Wednesday October 16, 2024 @06:19PM (#41864415)
Doesn't SRAM have much lower power density than logic with the same area though? Hence why AMD can get away with physically stacking cache on top of more cache in their X3D parts, without the bottom layer melting.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by wtallis on Wednesday October 16, 2024 @07:28PM (#41864937)
The SRAM that AMD is stacking also has the benefit of being last-level cache, so it doesn't need to run at anywhere near the frequency and voltage that eg. L1 cache operates at.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by Kon-Peki on Wednesday October 16, 2024 @07:03PM (#41864778)
Yes, cache has a much lower power density and could have been a candidate for that space.

But I wasn’t on the design team and have no basis for second-guessing them. I’m just saying that cramming more performance CPU cores onto this die isn’t a realistic option.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by IshKebab on Thursday October 17, 2024 @02:26AM (#41866947)
Cache doesn't use nearly as much power as active computation; that was my point.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by VHRanger on Thursday October 17, 2024 @11:14AM (#41870432)
SRAM is extremely hot, it's the very opposite of dark silicon
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by jcgrillo on Wednesday October 16, 2024 @10:16PM (#41865813)
Question--what's to be lost by making your features sufficiently not dense to allow them to cool at full tilt?
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by AlotOfReading on Wednesday October 16, 2024 @10:36PM (#41865917)
Messes with timing, among other things. A lot of those structures are relatively fixed blocks that are designed for specific sizes. Signals take more time to propagate longer distances, and longer conductors have worse properties. Dense and hot is faster and more broadly useful.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by jcgrillo on Wednesday October 16, 2024 @10:52PM (#41866001)
Interesting, so does that mean we're basically out of runway without aggressive cooling?
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by joha4270 on Thursday October 17, 2024 @02:53AM (#41867074)
No.

Every successive semiconductor node uses less power than the previous per transistor at the same clock speed. Its just that we then immediately use this headroom to pack more transistors closer and run them faster, so every chip keeps running into power limits, even if they continually do more with said power.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by positr0n on Thursday October 17, 2024 @01:19AM (#41866644)
Good discussion on how at multi GHz clock speeds, the speed of light is actually limiting on some circuit design choices: https://news.ycombinator.com/item?id=12384596
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by ezst on Wednesday October 16, 2024 @05:13PM (#41863905)
I can't wait for the LLM fad to be over so we get some sanity (and efficiency) back. I personally have no use for this extra hardware ("GenAI" doesn't help me in any way nor supports any work-related tasks). Worse, most people have no use for that (and recent surveys even show predominant hostility towards AI creep). We shouldn't be paying extra for that, it should be opt-in, and then it would become clear (by looking at the sales and how few are willing to pay a premium for "AI") how overblown and unnecessary this is.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by mardifoufs on Wednesday October 16, 2024 @08:08PM (#41865168)
NPUs were a thing (and a very common one in mobile CPUs too) way before the LLM craze.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by renewiltord on Wednesday October 16, 2024 @05:42PM (#41864134)
I was telling someone this and they gave me link to a laptop with higher battery life and better performance than my own, but I kept explaining to them that the feature I cared most about was die size. They couldn't understand it so I just had to leave them alone. Non-technical people don't get it. Die size is what I care about. It's a critical feature and so many mainstream companies are missing out on my money because they won't optimize die size. Disgusting.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by _zoltan_ on Wednesday October 16, 2024 @06:52PM (#41864691)
News flash: you're in the niche of the niche. People don't care about die size.

I'd be willing to bet that the amount of money they are missing out on is miniscule and is by far offset by people's money who care about other stuff. Like you know, performance and battery life, just to stick to your examples.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by mattnewton on Wednesday October 16, 2024 @09:33PM (#41865605)
That’s exactly what the poster is arguing- they are being sarcastic.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by shermantanktop on Thursday October 17, 2024 @10:44AM (#41870152)
It whooshed over my head too. That’s the danger of sarcasm…it’s a cooperative form of humor but the other party might not get it.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by nl on Wednesday October 16, 2024 @06:04PM (#41864304)
Is this a parody?

Why would anyone care about die size? And if you do why not get one of the many low power laptops with Atoms etc that do have small die size?

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by thfuran on Wednesday October 16, 2024 @06:25PM (#41864462)
Yes, they're making fun of the comment they replied to.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by singlepaynews on Wednesday October 16, 2024 @11:47PM (#41866239)
Would you do me the favor of explaining the joke? I get the premise—nobody cares about die size, but the comment being mocked seems perfectly innocuous to me? They want a laptop without an NPU b/c according to link we get more out of CPU anyways? What am I missing here?
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by michaelt on Thursday October 17, 2024 @04:57AM (#41867686)
It has been the norm for several decades to have hardware features that go unused.

The realities of mass manufacturing and supply chains and whatnot mean it's cheaper to get a laptop with a webcam I don't use, a fingerprint reader I don't use, and an SD card reader I don't use. It's cheaper to get a CPU with integrated graphics I don't use, a trusted execution environment I don't use, remote management features I don't use. It's cheaper to get a discrete GPU with RGB LEDs I don't use, directx support I don't use, four outputs when I only need one. It's cheaper to get a motherboard with integrated wifi than one without.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by tedunangst on Wednesday October 16, 2024 @06:29PM (#41864496)
No, no, no, you just don't get it. The only thing Dell will sell me is a laptop 324mm wide, which is totally appalling, but if they offered me a laptop that's 320mm wide, I'd immediately buy it. In my line of work, which is totally serious business, every millimeter counts.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by throwaway48476 on Wednesday October 16, 2024 @06:19PM (#41864414)
Maybe through a game of telephone they confused die size and node size?
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by waveBidder on Wednesday October 16, 2024 @07:25PM (#41864921)
your satire is off base enough that people don't understand it's satire.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by heavyset_go on Wednesday October 16, 2024 @08:12PM (#41865190)
The Poe's Law means it's working.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by 0xDEAFBEAD on Thursday October 17, 2024 @01:10AM (#41866598)
Says a lot about HN that so many believed he was genuine.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by fijiaarone on Wednesday October 16, 2024 @11:50PM (#41866254)
Yeah, I know what you mean. I hate lugging around a big CPU core.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by ezst on Thursday October 17, 2024 @02:19AM (#41866907)
I'm fine with the mockery, I genuinely hadn't realized that "wanting to pay for what one needs" was such a hot and controversial take.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by ginko on Thursday October 17, 2024 @05:36AM (#41867899)
The extra cost of the area spent on npu cores is pretty hard to quantify. I guess removing it would allow for higher yields and number of chips per wafer but then you’d need to set up tooling for two separate runs (one with npu and one without) Add to that that most of the cost is actually the design of the chip and it’s clear why manufacturers just always add the extra features. Maybe they could sell a chip with the NPU permanently disabled but I guess that wouldn’t be what you want either?

Fwiw there should be no power downside to having an unused unit. It’ll just not be powered.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by ezst on Thursday October 17, 2024 @10:39AM (#41870106)
The argument boils down to "since it's there, better to keep it because making a version without it would defeat economies of scale and not save much, if at all", and that's a sensible take… under the assumption that there's a general demand for NPUs, which I contest.

In practice, everyone is paying a premium for NPUs that only a minority desires, and only a fraction of that minority essentially does "something" with it.

This thread really helps to show that the use-cases are few, non-essential, and that the general application landscape hasn't adopted NPUs and has very little incentive to do so (because of the alien programming model, because of hardware compat across vendors, because of the ecosystem being a moving target with little stability in sight, and because of the high-effort/low-reward in general).

I do want to be wrong, of course. Tech generally is exciting because it offers new tools to crack old problems, opening new venues and opportunities in the process. Here it looks like we have a solution in search for a problem that was set by marketing departments.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by Miraste on Thursday October 17, 2024 @02:01PM (#41872019)
Modern SoCs already have all kinds of features with use-cases that are few and non-essential. Granted they don't take as much space as NPUS, but manufacturers are betting that if NPUs are available, software will evolve to use them regularly. If it doesn't, they'll probably go away in a few generations. But at a minimum, Microsoft and Apple seem highly committed to using them.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by DrillShopper on Wednesday October 16, 2024 @05:21PM (#41863966)
Corporatized gains in the market from hype Socialized losses in increased carbon emissions, upheaval from job loss, and higher prices on hardware.

The more they say the future will be better the more that it looks like the status quo.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by kalleboo on Wednesday October 16, 2024 @09:30PM (#41865589)
> most people have no use for that

Apple originally added their NPUs before the current LLM wave to support things like indexing your photo library so that objects and people are searchable. These features are still very popular. I don't think these NPUs are fast enough for GenAI anyway.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by wmf on Wednesday October 16, 2024 @10:31PM (#41865887)
MS Copilot and "Apple Intelligence" are running a small language model and image generation on the NPU so that should count as "GenAI".
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by kalleboo on Thursday October 17, 2024 @12:41AM (#41866463)
It's still in beta so we'll see how things go but I saw someone testing what Apple Intelligence ran on-device vs sent off to the "private secure cloud" and even stuff like text summaries were being sent to the cloud.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by grugagag on Wednesday October 16, 2024 @10:34PM (#41865902)
I wish I could turn that off on my phone.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by jcgrillo on Wednesday October 16, 2024 @09:43PM (#41865651)
I just got an iphone and the whole photos thing is absolutely garbage. All I wanted to do was look through my damn photos and find one I took recently but it started playing some random music and organized them in no discernible order.. like it wasn't the reverse time sorted.. Idk what kind of fucked up "creative process" came up with that bullshit but I sure wish they'd unfuck it stat.

The camera is real good though.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by james_marks on Wednesday October 16, 2024 @11:43PM (#41866225)
There’s an album called “Recents” that’s chronological and scrolled to the end.

“Recent” seems to mean everything; I’ve got 6k+ photos, I think since the last fresh install, which is many devices ago.

Sounds like the view you’re looking for and will stick as the default once you find it, but you do have to bat away some BS at first.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by coldpie on Thursday October 17, 2024 @10:15AM (#41869893)
There is a chronological view tucked in there somewhere, but they really do hide it behind the other crap. Once you manage to get into it, it usually stays that way, but sometimes it kicks me back out to the random nonsense view and I have to take a few minutes to find chronological again.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by nioj on Thursday October 17, 2024 @01:43PM (#41871830)
I think the music part is related to the setting called "Show Featured Content" in the Photos app settings.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by jcgrillo on Thursday October 17, 2024 @04:18PM (#41873331)
Yeah that's how I ended up making it stop but if this is what these NPUs are being used for just.. why?
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by barfingclouds on Thursday October 17, 2024 @07:58PM (#41875051)
Agreed. I use perplexity and chat gpt daily, but if I understand correctly that’s all done off device which is fine with me. I don’t need to generate weird images, or have my phone rewrite emails for me, or summarize stuff.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by JohnFen on Wednesday October 16, 2024 @06:19PM (#41864412)
> These NPUs are tying up a substantial amount of silicon area so it would be a real shame if they end up not being used for much.

This has been my thinking. Today you have to go out of your way to buy a system with an NPU, so I don't have any. But tomorrow, will they just be included by default? That seems like a waste for those of us who aren't going to be running models. I wonder what other uses they could be put to?

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by heavyset_go on Wednesday October 16, 2024 @08:16PM (#41865208)
The idea is that your OS and apps will integrate ML models, so you will be running models whether you know it or not.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by JohnFen on Thursday October 17, 2024 @12:28AM (#41866421)
I'm confident that I'll be able to know and control whether or not my Linux and BSD machines will be using ML models.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by hollerith on Thursday October 17, 2024 @12:45AM (#41866482)
--and whether anyone is using your interactions with your computer to train a model.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by heavyset_go on Thursday October 17, 2024 @08:32PM (#41875252)
Luckily, while NPUs do nothing about data exfiltration, they're a poor solution for training models. Your data is still going to get sucked up to the mothership, but offloading training to your machine hopefully won't happen.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by hollerith on Friday October 18, 2024 @09:43AM (#41879416)
Yes, when I was writing my comment, I was imagining my user-interaction data getting sucked up to data centers.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by heavyset_go on Thursday October 17, 2024 @08:31PM (#41875239)
I agree with the premise as a Linux user myself, but if you're using any JetBrains products, or Zoom, you're running models on the client-side. I suspect small models will continue to creep into apps. Even Firefox ships ML models in the browser.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by jonas21 on Wednesday October 16, 2024 @06:28PM (#41864488)
NPUs are already included by default in the Apple ecosystem. Nobody seems to mind.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by shepherdjerred on Wednesday October 16, 2024 @08:13PM (#41865200)
I actually love that Apple includes this — especially now that they’re actually doing something with it via Apple Intelligence
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by acchow on Wednesday October 16, 2024 @07:21PM (#41864903)
It enables many features on the phone that people like, all without sending your personal data to the cloud. Like searching your photos for "dog" or "receipt".
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by JohnFen on Wednesday October 16, 2024 @06:36PM (#41864549)
It's not really a question of minding if it's there, unless its presence increases cost, anyway. It just seems a waste to let it go idle, so my mind wanders to what other use I could put that circuitry to.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by jsheard on Wednesday October 16, 2024 @06:21PM (#41864427)
> But tomorrow, will they just be included by default?

That's already the way things are going due to Microsoft decreeing that Copilot+ is the future of Windows, so AMD and Intel are both putting NPUs which meet the Copilot+ performance standard into every consumer part they make going forwards to secure OEM sales.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by AlexAndScripts on Wednesday October 16, 2024 @06:47PM (#41864643)
It almost makes me want to find some use for them on my Linux box (not that is has an NPU), but I truly can't think of anything. Too small to run a meaningful LLM, and I'd want that in bursts anyway, I hate voice controls (at least with the current tech), and Recall sounds thoroughly useless. Could you do mediocre machine translation on it, perhaps? Local github copilot? An LLM that is purely used to build an abstract index of my notes in the background?

Actually, could they be used to make better AI in games? That'd be neat. A shooter character with some kind of organic tactics, or a Civilisation/Stellaris AI that doesn't suck.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by ywvcbk on Thursday October 17, 2024 @04:42AM (#41867610)
> box

Presumably you have a GPU? If so there is nothing an NPU can do that a discrete GPU can’t (and it would be much slower than a recent GPU).

The real benefits are power efficiency and cost since they are built into the SoC which are not necessarily that useful on a desktop PC.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by Miraste on Thursday October 17, 2024 @02:16PM (#41872169)
In short: no. Current-gen NPUs are so slow they can't do anything useful. AMD and Intel have 2nd-gen ones that came out a few weeks ago, and by spec they may able to run local translation and small LLMs (haven't seen benchmarks yet), but for now they are laptop-only.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by bcoates on Thursday October 17, 2024 @10:31AM (#41870035)
Microsoft has declared a whole lot of things to be the future of Windows, almost all of them were quietly sidelined in a version or two.

https://www.joelonsoftware.com/2002/01/06/fire-and-motion/

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by jsheard on Thursday October 17, 2024 @12:17PM (#41871052)
Yeah, but the lead times on silicon mean we're going to be stuck with Microsoft's decision for while regardless of how hard they commit to it. AMD and Intel probably already have two or three future generations of Copilot+ CPUs in the pipeline.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by crazygringo on Wednesday October 16, 2024 @07:17PM (#41864879)
Aren't they used for speech recognition -- for dictation? Also for FaceID.

They're useful for more things than just LLM's.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by JohnFen on Thursday October 17, 2024 @12:38AM (#41866451)
Yes, but I'm not interested in those sorts of uses. I'm wondering what else an NPU could be used for. I don't know what an NPU actually is at a technical level, so I'm ignorant of the possibilities.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by ItsBob on Thursday October 17, 2024 @05:35AM (#41867894)
I'm probably about to show my ignorance here (I'm not neck-deep in the AI space but I am a software architect...) but are they not just dedicated matrix multiplication engines (plus some other AI stuff)? So instead of asking the CPU to do the math, you have a dedicated area that does it instead... well, that's my understanding of it.

As to why, I think it's along the lines of this: the CPU does 100 things, one of those is AI acceleration. Let's take the AI acceleration and give it its own space instead so we can keep the power down a bit, add some specialization, and leave the CPU to do other stuff.

Again, I'm coming at this from a high-level as if explaining it to my ageing parents.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by JohnFen on Thursday October 17, 2024 @06:55AM (#41868347)
Yes, that's my understanding as well. What I meant is that I don't know the fine details. My ignorance is purely because I don't actually have a machine that has an NPU, so I haven't bothered to study up on them.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by idunnoman1222 on Wednesday October 16, 2024 @08:51PM (#41865384)
Voice to text
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by consteval on Thursday October 17, 2024 @11:42AM (#41870713)
We already can't fit much more in CPUs. You can't just throw cores in there. CPUs these days are, like, 80% cache if you look at the die. We constantly shrink the compute part, but we don't put much more compute - that space is just used for cache.

So, I'm not sure that you're wasting much with the NPU. But I'm not an expert.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by kllrnohj on Wednesday October 16, 2024 @09:07PM (#41865466)
Snapdragon X still has a full 12 cores (all same cores, it's homogeneous) and the Strix Point is also 12 cores but in a 4+8 configuration but with the "little" cores not sacrificing that much (nothing like the little cores in ARM's designs which might as well not even exist, they are a complete waste of silicon). Consumer software doesn't scale to that, so what are you going to do with more transistors allocated to the CPU?

It's not unlike why Apple puts so many video engines in their SoCs - they don't actually have much else to do with the transistor budget they can afford. Making single thread performance better isn't limited by transistor count anymore and software is bad at multithreading.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by wmf on Wednesday October 16, 2024 @10:35PM (#41865909)
GPU "infinity" cache would increase 3D performance and there's a rumor that AMD removed it to make room for the NPU. They're not out of ideas for features to put on the chip.