

Your current PC probably doesn’t have an AI processor, but your next one might
source link: https://arstechnica.com/ai/2024/02/your-current-pc-probably-doesnt-have-an-ai-processor-but-your-next-one-might/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

new chips, new "PU"s —
Your current PC probably doesn’t have an AI processor, but your next one might
Microsoft AI API expands from GPUs to NPUs as they begin to appear in more PCs.
Andrew Cunningham - 2/7/2024, 8:01 PM

When it announced the new Copilot key for PC keyboards last month, Microsoft declared 2024 "the year of the AI PC." On one level, this is just an aspirational PR-friendly proclamation, meant to show investors that Microsoft intends to keep pushing the AI hype cycle that has put it in competition with Apple for the title of most valuable publicly traded company.
But on a technical level, it is true that PCs made and sold in 2024 and beyond will generally include AI and machine-learning processing capabilities that older PCs don't. The main thing is the neural processing unit (NPU), a specialized block on recent high-end Intel and AMD CPUs that can accelerate some kinds of generative AI and machine-learning workloads more quickly (or while using less power) than the CPU or GPU could.
Qualcomm's Windows PCs were some of the first to include an NPU, since the Arm processors used in most smartphones have included some kind of machine-learning acceleration for a few years now (Apple's M-series chips for Macs all have them, too, going all the way back to 2020's M1). But the Arm version of Windows is a insignificantly tiny sliver of the entire PC market; x86 PCs with Intel's Core Ultra chips, AMD's Ryzen 7040/8040-series laptop CPUs, or the Ryzen 8000G desktop CPUs will be many mainstream PC users' first exposure to this kind of hardware.
Right now, even if your PC has an NPU in it, Windows can't use it for much, aside from webcam background blurring and a handful of other video effects. But that's slowly going to change, and part of that will be making it relatively easy for developers to create NPU-agnostic apps in the same way that PC game developers currently make GPU-agnostic games.
AdvertisementThe gaming example is instructive, because that's basically how Microsoft is approaching DirectML, its API for machine-learning operations. Though up until now it has mostly been used to run these AI workloads on GPUs, Microsoft announced last week that it was adding DirectML support for Intel's Meteor Lake NPUs in a developer preview, starting in DirectML 1.13.1 and ONNX Runtime 1.17.
Though it will only run an unspecified "subset of machine learning models that have been targeted for support" and that some "may not run at all or may have high latency or low accuracy," it opens the door to more third-party apps to start taking advantage of built-in NPUs. Intel says that Samsung is using Intel's NPU and DirectML for facial recognition features in its photo gallery app, something that Apple also uses its Neural Engine for in macOS and iOS.
The benefits can be substantial, compared to running those workloads on a GPU or CPU.
"The NPU, at least in Intel land, will largely be used for power efficiency reasons," Intel Senior Director of Technical Marketing Robert Hallock told Ars in an interview about Meteor Lake's capabilities. "Camera segmentation, this whole background blurring thing... moving that to the NPU saves about 30 to 50 percent power versus running it elsewhere."
Intel and Microsoft are both working toward a model where NPUs are treated pretty much like GPUs are today: developers generally target DirectX rather than a specific graphics card manufacturer or GPU architecture, and new features, one-off bug fixes, and performance improvements can all be addressed via GPU driver updates. Some GPUs run specific games better than others, and developers can choose to spend more time optimizing for Nvidia cards or AMD cards, but generally the model is hardware agnostic.
Similarly, Intel is already offering GPU-style driver updates for its NPUs. And Hallock says that Windows already essentially recognizes the NPU as "a graphics card with no rendering capability."
Page:
Recommend
-
73
Career planning A Career Detour Doesn’t Have to Compromise Your Long-Term Goals March 29, 20...
-
7
16 May 2020 essays apps
-
6
Data AI Doesn’t Have to Be Too Complicated or Expensive for Your Business July 29, 2021 ...
-
11
𝐷𝑟. 𝐼𝑎𝑛 𝐶𝑢𝑡𝑟𝑒𝑠𝑠 on Twitter: "@Jaxidian @anandtech @AMDRyzen The Minisforum doesn't have a PCIe slot for a discrete GPU, so there's that. Memory is probably only two dual SO-DIMMs."Don’t miss what’s happeningPeople on Twitter are...
-
5
Some iPhone 14 models might miss out on Apple’s new A16 processor News
-
2
Google might make up for the Pixel Watch's aging chip with a co-processor and plenty of RAM and storage By Will Sattelberg ...
-
13
Three insights you might have missed at The Data Doesn't Lie ... Or Does It?
-
8
Counting the transistors in the 8086 processor Counting the transistors in the 8086 processor: it's harder than you might think How many transistors are in Intel's 8086 processor? This seems like a straightforwar...
-
4
Contributor fixes #6964 PR...
-
8
Your Company’s DanceService probably doesn’t Dance Published on 2023-10-25 I work on a big product at a
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK