Hugging Face Blog

Introducing the AMD 5th Gen EPYC™ CPU

arXiv Machine Learning
Nov 16

Performance-Portable Exact Gaussian Process Regression in Python via SYCL and oneMath

The paper introduces GPRat, an open‑source Python library for exact Gaussian process regression that uses the HPX runtime and tiled algorithms with CPU/CUDA BLAS backends. By adding a UXL Foundation oneMath backend built on a hybrid HPX/SYCL design, GPRat now supports AMD and Intel GPUs, achieving performance within 3% of native CUDA on an NVIDIA A30 and outperforming GPflow and GPyTorch on both NVIDIA and AMD hardware. The SYCL backend allows a single codebase to match CUDA performance on NVIDIA and exceed existing Python GP frameworks on AMD, while remaining portable across vendors.

By Alexander Strack, Marcel Graf, Alexander Van Craen, Dirk Pfl\"uger
Import AI
Aug 24

Import AI 470: No rights for machines; automating environment generation with SPADE; and building better GPU kernels with Hawkeye

The article discusses several recent developments in AI and computing, including the lack of legal rights for machines, the use of SPADE to automate environment generation, and the creation of improved GPU kernels with Hawkeye. It also touches on the differential acceleration of cyber, math, and AI technologies. These topics illustrate ongoing progress in AI infrastructure and performance optimization.

By Jack Clark
arXiv Machine Learning
Nov 2

TIRx: A Unified Tile Primitive ML Compiler Across Heterogeneous Backends

TIRx is a machine‑learning compiler that targets GPUs and AI accelerators by exposing explicit interfaces for execution scope, tensor layout, and tile‑primitive dispatch. It captures hardware teams at multiple granularities, maps logical tensors to heterogeneous hardware spaces using named axes and shard/replica/offset semantics, and automates address calculation, operand preparation, and instruction‑loop generation. Evaluation demonstrates vendor‑level performance on the latest GPUs and AI accelerators, while native‑code case studies show significant reductions in low‑level implementation code.

By Bohan Hou, Hongyi Jin, Guanjie Wang, Shushi Hong, Jinqi Chen, Yaxing Cai, Lijie Yang, Zihao Ye, Yaoyao Ding, Ruihang Lai, Todd Mowry, Tianqi Chen
arXiv AI
Oct 31

LLM Agent-Based Design of RISC-V CPUs with FPGA-in-the-Loop Evaluation

The paper introduces a development environment where large language model (LLM) agents design RISC‑V CPUs that are implemented on an FPGA for real‑time performance evaluation. Using on‑board measurements, the approach guides design decisions and accelerates evaluation, achieving a 9.6× speedup over single‑threaded RTL simulation. In a case study, FPGA measurements uncovered long‑run performance degradation that short diagnostic runs missed, leading to candidate selection, root‑cause analysis, and a fix.

By Leo Itoh, Junichiro Kadomoto
arXiv Machine Learning
Sep 21

Programming AMD XDNA NPUs with Open-source Compiler Tools: A FlashAttention Case Study

The paper reports on programming AMD XDNA NPUs for the FlashAttention workload using open‑source IRON and MLIR‑AIR compiler tools. It compares four reference designs on XDNA 1 and XDNA 2, showing that a fused kernel that keeps QKᵀ scores in local memory achieves 3.62 TFLOP/s on XDNA 2, doubling throughput and greatly improving energy efficiency over the IRON design and the integrated GPU. Roofline analysis guides when to fuse or stream operators based on each device’s ridge points, and the authors release the reference designs as open source.

By Erwei Wang, Ephrem Wu, Victor J. B. Jung, Jiajie Li, Andre Rosti, Joseph Melber, Samuel Bayliss