NPU 的作用是什么?为什么这么多笔记本电脑都配备 NPU?
What does an NPU do and why do so many laptops have them?
最近购买了新笔记本电脑?它很可能配备了 NPU,而您几乎肯定不会使用这种芯片。 NPU(即神经处理单元)是一个硅块,它运行 AI 工作负载的功耗仅为 CPU 或 GPU 所需功耗的一小部分。与标准笔记本电脑独立显卡完成相同工作所需的功率远高于 100W 相比,功率大约为 2W。虽然尚未在所有笔记本电脑中找到它们,但它们现在几乎是中端和高端机器的标准配置。
咨询公司 Gartner 认为,具有人工智能功能的 PC(例如这些配备 NPU 的笔记本电脑)占全球总出货量的一半以上。我们看到这种情况的原因并不是因为买家想要或需要它们,而是为了符合认证要求。早在 2024 年,微软就明确规定,笔记本电脑制造商的新机器专用 NPU 性能需要达到 40 TOPS(衡量 NPU 处理 AI 数学的速度),否则将面临无法使用新的 Windows AI 功能的风险。因此,NPU 硬件现在已经抢购一空,但软件却落后了。
NPU 的工作是加速推理。这是“运行这个模型”阶段,而不是 GPU 驱动的“训练这个模型”阶段。神经网络严重依赖两种计算来完成此操作:矩阵乘法和非线性激活函数。 NPU 是专门为尽可能快速、高效地执行这些操作而设计的,但这是以牺牲一些通用 CPU 和 GPU 的灵活性为代价的。
让我们考虑在视频通话中使用背景模糊的示例。我们大多数人都用过它,它可以在 CPU 或 GPU 上运行。但两者都会消耗大量电量,产生热量并缩短薄型便携式设备的电池寿命。 NPU 使用一小部分能量执行相同的工作,因此网络摄像头效果等功能可以连续运行,而不会耗尽电池或旋转风扇。
NPU 显然不适合训练 AI 模型,并且要运行像 Llama 70B 这样的大型本地 LLM,您仍然需要具有大量视频内存的独立 GPU。 ChatGPT 或 Gemini 等服务也不需要它们,因为这些服务在提供商基础设施上运行。至少目前而言,它们的实际用例是少数始终在线且低功耗的用例,例如网络摄像头效果、噪声抑制、实时翻译和本地搜索索引。
我们之所以看到这么多配备 NPU 的笔记本电脑,是因为微软的 Copilot + PC 认证。笔记本电脑制造商只有在配备 40 TOPS NPU、16GB RAM 和 256GB 存储空间的情况下才能获得该奖励并解锁某些设备上的 Windows AI 功能。 40 TOPS 这个数字也必须来自 NPU,而不是 GPU;中端笔记本电脑 RTX 4050 的张量核心可提供超过 190 TOPS 的性能。那不算。
高通的 Snapdragon X Elite 和 Plus 芯片是首款配备 45 TOPS Hexagon NPU 的芯片。紧随其后的是英特尔的 Lunar Lake(高达 48 TOPS)和 AMD 的 Ryzen AI 300(50 TOPS)。英特尔较新的 Panther Lake 处理器(称为 Core Ultra Series 3)在英特尔 18A 工艺上配备了 50 个 NPU TOPS。今年晚些时候,高通公司通过 Snapdragon X2 Elite 将这一数字提升至 85 TOPS,是微软指定最低值的两倍多。尽管消耗这些 TOPS 的软件仍然稀缺,但每一代人的数字都在不断提高。很快,人工智能笔记本电脑很可能成为唯一可用的选择,使得 NPU 不可避免。我们已经看到戴尔将企业级 NPU 装入其 Pro Max Plus 笔记本电脑中。
如果您有一台配备 NPU 的笔记本电脑,您可以通过 Windows 11 上的任务管理器查看其利用率。在我的笔记本电脑(配备 32GB RAM 配置的 2024 年华硕 Zenbook Duo UX8406)上,该利用率为零,我想所有休闲用户机器上都会出现这种情况。
遗憾的是,依赖 NPU 的应用程序列表仍然很短:Windows Studio 效果、实时字幕、Recall 和 Click to Do、Teams 和 Zoom 噪音抑制以及一些 Adobe Creative Cloud 功能。
为了了解本地模型会占用我的 34 TOPS Intel AI Boost NPU 的多少,我下载了 Mistral 7B,这是一个相当不错、高效的开源模型,并通过 Intel 的 OpenVINO 工具包运行它。然后我要求它在神经处理单元上生成 2,500 个单词。
尽管我的机器在 CPU、GPU 和 NPU 上总共有 34 个平台 TOPS,但只有 11 个专用于 NPU。 Mistral 7B 的 NPU 利用率为 98%,而 CPU 利用率为 3%。文本生成工作正常,虽然 11 TOPS 并没有为该尺寸的模型留下太多空间,但我的笔记本电脑仍然保持快速和响应能力。
您可以看到这与使用 Ollama 在 NPU 上运行相同的本地模型有何不同。 CPU 利用率跃升至 52%,内存使用量保持在 32GB 容量中的 17GB 左右。如果我运行其他 CPU 密集型工作负载,我的笔记本电脑就会停止运行。这就是 NPU 的意义所在:它可以处理人工智能工作负载,而不影响系统的其他部分。但在这种情况下,需要特定的工具包和技术知识才能实现这一目标;很少有软件本身支持它。
原文(English)
Bought a new laptop recently? Chances are that it's equipped with an NPU, a chip you're almost certainly not using. The NPU, or Neural Processing Unit, is a block of silicon that runs AI workloads at a fraction of the power a CPU or GPU needs. Roughly 2W compared to well over 100W that standard laptop discrete graphics need to do the same job. While they're not yet found in all laptops, they're now pretty much standard in mid-range and premium machines.
Advisory firm Gartner reckons that AI-capable PCs, like these NPU-equipped laptops, make up more than half of total global shipments. The reason we're seeing this isn't because buyers want or need them, but to align with certification requirements. Back in 2024, Microsoft pretty much dictated that laptop makers will need to hit 40 TOPS (the measure of how quickly an NPU can chew through AI math) of dedicated NPU performance with new machines, or risk losing access to new Windows AI features. NPU hardware is now flying off the shelves as a result, but software is lagging behind.
An NPU's job is to accelerate inference. That's the "run this model" phase rather than the GPU-powered "train this model" phase. Neural networks rely heavily on two kinds of computation to do this: matrix multiplication and nonlinear activation functions. NPUs are purpose-built to execute those operations as quickly and efficiently as possible, but that comes at the cost of some general-purpose CPU and GPU flexibility.
Let's consider the example of using background blur on a video call. Most of us have used this, and it can run on either a CPU or GPU. But both draw a lot of power, generating heat and sapping battery life on a thin portable. An NPU performs the same work using a fraction of the energy, so features like webcam effects can run continuously without draining the battery or spinning up fans.
NPUs are obviously no good for training AI models, and to run large local LLMs like Llama 70B, you'll still need a discrete GPU with a decent chunk of video memory. They're also not needed for services like ChatGPT or Gemini because those run on provider infrastructure. Their actual use case, at least for now, is a small number of always-on and low-power use cases like webcam effects, noise suppression, real-time translation and local search indexing.
The reason we're seeing so many laptops featuring NPUs is because of Microsoft's Copilot + PC certification. Laptop makers can only earn it and unlock certain on-device Windows AI features if their laptops have a 40 TOPS NPU, plus 16GB of RAM and 256GB of storage. That 40 TOPS figure also has to come from the NPU, not a GPU; a mid-range laptop RTX 4050 offers north of 190 TOPS from its tensor cores. That doesn't count.
Qualcomm's Snapdragon X Elite and Plus chips were the first to market with a 45 TOPS Hexagon NPU. That was soon followed by Intel's Lunar Lake with up to 48 TOPS, and AMD's Ryzen AI 300 at 50 TOPS. Intel's newer Panther Lake processors, known as Core Ultra Series 3, come with a 50 NPU TOPS on Intel's 18A process. Later this year, Qualcomm has since pushed that to as much as 85 TOPS with Snapdragon X2 Elite, more than double Microsoft's specified minimum. Every generation has ratcheted the number higher even though software to consume those TOPS remains scarce. Soon, AI laptops may well be the only option available, making NPUs unavoidable. We've already seen Dell stuff an enterprise-grade NPU into its Pro Max Plus laptop.
If you've got an NPU-equipped laptop, you can see its utilization rate via Task Manager on Windows 11. On my laptop — a 2024 ASUS Zenbook Duo UX8406 in a 32GB RAM configuration — this sits at zero, and I'd imagine that to be the case on all casual user machines.
Alas, the list of apps that lean on the NPU remains short: Windows Studio Effects, Live Captions, Recall and Click to Do, Teams and Zoom noise suppression and a handful of Adobe Creative Cloud features.
To see how much of my 34 TOPS Intel AI Boost NPU a local model would hog, I downloaded Mistral 7B, a fairly decent, efficient open-source model and ran it via Intel's OpenVINO toolkit. I then asked it to generate 2,500 words on neural processing units.
Although my machine has 34 platform TOPS combined across the CPU, GPU and NPU, only 11 are dedicated to the NPU. Mistral 7B pegged the NPU at 98 percent while the CPU sat at three percent. Text generation worked, and while 11 TOPS doesn't leave much headroom for a model of that size, my laptop remained fast and responsive.
You can see how this compares to running the same local model off the NPU using Ollama. CPU utilization jumped to 52 percent with memory use holding at around 17GB of my 32GB capacity. If I were running other CPU-intensive workloads, my laptop would've ground to a halt. That's the point of an NPU: It handles an AI workload without impacting the rest of the system. But it required a specific toolkit and technical knowledge to get there in this instance; very little software natively supports it.
本文为自动翻译,可能存在偏差,请以原文为准。发布于 2026-11-15 02:00
阅读原文 ↗https://www.engadget.com/2311854/what-is-npu-why-many-laptop