Glean 拾遗
Daily /2026-07-13 / AMD Ryzen AI Halo Review: A 'Batteries Included' Dev Kit for AI

AMD Ryzen AI Halo Review: A 'Batteries Included' Dev Kit for AI

Source www.lttlabs.com Glean’d 2026-07-13 06:00 Read 25 min
AI summary

LTT Labs delivers a hands-on deep dive into the AMD Ryzen AI Halo, a $4,000 mini-PC packing the Ryzen AI Max+ 395 (16-core Zen 5, Radeon 8060S iGPU, XDNA 2 NPU) with 128 GB unified LPDDR5x-8000 memory (256 GB/s). The review benchmarks LLM inference (Qwen 3.6, Gemma 4, GLM 4.7) via llama-bench against M2/M3 Ultra Mac Studios and the Framework Desktop, focusing on prompt processing and token generation at increasing context sizes. The real differentiator: AMD's curated 'Best Known Configurations' and AI Playbooks that eliminate dependency hell for ROCm/PyTorch workflows. It also includes real-world power draw, thermal data, and a detailed USB-C PD negotiation analysis using an Infineon CY4500. A solid reference for engineers evaluating local AI development hardware.

Original · 25 min
www.lttlabs.com ↗
§ 1

The AMD Ryzen AI Halo is a truly mini-PC built around the Zen 5 AMD Ryzen AI Max+ 395 processor(16 core, 32 thread) that streamlines learning AI development with ROCm or AMD hardware. The Max+ 395 processor is equipped with AMD Radeon 8060S integrated graphics which will be doing most of the heavy lifting, and an NPU which historically doesn't do much, but we were finally able to use.

AMD Ryzen AI Halo 是一款真正意义上的迷你 PC,搭载 Zen 5 AMD Ryzen AI Max+ 395 处理器(16 核、32 线程),旨在简化基于 ROCm 或 AMD 硬件的 AI 开发学习过程。该处理器配备 AMD Radeon 8060S 集成显卡,负责绝大多数繁重计算任务,此外还集成了一颗 NPU——这一组件过往表现平平,但我们终于在本次评测中对其进行了实际调用。

§ 2

It comes in a single hardware configuration with a removable 2 TB M.2 SSD and 128 GB of unified LPDDR5x-8000 memory capable of 256 GB/s bandwidth. 2 TB is a good amount of storage to hoard local models, and 128 GB is certainly enough memory to load a couple reasonably sized models into memory while reserving some space for system operation.

此设备仅有单一硬件配置:一块可拆卸的 2 TB M.2 SSD 以及 128 GB 统一 LPDDR5x-8000 内存,带宽达 256 GB/s。2 TB 的存储空间足以存放大量本地模型,而 128 GB 的内存也绰绰有余——既能加载数个中等规模的模型,还能为系统运行留出余量。

§ 3

The AI Halo can be purchased for $3,999.99 USD in a single hardware configuration, preloaded with either Windows 11 Pro or Linux. You are able to load your own OS on the system once you have it, but as far as we know AMD won’t be making the 'factory' Linux and Windows installs(packaged drivers, programs, and models) available.

AI Halo 单硬件配置售价为 3999.99 美元,可选预装 Windows 11 Pro 或 Linux。设备到手后用户可以自行安装操作系统,但据我们所知,AMD 不会单独提供“出厂版”Linux 或 Windows 安装镜像(即预打包的驱动、程序和模型)。

§ 4

AMD has sent us the Linux version of the Halo which is running a custom AMD Linux distribution based on Debian 13.4.

AMD 寄给我们的是一台 Linux 版 Halo,运行的是基于 Debian 13.4 的 AMD 定制 Linux 发行版。

§ 5

Despite the marketing images presenting it as the size of a datacentre, the Halo is an incredibly small box with only a square 15 cm(6 in) footprint and at less than 5 cm(2 in) tall. It weighs 1.2 kg, but if you’re planning on putting this in your backpack then also consider the required 240 W power brick.

尽管宣传图将其渲染得宛如数据中心设备般庞大,但 Halo 实际上是一个极其小巧的盒子——底面积仅为 15x15 厘米(6x6 英寸),高度不到 5 厘米(2 英寸)。重量为 1.2 公斤,但如果你打算把它塞进背包,别忘了还要带上那个 240W 的电源适配器。

§ 6

The power button and all of the ports are on the back face of the chassis: four USB 3.2 Type-C ports, an HDMI 2.1 port, and a 10 GbE ethernet port. Besides the connectivity on the rear it features Wi-Fi 7 and Bluetooth 5.4. The USB Type-C port closest to the power button is dedicated to USB-C Power Delivery(PD) power input.

