Work

Tensor Program Compilation for Deep Learning on Modern GPUs

Year: 2026
Type: dissertation
Abstract: Deep learning has achieved remarkable progress over the past decade, driving breakthroughs in computer vision, natural language processing, and conversational AI.The large-scale deployment of deep learning models, particularly large language models with billions of parameters, has dramatically increased computational demands, making the efficiency of tensor computations on GPUs a critical priority. Although domain-specific languages (DSLs) and compilers have been developed to automate tensor program generation, existing approaches face fundamental trade-offs between programming simplicity and performance control. Schedule-oriented frameworks like TVM struggle to express fine-grained optimizations required by state-of-the-art GPU kernels, while low-level approaches like CUDA demand extensive architectural expertise. Furthermore, the growing adoption of model quantization has created an urgent need for efficient GPU kernels supporting non-standard bit-widths, which existing systems cannot adequately address. In this thesis, we present a series of progressively higher-level programming abstractions for tensor compilation on modern GPUs, each addressing a key limitation of prior approaches. First, we propose Hidet, a deep learning compiler based on a novel task-mapping programming paradigm. Unlike declarative loop-oriented scheduling, task mappings allow developers to directly define how computations are distributed across GPU execution units, enabling concise expression of complex optimizations such as software pipelining. Hidet outperforms state-of-the-art DL compilers by up to 1.48× while reducing kernel tuning time by 20×. Second, we introduce Tilus, a tile-level programming model that explicitly exposes the GPU memory hierarchy and tensor tile layouts. Tilus bridges the gap between the simplicity of tile-based languages like Triton and the fine-grained control needed for optimal performance, by providing thread-block-level abstractions with an algebraic layout system for flexible data reinterpretation. Tilus matches the performance of vendor-optimized libraries (e.g., cuBLAS) on matrix multiplication workloads while significantly simplifying kernel development. Third, we present FastQuant, which extends Tilus to support quantization for both weights and activations, enabling the use of low-precision tensor cores for higher throughput. Through systematic evaluation across a range of bit-widths, we demonstrate that 5-bit calibration-free quantization achieves better model quality than state-of-the-art calibrated 4-bit methods, while 6-bit quantization matches the quality of 8-bit quantization with 1.35× speedup, effectively reducing the calibration-free quantization bit-width from 8 to 6 bits without sacrificing accuracy. The three systems are built upon each other: Tilus extends Hidet's compilation infrastructure with tile-level abstractions, and FastQuant leverages Tilus's layout system for low-precision support. Together, they advance the state of the art in tensor compilation by providing more expressive and programmable GPU programming models without sacrificing performance.
Author: Ding, Yaoyao
Language: English
Open Access status: green
OpenAlex ID: W7204020891
Cites: 111
Cited by:
Related to: 10