VENOM: A Vectorized N:M Format for Unleashing the Power of Sparse Tensor Cores
Castro, Roberto L., Ivanov, Andrei, Andrade, Diego, Ben-Nun, Tal, Fraguela, Basilio B., Hoefler, Torsten
–arXiv.org Artificial Intelligence
The increasing success and scaling of Deep Learning models demands higher computational efficiency and power. Sparsification can lead to both smaller models as well as higher compute efficiency, and accelerated hardware is becoming available. However, exploiting it efficiently requires kernel implementations, pruning algorithms, and storage formats, to utilize hardware support of specialized sparse vector units. An example of those are the NVIDIA's Sparse Tensor Cores (SPTCs), which promise a 2x speedup. However, SPTCs only support the 2:4 format, limiting achievable sparsity ratios to 50%. We present the V:N:M format, which enables the execution of arbitrary N:M ratios on SPTCs. To efficiently exploit the resulting format, we propose Spatha, a high-performance sparse-library for DL routines. We show that Spatha achieves up to 37x speedup over cuBLAS. We also demonstrate a second-order pruning technique that enables sparsification to high sparsity ratios with V:N:M and little to no loss in accuracy in modern transformers.
arXiv.org Artificial Intelligence
Oct-3-2023
- Country:
- North America
- United States
- Texas > Dallas County
- Dallas (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- New York > New York County
- New York City (0.04)
- Missouri > St. Louis County
- St. Louis (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Illinois > Cook County
- Chicago (0.04)
- Texas > Dallas County
- Canada > Quebec
- Montreal (0.04)
- United States
- Europe
- Switzerland > Zürich
- Zürich (0.14)
- Spain > Galicia
- A Coruña Province > A Coruña (0.04)
- Italy > Tuscany
- Florence (0.04)
- Switzerland > Zürich
- North America
- Genre:
- Research Report (1.00)
- Technology: