Cross-Layer Co-Optimization's Top 3 Techniques
By breaking down rigid layer boundaries, TVM Unity enables new automated, learning-driven optimization across an expanded search space. This facilitates novel techniques like more effective weight layout rewrites, dynamic operator fusion, and intelligent hardware-specific mappings for superior performance.
The top 3
- Automated Learning-Driven Schedule Search: TVM Unity employs Meta-Schedule, a learning-driven auto-tuning system, to automatically explore a vast joint search space of program transformations and hardware mappings, identifying optimal execution schedules across the ML stack for peak performance on diverse devices.
- Unified IRs for Cross-Layer Transformation: TVM Unity leverages unified Intermediate Representations (IRs) like Relax for graph-level and TensorIR for tensor-level computations, enabling seamless expression and application of optimizations that bridge the traditional boundaries between model, compiler, and hardware layers.
- Cross-Layer Operator Fusion for Efficiency: By unifying optimization layers, TVM Unity enables advanced operator fusion techniques that combine multiple computational operations from graph to tensor levels into single kernels, drastically reducing memory access and boosting execution speed.
Sources
Open the full topic