AMD发布ROCm 10.1:优化数据移动与开发工具
ROCm 10.1: Breaking the Data-Movement Bottleneck
AMD ROCm 针对大模型训练痛点的数据搬运瓶颈给出了具体工程解法,NUMA感知内存和hipFILE直连GPU对本地部署者极具参考价值,建议关注其实际性能收益。
ROCm 10.1: Breaking the Data-Movement Bottleneck#
ROCm 10.1:打破数据移动瓶颈#
October 05, 2026 by Adam Chan, Amy Wiebe, Liam Berry, Saad Rahim, Danny Guan, Anshul Gupta.
2026年10月5日,由 Adam Chan、Amy Wiebe、Liam Berry、Saad Rahim、Danny Guan、Anshul Gupta 撰写。
6 min read. | 1408 total words.
6分钟阅读。| 共1408个单词。
Ecosystems and Partners
生态系统与合作伙伴
AI/ML, Fine-Tuning, Linear Algebra, Compiler, Hardware, Computer Vision, Installation, JAX, LLM, Memory, Multimodal, Optimization, Performance
AI/ML、微调、线性代数、编译器、硬件、计算机视觉、安装、JAX、LLM、内存、多模态、优化、性能
AI, Developers, HPC, Systems
AI、开发者、HPC、系统
What limits your training run today: how fast the GPU computes, or how fast you can get data to it? For a growing number of workloads, the answer is the latter. ROCm 10.1 leads with that path, and carries a full slate of compiler, library, and tooling work behind it.
目前限制你训练运行的因素是什么:是 GPU 的计算速度,还是你能将数据送达 GPU 的速度?对于越来越多的工作负载,答案是后者。ROCm 10.1 沿着这一路径领先前行,并带来了全面的编译器、库和工具链改进。
Raw accelerator throughput is still a limiting factor, but as AI models and HPC datasets scale, an emerging bottleneck is feeding those accelerators data. Checkpoints, key-value caches, and model parameters now outgrow the fast memory nearest to the GPU, and the data path from storage to the device becomes the largest bottleneck. ROCm 10.1 addresses this shift with substantive improvements in its AMD Infinity Storage technology and the HIP runtime. hipFile gains additional capabilities to smoothly move data directly between storage and the GPU. The HIP runtime adds NUMA-aware host memory allocation, which places memory close to the compute that uses it.
原始加速器的吞吐量仍然是一个限制因素,但随着 AI 模型和 HPC 数据集的扩展,一个新兴的瓶颈在于如何向这些加速器输送数据。检查点(Checkpoints)、键值缓存(key-value caches)和模型参数现在超出了 GPU 附近快速内存的容量范围,从存储到设备的数据路径成为最大的瓶颈。ROCm 10.1 通过对其 AMD Infinity Storage 技术和 HIP 运行时的实质性改进来解决这一转变。hipFile 获得了更多功能,能够平滑地直接在存储和 GPU 之间移动数据。HIP 运行时增加了感知 NUMA 的主机内存分配功能,将内存放置在靠近使用它的计算单元附近。
Beyond data paths, ROCm 10.1 advances the developer workflow. AMD’s growing catalog of AMD Skills, complemented by the ROCm CLI, gives coding agents standardized integrations to set up local AI, diagnose ROCm issues, and optimize LLM inference on AMD hardware.
除了数据路径之外,ROCm 10.1 还推动了开发者工作流程的进步。AMD 不断增长的 AMD Skills 目录与 ROCm CLI 相结合,为编码代理提供了标准化的集成接口,用于设置本地 AI、诊断 ROCm 问题以及优化 AMD 硬件上的 LLM 推理。
Next-Generation Storage and I/O with AMD Infinity Storage#
借助 AMD Infinity Storage 实现下一代存储与 I/O#
As model parameters, checkpoints, and key-value (KV) caches grow, storage increasingly becomes the bottleneck that starves the GPU rather than feeds it. AMD Infinity Storage (AIS) debuted in ROCm 7.14 as a library that moves data directly between storage and memory without routing it through CPU memory.
随着模型参数、检查点和键值(KV)缓存的增长,存储日益成为导致 GPU 饥饿而非为其供水的瓶颈。AMD Infinity Storage (AIS) 于 ROCm 7.14 首次亮相,它是一个库,能够将数据直接在存储和内存之间移动,而无需经过 CPU 内存路由。
Comparison of the traditional storage path through host RAM versus the new hipFILE path that moves storage directly to the GPU#
传统通过主机 RAM 的存储路径与新 hipFILE 路径(直接将存储移动到 GPU)的对比#
AMD builds on this foundation with three hipFILE improvements that reduce unnecessary data movement and increase accelerator utilization:
AMD 在此基础上构建了三项 hipFILE 改进,以减少不必要的数据移动并提高加速器利用率:
- Asynchronous Fast-Path Backend. Read and write requests now run directly on a HIP stream, skipping the host-memory staging step through which data traditionally passes. This reduces latency and increases sustained throughput for checkpoint engines and KV-cache offloading systems, improving end-to-end responsiveness.
- Batch I/O API. Submits multiple file requests at once and dispatches them across an internal pool of worker threads, improving utilization across storage devices for large training datasets and data-intensive inference pipelines.
- Multi-Tier I/O Statistics. Progressively richer hipFILE telemetry flows to ROCm profiling tools, making it easier to determine whether a workload is limited by compute, memory, or data delivery.
- 异步快速路径后端。读写请求现在直接在 HIP 流上运行,跳过了数据传统上经过的主机内存暂存步骤。这降低了延迟,提高了检查点引擎和 KV 缓存卸载系统的持续吞吐量,从而改善了端到端的响应能力。
- 批量 I/O API。一次性提交多个文件请求,并将它们分发到内部工作线程池中,从而提高大型训练数据集和数据密集型推理管道中存储设备的利用率。
- 多级 I/O 统计信息。hipFILE 遥测数据逐步丰富并流向 ROCm 性能分析工具,使得更容易确定工作负载是受限于计算、内存还是数据交付。
NUMA-Aware Host Memory Allocation with HIP#
基于 NUMA 的主机内存分配与 HIP#
Adding more CPUs and GPUs does not automatically improve performance if data must travel between sockets to reach the compute using it. ROCm 10.1 helps reduce this overhead by extending HIP virtual memory management to let applications allocate host memory on a specific CPU NUMA node instead of falling back to generic memory pools. Libraries like RCCL can use this to build NUMA-local, zero-copy communication pipelines that keep data movement close to the compute that needs it, reducing unnecessary traffic between sockets.
如果数据必须在插槽之间传输才能到达使用它的计算单元,那么增加 CPU 和 GPU 的数量并不会自动提升性能。ROCm 10.1 通过将 HIP 虚拟内存管理扩展为允许应用程序在特定的 CPU NUMA 节点上分配主机内存,而不是回退到通用内存池,从而帮助减少这种开销。RCCL 等库可以利用这一点构建 NUMA 本地、零拷贝的通信管道,将数据移动保持在靠近所需计算的位置,减少插槽之间的不必要流量。
ROCm CLI & AMD Skills#
ROCm 10.1 also brings ROCm CLI v1.0.0, which provides a single-binary tool for installing, configuring, and running local AI workloads on AMD GPUs. AMD has added first-class support for both ROCm 10.0 and ROCm 10.1, including automatic detection of compatible flash-attn and amd-aiter wheels for vLLM. The rocm install command handles the new ROCm 10 “next” package layout out of the box and provides a flag to enable fully non-interactive installs for scripted or CI environments. A full-screen TUI dashboard provides live GPU telemetry alongside model serving and chat. ROCm CLI is available on Linux, Windows, and WSL2.
ROCm 10.1 还带来了 ROCm CLI v1.0.0,它提供了一个单二进制工具,用于在 AMD GPU 上安装、配置和运行本地 AI 工作负载。AMD 添加了对 ROCm 10.0 和 ROCm 10.1 的一流支持,包括自动检测兼容 flash-attn 和 amd-aiter wheels 以用于 vLLM。rocm install 命令开箱即用地处理新的 ROCm 10 “next” 包布局,并提供一个标志以启用完全非交互式安装,适用于脚本或 CI 环境。全屏 TUI 仪表板提供实时 GPU 遥测数据,同时展示模型服务和聊天功能。ROCm CLI 可在 Linux、Windows 和 WSL2 上使用。
Where the CLI is the tool a developer runs directly, AMD Skills brings that same ROCm expertise to AI coding agents. Each skill packages verified configurations into a standardized integration that agents like Claude Code and Codex can apply consistently. AMD is highlighting two new skills that were added in this release:
CLI 是开发者直接运行的工具,而 AMD Skills 则将同样的 ROCm 专业知识带给 AI 编码代理。每个技能都将经过验证的配置打包为标准化的集成,供 Claude Code 和 Codex 等代理一致地应用。AMD 重点介绍了本次发布中添加的两个新技能:
- quark-install installs or verifies AMD Quark with a PyTorch build that matches your accelerator (PyPI, wheel index, local wheel, or source), then checks imports, kernels, and quark-cli.
- quark-torch-llm-ptq runs post-training quantization on PyTorch / Hugging Face LLMs. It inspects the model, helps you pick a scheme (FP8, INT4 and more), and produces a verified quantized model.
- quark-install 使用与您的加速器匹配的 PyTorch 构建(PyPI、wheel 索引、本地 wheel 或源代码)来安装或验证 AMD Quark,然后检查导入、内核和 quark-cli。
- quark-torch-llm-ptq 对 PyTorch / Hugging Face LLM 进行训练后量化。它会检查模型,帮助您选择一种方案(FP8、INT4 等),并生成经过验证的量化模型。
Each skill is owned and versioned by the team behind the product it describes, and the list is expected to grow as more skills land.
每个技能都由其描述产品的团队拥有和维护版本,随着更多技能的加入,列表预计会不断增长。
Developer Tools#
开发者工具#
The ROCprofiler-SDK introduces kernel replay (currently in beta), which collects a full counter set in one application run instead of rerunning the application once per counter group. Because GPUs can collect only a limited number of hardware performance counters per kernel dispatch, kernel replay re-executes each dispatch in place and restores tracked device memory between passes. ROCprofiler-SDK also lets AI framework profilers, such as PyTorch’s Kineto and Triton’s Proton, start and stop at any point during a run. A new PC sampling agent skill in ROCprofiler-SDK guides AI coding assistants through running rocprofv3 PC sampling on your application and reporting hotspots and stall reasons.
ROCprofiler-SDK 引入了内核重放功能(目前处于测试阶段),该功能在一次应用运行中收集完整的计数器集,而不是为每个计数器组重新运行一次应用。由于 GPU 每次内核分发只能收集有限数量的硬件性能计数器,因此内核重放会在原地重新执行每次分发,并在各次运行之间恢复被跟踪的设备内存。ROCprofiler-SDK 还允许 AI 框架分析器(如 PyTorch 的 Kineto 和 Triton 的 Proton)在运行期间的任意时刻启动和停止。ROCprofiler-SDK 中的新 PC 采样代理技能可指导 AI 编码助手在你的应用上运行 rocprofv3 PC 采样,并报告热点和停滞原因。
ROCm Compute Profiler’s standalone roofline report is now an interactive HTML page where you can isolate a single kernel or roof and switch the arithmetic-intensity axis between cache levels. Its PC sampling analysis now reports results per kernel, down to sample and stall counts on individual instructions. For inference workloads, a new guide covers profiling vLLM with Compute Profiler.
ROCm Compute Profiler 的独立屋顶线报告现在是一个交互式 HTML 页面,你可以在其中隔离单个内核或屋顶线,并在缓存层级之间切换算术强度轴。其 PC 采样分析现在按内核报告结果,细化到单条指令的样本数和停滞计数。对于推理工作负载,新增指南涵盖了使用 Compute Profiler 对 vLLM 进行分析的方法。
ROCm Systems Profiler now supports Gorgon Point 1, 2, and 3 APUs (gfx1150, gfx1152, and gfx1153) on Linux, so you can trace CPU and GPU activity together for workloads running on these integrated GPUs. ROCm Optiq extends its unified visualization and analysis capabilities to support rocprofv3, enabling developers to visualize and analyze the latest profiling data within Optiq’s unified interface alongside ROCm Systems Profiler traces and ROCm Compute Profiler analysis.
ROCm Systems Profiler 现在支持 Linux 上的 Gorgon Point 1、2 和 3 APU(gfx1150、gfx1152 和 gfx1153),因此你可以同时追踪 CPU 和 GPU 活动,以分析在这些集成 GPU 上运行的工作负载。ROCm Optiq 将其统一的可视化和分析能力扩展至支持 rocprofv3,使开发人员能够在 Optiq 的统一界面中可视化并分析最新的分析数据,同时结合 ROCm Systems Profiler 跟踪数据和 ROCm Compute Profiler 分析结果。
LLVM 24 and Faster Rebuilds#
LLVM 24 和更快的重建#}
ROCm 10.1 moves compiler development onto LLVM 24, bringing a host of new features and optimizations from the LLVM community, including reduced rebuild times for large projects. The amdclang++ compiler advances from LLVM 23 to LLVM 24, delivering newer C++ language support and community optimization benefits.
ROCm 10.1 将编译器开发迁移至 LLVM 24,带来了 LLVM 社区的大量新功能和优化,包括减少大型项目的重建时间。amdclang++ 编译器从 LLVM 23 升级到 LLVM 24,提供了更新的 C++ 语言支持和社区优化优势。
ROCm 10.1 also speeds up incremental builds by caching the partitions that link-time optimization (LTO) creates when it splits HIP device code. As a result, a small change can reuse unchanged partitions instead of rebuilding them from scratch.
ROCm 10.1 还通过缓存链接时优化(LTO)在拆分 HIP 设备代码时创建的分区,加快了增量构建的速度。因此,微小的更改可以重用未更改的分区,而无需从头重建它们。
Upgrade note: If you’re upgrading from ROCm 10.0, this is a major compiler version change. The clang_major version macro now reports 24. Review any code or build scripts keyed to a specific compiler version, along with any tools that link directly against libLLVM.
升级说明:如果你是从 ROCm 10.0 升级,这是一个重大的编译器版本变更。clang_major 版本宏现在报告值为 24。请审查任何针对特定编译器版本编写的代码或构建脚本,以及任何直接链接 libLLVM 的工具。
Advancing AI and Math Libraries#
推进 AI 和数学库#
ROCm 10.1 also updates its AI and math libraries with expanded kernel support, compiler improvements, and more efficient sparse operations:
ROCm 10.1 还通过扩展内核支持、编译器改进以及更高效的稀疏运算,更新了其 AI 和数学库:
- Composable Kernel: AMD’s library of optimized AI kernels speeds up attention on Radeon GPUs and brings more quantized matrix-multiply types to its kernel dispatcher.
- 可组合内核(Composable Kernel):AMD 优化的 AI 内核库加快了 Radeon GPU 上的注意力机制处理速度,并为其内核调度器引入了更多量化矩阵乘法类型。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力