电源键和所有接口都位于机箱背面:四个 USB 3.2 Type-C 口、一个 HDMI 2.1 口和一个万兆以太网口。背面连接之外,它还支持 Wi-Fi 7 和蓝牙 5.4。最靠近电源按钮的那个 USB Type-C 口专用于 USB-C PD 供电输入。

§ 7

There aren’t any clear affordances for stacking them, but the corner feet and air intakes on all sides should make it viable if you need Windows and Linux, or if you want to cluster them. The Halo contains two blower fans to draw air in through the top and sides of the case which is then blown through the heat sink and out the back. This box usually sits quietly, but can ramp up the fans to dissipate the 120 W TDP of the processor inside.

虽然没有明确的堆叠凹槽,但角落的脚垫和四面进风口设计使其堆叠使用成为可能——无论你需要同时运行 Windows 和 Linux,还是想组建集群。Halo 内部采用两个鼓风机式风扇,从顶部和侧面吸入空气,穿过散热片后从背面排出。机箱通常十分安静,但在需要时风扇可以加速,以散去处理器 120W 的 TDP 热量。

§ 8

The best feature is the white ring of light around the bottom of the case.(pulsing blue when asleep) It doesn’t cast much light, and it can be turned off, but it gives it a nice look without being gaudy.

最出彩的设计元素是机箱底部的一圈白色灯环(休眠时会脉冲式闪烁蓝光)。它亮度不高,也可以完全关闭,但恰到好处地为设备增添了一份精致而不浮夸的外观。

§ 9

Being a tightly integrated mini PC there isn’t too much to see inside but you only have to remove four bolts beneath the removable magnetic feet to lift off the bottom cover. The removable M.2 2280 SSD is easily accessible with no further dissection. Removing the top shell to expose the compute core only requires addressing a few more connections. The core can be pulled out but there isn’t much else to be done. The bottom metal plate visible when first removing the case bottom is removable with four bolts, but we didn’t remove it so as to not mess with the thermal compound underneath.

作为一款高度集成的迷你 PC,内部可看之处不多,但你只需卸下可拆卸磁吸脚垫下方的四颗螺丝,就能取下底盖。可拆卸的 M.2 2280 SSD 无需进一步拆解即可轻松触及。取下顶盖以露出计算核心也只需处理几组连接。核心可以拔出,但除此之外别无他事。初次取下机箱底部时看到的金属底板可用四颗螺丝拆除,但我们没有动它,以免干扰下方的导热硅脂。

§ 10

For previous “AI” specific hardware we’ve used MLPerf and Procyon to measure representative values of hardware performance, but as we get further into locally hosted LLMs and agentic workflows, we’re looking a little deeper. For this testing we’ve focused on using llama-bench, the benchmarking tool packaged with llama.cpp. We’re still exploring tests we can apply with llama-bench as well as other programs that can provide insight, so constructive feedback on test selection is very welcome! We’ve found that nearly every benchmark and benchmarking decision can be met with a “that only applies to these specific cases”. We can’t cover every angle, but for now we’ll at least contribute the tests we conducted on this hardware. LLM token per second performance can be extremely sensitive to compatibility differences, and have high variances; so consider results below with that in mind and consider results from multiple sources.

对于以往的“AI”专用硬件,我们使用 MLPerf 和 Procyon 来测量有代表性的性能数据。但随着我们更深入地探索本地 LLM 和智能体工作流,我们也希望看得更深入。本次测试我们重点使用了 llama-bench——即 llama.cpp 附带的基准测试工具。我们仍在探索可以通过 llama-bench 及其他工具执行的测试,因此欢迎对测试选择提出建设性反馈!我们发现,几乎每个基准测试及测试决策都有人会说“那只适用于特定场景”。我们无法覆盖所有角度,但至少会贡献此次在硬件上进行的测试结果。LLM 每秒 token 数性能对兼容性差异极为敏感,且方差很大;因此请参考下文结果时牢记这一点,并综合考虑多个来源的数据。

§ 11

For those unfamiliar with llama-bench or llama.cpp itself, llama.cpp is an open source inference engine that can be used to load and run large language models(in the GGUF format). It has seen wide adoption for running LLMs because of its simplicity of operation and hardware compatibility. It takes the list of numbers constituting the LLM and orchestrates execution of the model, interfacing with hardware-specific drivers. llama-bench is one of the many command-line-interface(CLI) utilities that are packaged with–and support–llama.cpp. Along with many options and configurations, it conducts two main tests: prompt-processing(pp), and token generation(tg), also known as the pre-fill and decoding phases of inference. Prompt processing is the part of LLM inference where the LLM ‘reads through’ what the user has said to it, and token generation is when it begins outputting tokens back to the user.

