SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning
Ye, Zihao, Lai, Ruihang, Shao, Junru, Chen, Tianqi, Ceze, Luis
–arXiv.org Artificial Intelligence
Sparse tensors are rapidly becoming critical components of modern deep learning workloads. However, developing high-performance sparse operators can be difficult and tedious, and existing vendor libraries cannot satisfy the escalating demands from new operators. Sparse tensor compilers simplify the development of operators, but efficient sparse compilation for deep learning remains challenging because a single sparse format cannot maximize hardware efficiency, and single-shot compilers cannot keep up with latest hardware and system advances. In this paper, we observe that the key to addressing both these challenges is to leverage composable formats and composable transformations. We propose SparseTIR, a sparse tensor compilation abstraction that offers composable formats and composable transformations for deep learning workloads. SparseTIR constructs a search space over these composable components for performance tuning. With these improvements, SparseTIR obtains consistent performance speedups vs vendor libraries on GPUs for single operators: 1.20-2.34x for GNN operators, 1.05-2.98x for sparse attention operators, and 0.56-7.45x for sparse convolution operators. SparseTIR also accelerates end-to-end GNNs by 1.08-1.52x for GraphSAGE training, and 4.20-40.18x for RGCN inference.
arXiv.org Artificial Intelligence
Feb-21-2023
- Country:
- Oceania > Australia (0.04)
- North America
- Dominican Republic (0.04)
- United States
- District of Columbia > Washington (0.04)
- North Carolina > Orange County
- Chapel Hill (0.04)
- Colorado > Denver County
- Denver (0.04)
- Arizona > Maricopa County
- Phoenix (0.14)
- Texas
- Dallas County > Dallas (0.14)
- Travis County > Austin (0.04)
- Massachusetts > Suffolk County
- Boston (0.04)
- Hawaii > Honolulu County
- Honolulu (0.04)
- New York
- New York County > New York City (0.05)
- Suffolk County > Stony Brook (0.04)
- Florida > Miami-Dade County
- Miami (0.04)
- New Mexico > Santa Fe County
- Santa Fe (0.04)
- Connecticut > Tolland County
- Storrs (0.04)
- Georgia > Fulton County
- Atlanta (0.04)
- Washington > King County
- Seattle (0.14)
- Pennsylvania
- Allegheny County > Pittsburgh (0.14)
- Philadelphia County > Philadelphia (0.04)
- California
- San Francisco County > San Francisco (0.28)
- Los Angeles County > Long Beach (0.04)
- Monterey County > Seaside (0.04)
- San Diego County
- Puerto Rico > San Juan
- San Juan (0.04)
- Canada
- Quebec > Montreal (0.04)
- Ontario > Toronto (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.05)
- Europe
- France (0.04)
- Greece (0.04)
- Austria (0.04)
- United Kingdom > England
- Oxfordshire > Oxford (0.04)
- Greater London > London (0.04)
- Switzerland > Vaud
- Lausanne (0.04)
- Italy > Piedmont
- Turin Province > Turin (0.04)
- Asia
- Taiwan > Taiwan Province
- Taipei (0.04)
- South Korea > Seoul
- Seoul (0.04)
- Middle East > Saudi Arabia
- Riyadh Province > Riyadh (0.04)
- Japan > Honshū
- Kantō > Tokyo Metropolis Prefecture > Tokyo (0.14)
- China > Shanghai
- Shanghai (0.04)
- Taiwan > Taiwan Province
- Genre:
- Research Report (0.82)
- Technology: