Lune

SC2024顶会

LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor Cores

Yiwei Zhang, Kun Li, Liang Yuan, Jiawen Cheng, Yunquan Zhang, Ting Cao, Mao Yang

摘要

Stencil computations play a pivotal role in numerous scientific and industrial applications, yet their efficient execution on specialized hardware accelerators like Tensor Core Units (TCUs) remains a challenge. Despite previous attempts to address this issue, performance bottlenecks persist, particularly in memory access redundancy. This paper introduces LoRAStencil 1 , a novel stencil computing system designed to mitigate memory access redundancies on TCUs through low-rank adaptation. We first identify a nuanced form of this redundancy, dimension residue, specific to TCUs. Then LoRAStencil leverages orchestrated mathematical transformations to decompose stencil weight matrices into smaller rank-1 matrices, facilitating efficient data gathering along residual dimensions. It comprises three key components: memory-efficient Residual Dimension Gathering to facilitate more data reuse, compute-saving Pyramidal Matrix Adaptation to exploit the inherent low-rank characteristics, and performance-boosting Butterfly Vector Swapping to circumvent all data shuffles. Comprehensive evaluations demonstrate that LoRAStencil address dimension residues effectively, which outperforms state-of-the-arts with up to a 2.16x speedup, offering promising advancements for efficient tensorized stencil computation on TCUs by Low-Rank Adaptation.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Characterizing Matrix Multiplication Units across General Parallel Patterns in Scientific Computing 引用了 FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core Units
  • Characterizing Matrix Multiplication Units across General Parallel Patterns in Scientific Computing 引用了 ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • Characterizing Matrix Multiplication Units across General Parallel Patterns in Scientific Computing 引用了 SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation
  • FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core Units 引用了 Productive Performance Engineering for Weather and Climate Modeling with Python
  • FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core Units 引用了 Scalable Distributed High-Order Stencil Computations
  • FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core Units 引用了 Improving communication by optimizing on-node data movement with data layout
  • FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core Units 引用了 ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • HStencil: Matrix-Vector Stencil Computation with Interleaved Outer Product and MLA 引用了 ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores 引用了 Productive Performance Engineering for Weather and Climate Modeling with Python
  • ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores 引用了 Scalable Distributed High-Order Stencil Computations
  • ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores 引用了 Improving communication by optimizing on-node data movement with data layout
  • ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores 引用了 AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction
  • Jigsaw: Toward Conflict-free Vectorized Stencil Computation by Tessellating Swizzled Registers 引用了 Scalable Distributed High-Order Stencil Computations
  • Jigsaw: Toward Conflict-free Vectorized Stencil Computation by Tessellating Swizzled Registers 引用了 Improving communication by optimizing on-node data movement with data layout
  • Jigsaw: Toward Conflict-free Vectorized Stencil Computation by Tessellating Swizzled Registers 引用了 ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation 引用了 Productive Performance Engineering for Weather and Climate Modeling with Python
  • SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation 引用了 FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core Units
  • SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation 引用了 Scalable Distributed High-Order Stencil Computations
  • SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation 引用了 Improving communication by optimizing on-node data movement with data layout
  • SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation 引用了 ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation 引用了 AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core UnitsHaozhi Han, Kun Li, Wei Cui, Donglin Bai 等PPoPP 2025 · 7 次引用
  2. HStencil: Matrix-Vector Stencil Computation with Interleaved Outer Product and MLAHan Huang, Jiabin Xie, Guangnan Feng, Xianwei Zhang 等SC 2025 · 5 次引用
  3. SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity TransformationQi Li, Kun Li, Haozhi Han, Liang Yuan 等SC 2025 · 3 次引用
  4. Jigsaw: Toward Conflict-free Vectorized Stencil Computation by Tessellating Swizzled RegistersYiwei Zhang, Kun Li, Liang Yuan, Haozhi Han 等PPoPP 2025 · 2 次引用
  5. Characterizing Matrix Multiplication Units across General Parallel Patterns in Scientific ComputingYuechen Lu, Hongwei Zeng, Marc Casas, Weifeng LiuPPoPP 2026 · 1 次引用

它引用的 Paper7

  1. AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstractionSize Zheng, Renze Chen, Anjiang Wei, Yicheng Jin 等ISCA 2022 · 63 次引用
  2. ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor CoresYuetao Chen, Kun Li, Yuhao Wang, Donglin Bai 等PPoPP 2024 · 25 次引用
  3. Improving communication by optimizing on-node data movement with data layoutTuowen Zhao, Mary W. Hall, Hans Johansen, Samuel WilliamsPPoPP 2021 · 19 次引用
  4. Productive Performance Engineering for Weather and Climate Modeling with PythonTal Ben-Nun, Linus Groner, Florian Deconinck, Tobias Wicky 等SC 2022 · 17 次引用
  5. Scalable Distributed High-Order Stencil ComputationsMathias Jacquelin, Mauricio Araya-Polo, Jie MengSC 2022 · 17 次引用

相关 Paper

  1. SPIDER: Unleashing Sparse Tensor Cores for Stencil Computation via Strided SwappingQiqi Gu, Chenpeng Wu, Heng Shi, Jianguo YaoPPoPP 2026 · 1 次引用
  2. Duplo: Lifting Redundant Memory Accesses of Deep Neural Networks for GPU Tensor CoresHyeonjin Kim, Sungwoo Ahn, Yunho Oh, Bogil Kim 等MICRO 2020 · 27 次引用
  3. FlashSparse: Minimizing Computation Redundancy for Fast Sparse Matrix Multiplications on Tensor CoresJinliang Shi, Shigang Li, Youxuan Xu, Rongtian Fu 等PPoPP 2025 · 18 次引用
  4. LoRAFusion: Efficient LoRA Fine-Tuning for LLMsZhanda Zhu, Qidong Su, Yaoyao Ding, Kevin Song 等EuroSys 2026 · 2 次引用
  5. Temporal vectorization for stencilsLiang Yuan, Hang Cao, Yunquan Zhang, Kun Li 等SC 2021 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