对于不熟悉 llama-bench 或 llama.cpp 的读者,llama.cpp 是一个开源推理引擎,可用于加载和运行大语言模型(GGUF 格式)。因其操作简单和硬件兼容性好,已被广泛采用。它接收构成 LLM 的数字列表,协调模型执行,并调用硬件特定的驱动。llama-bench 是 llama.cpp 附带的众多命令行实用工具之一,除提供大量选项和配置外,它主要执行两项测试:提示处理(pp)和 token 生成(tg),也即推理中的预填充和解码阶段。提示处理是 LLM 推理中“通读”用户输入的部分,而 token 生成则是它开始向用户输出 token 的过程。

§ 12

The first test is the default llama-bench pp512/tg128 configuration, simulating a user providing 512 tokens, and the LLM generating 128 in response. We tested with Qwen 3.6 35B A3B(Q4_K_M), Gemma 4 31B IT(IQ4_XS), and GLM 4.7 Flash(Q8_0) models. These are 17-32 GB models that have been receiving a lot of attention recently. As with test parameters, preferred models are always changing, but these should give an idea of performance with the currently favoured LLMs. We tested the AMD Halo alongside a Framework Desktop(AI Max+ 395, 128 GB), M2 Ultra(76-core GPU) Mac Studio with 128 GB of unified memory, and M3 Ultra(80-core GPU) Mac Studio with 512 GB of unified memory. For the AI Halo and Framework Desktop we also used both the ROCm/HIP and Vulkan runtimes(backends). None of these devices are direct competitors, but they provide some context. Note that the owner of our company has invested in Framework.

首次测试采用默认的 llama-bench pp512/tg128 配置,模拟用户提供 512 个 token,LLM 生成 128 个 token 作为响应。我们测试了 Qwen 3.6 35B A3B (Q4_K_M)、Gemma 4 31B IT (IQ4_XS) 和 GLM 4.7 Flash (Q8_0) 模型。这些模型大小在 17-32 GB 之间,近期备受关注。与测试参数一样,用户偏好的模型也在不断变化,但上述模型应能反映当前热门 LLM 的性能状况。我们将 AMD Halo 与 Framework Desktop(AI Max+ 395,128 GB)、M2 Ultra(76 核 GPU)Mac Studio(128 GB 统一内存)以及 M3 Ultra(80 核 GPU)Mac Studio(512 GB 统一内存)进行了对比测试。对于 AI Halo 和 Framework Desktop,我们还同时使用了 ROCm/HIP 和 Vulkan 运行时(后端)。上述设备并非同级竞品,但可提供对比参考。请注意,我们公司的股东投资了 Framework。

§ 13

The Apple Silicon Mac Studios outperform the AMD Ryzen AI Max+ 395 machines. This is likely primarily due to their much higher 800 GB/s memory bandwidth compared to only 256 GB/s for the Max+ 395. The prompt processing(pp) portion of LLM inference is typically compute-bound as the CPU/GPU/processor must perform large batches of calculations as it parses the user’s input. This can be seen with the dense Gemma 4 model, where Apple Silicon and the Max+ 395 perform more closely than just comparing memory bandwidths would suggest. We believe prompt processing of the sparse Mixture of Experts(MoE) models Qwen 3.6 35B A3B and GLM 4.7 Flash relies less on compute, allowing the memory bandwidth of the Macs to pull ahead. Token generation(tg) is typically far more memory bandwidth-bound. It requires accessing a lot of data from the LLM and only computes a single token at a time. The processor is typically waiting around for data to be delivered for computation, and with the dense model Gemma 4, the Apple Silicon devices were able to get 2-3x the token per second performance.

Apple Silicon Mac Studio 的性能优于搭载 AMD Ryzen AI Max+ 395 的机器。这主要归因于其高达 800 GB/s 的内存带宽,远超 Max+ 395 的 256 GB/s。LLM 推理中的提示处理部分通常是计算密集型,因为处理器在解析用户输入时需要执行大批量计算。这一点在稠密型模型 Gemma 4 上得到了体现——Apple Silicon 与 Max+ 395 的表现差异没有纯粹按内存带宽对比那么悬殊。我们认为,对于稀疏混合专家(MoE)模型(如 Qwen 3.6 35B A3B 和 GLM 4.7 Flash),提示处理对算力的依赖较小,这使得 Mac 的内存带宽优势得以凸显。token 生成通常受内存带宽限制更大:它需要从 LLM 中访问大量数据,但每次只计算一个 token。处理器大多在等待数据抵达以进行计算。在稠密模型 Gemma 4 上,Apple Silicon 设备的 token 每秒性能达到 2-3 倍。

§ 14

In our testing above there was no clear winner between Vulkan and ROCm/HIP backends on the Ryzen AI Max+ 395. The most performant backend relies on many factors like compatibilities, model architecture, context size, specific hardware, and software optimizations. This is not to mention the continuous updates that both backends receive. This testing was conducted with flash attention enabled, but even that doesn't always achieve the best performance so it is best to perform tests on your specific system.

在上述测试中,Vulkan 与 ROCm/HIP 后端在 Ryzen AI Max+ 395 上未见明显胜负。哪个后端性能更优取决于众多因素,如兼容性、模型架构、上下文大小、具体硬件和软件优化,更不用说两个后端都在持续更新。本次测试开启了 flash attention,但即使启用该功能也未必总能达到最佳性能,因此最好在您的具体系统上自行测试。

§ 15

Agentic use of LLMs is becoming far more popular so we concocted a llama-bench test in an attempt to simulate those scenarios, though it involves a slightly more complicated llama-bench command. In theory, this simulates providing instructions to an agent and having it make some tool calls or provide an answer. The important aspect is observing how performance degrades as context size increases.

LLM 的智能体应用正变得越来越流行,因此我们设计了一个 llama-bench 测试来模拟这些场景,尽管相关命令稍显复杂。理论上,这个测试模拟了向智能体提供指令,然后让它进行一些工具调用或给出回答。关键点在于观察性能如何随着上下文大小的增加而衰减。

§ 16

llama-bench -m <model>
-p 512
-n 64
-b 2048 -ub 2048
-fa 1
-ngl 999
-r 5
-d 0,4096,8192,16384,32768,65536
-o csv

llama-bench -m <model>
-p 512
-n 64
-b 2048 -ub 2048
-fa 1
-ngl 999
-r 5
-d 0,4096,8192,16384,32768,65536
-o csv

§ 17

The -p and -n flags specify how many tokens should be used in the prompt processing and token generation tests respectively; this command performs a pp512/tg64 test. -b and -ub specify the batch and micro-batch sizes. The batch size is the number of tokens that llama.cpp will group together for processing, and the micro-batch size is the number llama.cpp will send to the hardware in a single group for calculation. Higher values typically allow greater speed through parallelization, but require more working memory space. It doesn’t impact this test since we’re only processing 512 tokens, but our previous testing found -b/-ub of 2048 to result in the best speeds overall. -fa enables or disables Flash Attention. This defaults to ‘auto’ but in general it should be left on for more efficient memory usage. Compatibility with models and runtimes will vary. -ngl controls the number of model layers offloaded to the GPU. We set it to 999 to specify that all calculations should happen on the GPU. -r controls the number of times each test is repeated before the results are aggregated to provide an average. The default value is 5, but we’ve included it to be explicit. -d specifies the number of tokens already in the LLM’s ‘memory’, its context. Multiple comma-separated values for most arguments allow you to run different permutations of the test in a series. Despite llama-bench’s ability to run the tests in series, we wrote a short script to create our own loop, incorporating a delay between tests to mitigate any thermal soak that could occur as these tests run.

-p 和 -n 标志分别指定提示处理和 token 生成测试中使用的 token 数量;此命令执行 pp512/tg64 测试。-b 和 -ub 指定批次大小和微批次大小。批次大小是 llama.cpp 将一组 token 聚合处理的数,微批次大小是 llama.cpp 一次性发送到硬件进行计算的 token 量。较大的值通常通过并行化带来更高速度,但也需要更多工作内存。我们只处理 512 个 token,因此这对此测试影响不大,但之前的测试发现 -b/-ub 设为 2048 总体能获得最佳速度。-fa 启用或禁用 Flash Attention。默认值为 'auto',但通常应保持开启以获得更高效的内存使用。不同模型和运行时的兼容性会有所不同。-ngl 控制卸载到 GPU 的模型层数,我们设为 999 以将所有计算放在 GPU 上执行。-r 控制每个测试在汇总结果以提供平均值之前重复的次数。默认值是 5,但我们明确标出。-d 指定 LLM “记忆”中已有的 token 数量,即上下文大小。大多数参数接受多个逗号分隔的值,允许你一次性连续运行不同的测试组合。尽管 llama-bench 本身支持连续运行测试,我们仍编写了一个简短脚本来自定义循环,在测试之间加入延迟,以减少持续运行可能积累的热量。

§ 18

