arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.04031cs.AR
收藏

TileLens:通过透明二维内存布局高效使用大粒度内存系统

TileLens: Efficiently Using Large-Granularity Memory Systems with Transparent Two-Dimensional Memory Layout

Georgia Institute of Technology(佐治亚理工学院)

Jae Hyung Ju, Euijun Chung, Hritvik Taneja, Anish Saxena, Shinnung Jeong, Hyesoon Kim, Moinuddin K. Qureshi

AI总结:

研究大语言模型推理受GPU高带宽内存限制问题,指出大粒度内存系统致 tiled 矩阵乘法性能降。提出用 tile-major 布局缓解读放大,介绍TileLens软硬件扩展,评估显示其能在特定条件下接近HBM性能。

摘要:

大语言模型(LLM)推理受GPU高带宽内存(HBM)容量和带宽瓶颈限制。近期方案虽提供更高容量或带宽,但需千字节最小访问粒度,会使tiled矩阵乘法性能降一个数量级。根源是读放大,计算tile二维性质与一维内存布局不匹配。为缓解,提出tile-major布局及TileLens软硬件扩展,评估显示其能在特定条件下接近HBM性能。

英文摘要:

Large Language Model (LLM) inference is bottlenecked by the capacity and bandwidth of GPU High-Bandwidth Memory (HBM). Recent proposals, such as High-Bandwidth Flash (HBF) and RoMe, offer higher capacity or bandwidth than HBM, but require a minimum access granularity of kilobytes. We show that these Large-Granularity Memory Systems (LGMS) can degrade LLM inference performance by up to an order of magnitude. The root cause is read amplification during tiled matrix multiplication, in which each memory request fetches far more data than the compute tile needs. Such waste stems from a fundamental mismatch between the two-dimensional nature of compute tiles and the one-dimensional memory layout, causing each request to spill well beyond tile boundaries. To eliminate read amplification in LGMS, we propose to use tile-major layout. Rather than storing data as a one-dimensional strip, tile-major layout reshapes each contiguous memory block into a two-dimensional rectangle, aligning memory granularity with tile boundaries. To ease the adoption of tile-major layout on GPUs, we propose TileLens, lightweight software and hardware extensions that cover major classes of GPU kernels. TileLens-SW extends GPU DSLs so that DSL-based kernels can adopt tile-major by only changing the layout descriptor. TileLens-HW extends the Tensor Memory Accelerator (TMA) for tile-major support in TMA-based kernels without code changes. We evaluate TileLens on a cycle-level GPU simulator using Qwen-3 30B and Llama-3.1 70B. Combining a tile-major layout with our adaptive degree prefetcher, TileLens achieves near-HBM performance on HBF-augmented GPUs with a 5 us NAND read latency, reducing the geomean slowdown from 1.62-6.69x with conventional layouts to within 10% of an HBM-only baseline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