We can see that all three models exhibit significant performance degradation as the context size increases and they all must be considered during pre-fill(pp) or decoding(tg).(Gemma 4 with the Vulkan backend and 65,536 tokens context didn’t complete within 30 minutes)

可以看出,随着上下文增大,三个模型均表现出显著的性能衰减,在预填充(pp)和解码(tg)阶段都必须考虑此影响(Gemma 4 在 Vulkan 后端、65,536 token 上下文下未能在 30 分钟内完成测试)。

§ 19

The AI Halo has a surprisingly small chassis so we were skeptical of its ability to reach and sustain the maximum power of the compute contained inside. To investigate, we ran a simple test to pull the maximum TDP(Thermal Design Power) of 120 W(with a boost of up to 140 W) from the Ryzen AI Max+ 395 package. We also tested the Framework Desktop with the Ryzen AI Max+ 395 alongside it. This is again not direct comparison hardware, but it provides context. For testing we conducted a series of twenty llama-bench prefill tests while measuring the power draw from the wall with a Quarch QTL2843. Both devices were in “Performance” mode with no other changes to power or cooling(the Halo doesn’t allow any customization anyway). We were monitoring HWInfo and AMD tools during the tests to verify package power and temperatures.

AI Halo 的机箱小得出奇,因此我们对其能否达到并维持内部计算模块的最大功率持怀疑态度。为了验证,我们运行了一个简单测试,使 Ryzen AI Max+ 395 封装达到 120W 的最大 TDP(可短时提升至 140W)。同时我们也将搭载同款处理器的 Framework Desktop 作为对比。这再次并非直接对标,但可提供背景参考。测试中我们连续执行了二十次 llama-bench 预填充测试,同时使用 Quarch QTL2843 测量壁式插座处的功耗。两台设备均设置为“性能”模式,未改动其他电源或散热设置(Halo 本身也不允许任何自定义)。测试期间我们使用 HWInfo 和 AMD 工具监控封装功耗和温度。

§ 20

The graph above shows the power draw of the AI Halo and Framework Desktop over the test duration of approximately 20 minutes. The AI Max+ 395 in the Framework maintained a steady baseline of 120 W for the entire duration of the test with relatively frequent spikes of power up to 130 W. The Halo started the test at a constant 140 W until the boost was over after 5 minutes, and it settled back down to the 120 W TDP for the remainder of the test.

上图显示了约 20 分钟测试期间 AI Halo 和 Framework Desktop 的功耗情况。Framework 中的 AI Max+ 395 在整个测试期间保持了 120W 的稳定基线,并伴有相对频繁的 130W 功耗峰值。Halo 在测试开始时持续以 140W 运行,5 分钟后短时加速结束,随后回落到 120W TDP 并保持至测试结束。

§ 21

The blower style design of the Halo with air intakes on all sides kept it cool to the touch at thermal equilibrium, but the bottom became quite warm(around 50°C) and the two blower fans were pushing significant heat out of the rear exhaust. The fans spin up significantly while removing the heat, but the sound profile is a reasonable ‘woosh’ and nothing piercing.

Halo 的鼓风机式设计搭配四周进风口,使其在热平衡状态下触感凉爽,但底部变得相当温热(约 50°C),两个鼓风机风扇将大量热量从背部排气口排出。风扇在排热时会显著加速,但声音是合理的“呼呼”声,没有刺耳感。

§ 22

You can get a Ryzen AI Max+ 395 in any number of miniature computers these days; choosing one based on the I/O, cooling, or even just from a favourite manufacturer. The unique offering of the Halo is the AMD Ryzen AI Developer Center, curated configurations(BKC), and promise of continued first-party support. Like NVIDIA’s DGX Spark, it has been designed to provide a development environment that gets out of the way of those who need to test against specific AMD or NVIDIA hardware. Unlike the DGX Spark, the Halo is available in both Linux and Windows variants. We received the Linux version, so all comments will reflect that experience.

如今你可以在市面上找到无数搭载 Ryzen AI Max+ 395 的迷你电脑,选择依据无非是 I/O、散热或仅仅是喜欢的品牌。Halo 的独特之处在于它提供了 AMD Ryzen AI 开发者中心、精选配置(BKC)以及第一方持续支持的承诺。与 NVIDIA 的 DGX Spark 类似,它旨在为需要针对特定 AMD 或 NVIDIA 硬件进行测试的人提供一个“不挡路”的开发环境。与 DGX Spark 不同的是,Halo 同时提供 Linux 和 Windows 版本。我们收到的是 Linux 版,因此所有评论均基于该版本的体验。

§ 23

The system boots into the AMD Ryzen AI Developer Center which serves as the control panel for software installation and updates, as well as front-and-center access to documentation.

系统启动后直接进入 AMD Ryzen AI 开发者中心,该界面充当软件安装和更新的控制面板,同时将文档访问置于显眼位置。

§ 24

Beyond the OS, the AI Halo and developer center give access to AMD’s “Best Known Configurations”(BKC). These are system configurations for which AMD have validated that all included software, packages, and drivers are intercompatible. This provides a clean, known, starting point for any of the playbooks, and a base for people interested in learning without enduring some dependency hell first. This can be invaluable to streamline the process of getting started with the system, hopefully removing hours of guesswork and following outdated tutorials on the internet. The AMD AI Playbooks then build off of these configurations to guide users to the next step.

除了操作系统,AI Halo 和开发者中心还提供 AMD 的“最佳已知配置”(BKC)。这些系统配置已经过 AMD 验证,确保其中包含的所有软件、包和驱动相互兼容。这为任何教程提供了干净、已知的起点,也为希望学习的人提供了一个基础,使他们无需先经历依赖冲突的噩梦。这对于简化系统上手过程来说价值连城,有望省去数小时的猜测和搜索网上过时教程的功夫。AMD AI Playbooks 则在此基础上构建,引导用户进入下一步。

§ 25

The target user of this system is exemplified by comparing the AMD AI Playbooks for the AI Halo against AMD AI Playbooks for other AI Max+ 395 systems. The first step of most of the playbooks is to allocate memory and for regular AI Max+ systems you’re given a series of command line instructions. The AI Halo simplifies this into a slider or dropdown depending on if you’re on Linux or Windows. It is important to note that the Halo doesn’t stop you from doing it the manual way, or using a more complicated setup. It can be ‘dangerous’ to abstract away implementation and hardware details, but this provides a place to begin before diving deeper.

对比 AI Halo 和其他 AI Max+ 395 系统的 AMD AI Playbooks 可以很好地说明该系统的目标用户。大多数教程的第一步是分配内存:对于普通 AI Max+ 系统,你需要执行一系列命令行指令。而 AI Halo 将这一过程简化为一个滑块或下拉菜单(取决于你在 Linux 或 Windows 上)。值得注意的是,Halo 并不阻止你手动操作或使用更复杂的设置。抽象化实现和硬件细节可能带来“危险”,但它为深入探索提供了一个起点。

§ 26

The AMD AI Playbooks were announced and released earlier this year, providing simple tutorials for anyone with AMD hardware to explore AI workloads. AMD are trying to catch up in market share so these are intended to entice new users, or make transitioning from their competitors as simple as possible. While the playbooks focus on the AI Halo, they also have versions available for Radeon GPUs. They’re interesting to read through even just to see what your hardware is capable of. The playbooks are also all available on GitHub along with other useful AMD resources. AMD have committed to keeping these playbooks up to date(like the best known configurations) and introduce new ones each month.

AMD AI Playbooks 于今年早些时候发布,为任何拥有 AMD 硬件的用户提供了探索 AI 工作负载的简单教程。AMD 正试图追赶市场份额,因此这些教程旨在吸引新用户,或尽可能简化从竞品平台切换而来的过程。虽然教程主要针对 AI Halo,但亦有 Radeon GPU 版本。即使只是看看自己的硬件能做什么,阅读它们也很有趣。教程已全部上传至 GitHub,并附有其他有用的 AMD 资源。AMD 承诺会像维护 BKC 一样持续更新这些教程,并每月推出新的内容。

§ 27

We’ve had the AI Halo for about ten days and had the chance to go through a handful of the playbooks. As intended, they’ve been an easy way to learn our way around the system and explore the software tools that are packaged with it.

我们使用 AI Halo 约十天时间,并有机会完成了其中几个教程。正如设计意图那样,它们帮助我们轻松上手系统并探索预装的软件工具。

§ 28

This is a simple playbook but a very good place to start. It introduces AMD Sync, a streamlined method to remotely connect to the Halo over the network for live metrics, opening a VSCode project, starting a Jupyter Labs project, or just accessing the terminal. This is another prime example of the AI Halo being the frictionless choice as an AMD developer kit. The playbook was simple to follow and we ran into no issues. It only requires installation of AMD Sync on the remote machine and copying over SSH details. This is of course all possible already with SSH and some configuration, but the quick setup is very convenient. Especially if you’re often resetting this system to factory defaults.

这是一个简单的教程,但也是非常好的起点。它介绍了 AMD Sync,这是一种简化的方法,可以通过网络远程连接 Halo,查看实时指标、打开 VSCode 项目、启动 Jupyter Labs 项目或直接访问终端。这是 AI Halo 作为 AMD 开发套件减少摩擦的又一典型例子。该教程易于遵循,我们未遇到任何问题。它只需在远程机器上安装 AMD Sync 并复制 SSH 信息即可。当然,这些功能使用 SSH 配合一些配置也能实现,但快速设置非常方便,尤其是当你经常需要将系统重置为出厂状态时。

§ 29

LM Studio and Lemonade are programs for downloading, managing, serving, and interacting with local LLMs. LM Studio is already a popular program for running models, while Lemonade has been developed by AMD more recently to make running LLMs as simple as possible. The LM Studio and Lemonade playbooks are short and simple to follow, walking through installing the software, updating runtimes, and downloading first models. They both end with doing something ‘useful’ with the locally hosted LLMs, using them as a coding assistant or interacting with the OpenAI API programmatically. The VSCode playbook builds on the hosted LLMs from the previous playbooks, connecting a local LLM to a Cline agent within the IDE. If kept up to date, these tutorials could be useful to people not even using AMD hardware, providing a simple walkthrough of all factors to consider.

LM Studio 和 Lemonade 是用于下载、管理、托管和交互本地 LLM 的程序。LM Studio 已成为运行模型的热门选择,而 Lemonade 则是 AMD 最新开发的,旨在将 LLM 运行做到极简。有关 LM Studio 和 Lemonade 的教程简短易学,引导用户完成软件安装、运行时更新和首次模型下载。两者最终都引导用户对本地 LLM 做些“有用”的事,例如将其用作编码辅助或通过 OpenAI API 进行程序化交互。VSCode 教程则基于前两篇教程托管的 LLM,将本地 LLM 连接到 IDE 内的 Cline 智能体。如果持续更新,这些教程对于甚至不使用 AMD 硬件的用户也很有用,提供了一个简洁的决策因素介绍。

§ 30

Getting slightly further into the intended use of this hardware, these playbooks successfully show off how the pre-installed software, drivers, and models can make it as simple as four or five steps to be running an LLM with PyTorch. Unfortunately the playbooks don’t go as in depth as a full tutorial which may walk you through the minutiae of how the scripts work or why each step is required. However, that doesn’t seem to be their main goal. They are extremely successful at quickly getting the dependencies hooked up and providing a smoke test to confirm that things are working. For people inexperienced in the subject, they also provide “Next Steps” with ideas of what to try next.

更进一步深入这款硬件的预期用途,这些教程成功展示了预装软件、驱动和模型如何让用户仅需四到五步即可用 PyTorch 运行 LLM。可惜的是,教程并未深入至如完整教程那样解释脚本工作原理或每一步的必要性。但这似乎并非其主要目标。它们极其成功地快速完成了依赖连接,并提供了一个冒烟测试来确认一切正常。对于不熟悉该主题的用户,教程还提供了“后续步骤”和尝试方向。

§ 31

Personally, I am a huge fan of the software and compatibility support that the Halo provides. I typically learn best ‘from the ground up’, but it can be annoying to follow multiple tutorials and in the end not be able to run anything. The best known configurations and playbooks provide a state which can always be returned to if you venture too far and reach a mess of dependencies. It’s always as accessible as the “System Reset” button in the developer center. As always it is important to be wary of abstractions and disconnecting from what is going on in the background, but at least personally, this wasn’t the case. It’s still just a regular computer and you’re completely free to install and configure it however needed. The BKC and playbooks could also play a part in 3rd party tutorials where they can assume a known starting point or compatibility, making it simpler for users to go further.

就个人而言,我非常欣赏 Halo 提供的软件和兼容性支持。我通常喜欢“自底向上”地学习,但跟着多个教程走最后却什么也跑不起来,这很令人沮丧。BKC 和教程提供了一个可随时返回的状态——如果你走得太远陷入依赖混乱。只需按下开发者中心里的“系统重置”按钮即可恢复。一如既往,必须警惕抽象化和与后台细节的脱节,但至少对我个人而言,情况并非如此。它仍然是一台普通的计算机,你可以完全自由地按需安装和配置。BKC 和教程也有助于第三方教程,因为它们可以假定一个已知的起点或兼容性,使用户更容易更进一步。

§ 32

As can be seen by the AI Playbook GitHub issues, there are some parts of the playbooks that are currently failing, which I ran into myself. Hopefully those are addressed quickly by AMD as they come up, otherwise this whole thing doesn’t work. The danger of buying based on promises of future value.

从 AI Playbook 的 GitHub 问题页面可以看出,教程的某些部分目前存在失败情况,我自己也遇到了。希望 AMD 能迅速解决这些问题,否则这一切都将形同虚设。这就是基于未来承诺而购买的隐患。

§ 33

To close this off, we’re excited we finally found a device that uses the NPU(Neural Processing Unit). We’ve heard a lot of hype over NPUs in various devices but then every demo we see is running things entirely on the CPU or GPU. With AMD’s Lemonade, we were able to run an LLM on the XDNA 2 NPU using AMD’s FastFlowLM(FLM). Unfortunately the NPU wasn’t providing any usage telemetry, but we were able to see the AI Max+ 395 package draw up to 35 W at essentially zero CPU/GPU usage and generating 20 tokens per second with the gpt-oss-20b-FLM model.

最后,我们非常兴奋地发现终于找到了一台实际使用了 NPU 的设备。我们听过太多关于各类设备中 NPU 的炒作,但每次演示都在 CPU 或 GPU 上运行。通过 AMD 的 Lemonade,我们得以使用 AMD FastFlowLM(FLM)在 XDNA 2 NPU 上运行 LLM。遗憾的是 NPU 未提供使用遥测数据,但我们观察到 AI Max+ 395 封装功耗高达 35W,CPU/GPU 使用率几乎为零,并且以 gpt-oss-20b-FLM 模型每秒生成 20 个 token。

§ 34

In the defence of all the demos running on CPU/GPU instead of the NPU, NPUs aren't very flashy beyond their names. They often have far less compute than the GPU but in return they have the advantage of much greater energy efficiency. They’re great for operations like fast processing of sensors(like the camera) so that the CPU and GPU are fully available for main tasks. This is an aspect we're interested in investigating further. With this dev kit including the Ryzen AI Max+ 395 with an NPU instead of some giant GPU means that it should hopefully advance the development of more power efficient local LLMs.

为那些在 CPU/GPU 而非 NPU 上运行的演示辩护一句:NPU 除了名字好听之外其实并不炫酷。它们的算力通常远低于 GPU,但换来的是更高的能效。它们非常适合处理传感器数据(如摄像头)等快速操作,从而让 CPU 和 GPU 完全可用作主要任务。这是我们希望进一步调查的方面。这款开发套件采用搭载 NPU 的 Ryzen AI Max+ 395 而非巨大的 GPU,意味着它有望推动更节能的本地 LLM 的开发。

§ 35

The AMD Ryzen AI Halo is entirely powered over USB-C PD. This would be astonishing to someone a couple decades ago, but USB-C is now capable of delivering up to 240 W. The Halo ships with the Delta ADP-240KB BA AC/DC power adapter capable of USB-C PD Extended Power Range(EPR); up to 48 V and 5 A. It is well equipped for the task of supplying the Halo since in our testing the Halo never drew over 200 W from the power supply.

AMD Ryzen AI Halo 完全通过 USB-C PD 供电。这在几十年前令人难以置信,但如今 USB-C 已可提供高达 240W 的功率。Halo 随附 Delta ADP-240KB BA AC/DC 电源适配器,支持 USB-C PD 扩展功率范围(EPR),最高 48V、5A。该适配器完全胜任 Halo 的供电任务,因为我们的测试中 Halo 从未从电源抽取超过 200W 的功率。

§ 36

When the power adapter is first connected to power, it broadcasts its SOURCE_CAPABILITIES message to indicate to any connected sinks(devices to be powered) what kinds of voltages and currents it can provide. However, these are only the Standard Power Range(SPR) output modes, limited to 20 V(100 W at 5 A). The Halo sends an EPR_MODE message to prompt the EPR modes from the power adapter. This is responded to with the full EPR capabilities of the power adapter. The Halo requests the fixed 48 V output mode with up to 5 A available, for a total power of up to 240 W.

电源适配器首次通电时,会广播 SOURCE_CAPABILITIES 消息,向连接的受电设备(sink)告知其支持的电压和电流组合。但这仅包含标准功率范围(SPR)输出模式,最高 20V(5A 下 100W)。Halo 随后发送 EPR_MODE 消息,提示电源适配器提供 EPR 模式。适配器回应其全部 EPR 能力。Halo 请求固定 48V 输出模式,最大电流 5A,总功率最高 240W。

§ 37

The new and most interesting part to us is the EXTENDED_CONTROL_MESSAGEs that are continuously sent from the Halo to the power adapter. We’ve seen ‘heartbeat’/’keep alive control messages with PD PPS and AVS, but never before with a fixed voltage output.

对我们来说最新颖且最有趣的部分是 Halo 持续向电源适配器发送的 EXTENDED_CONTROL_MESSAGES。我们在 PD PPS 和 AVS 中见过“心跳”/“保活”控制消息,但从未在固定电压输出下见过。

Open source ↗