Opensource Deep Learning Compiler Powering Gen AI on Adreno GPU
summary
An open deep‑learning compiler pipeline targets Adreno GPUs by lowering models from PyTorch/ONNX into Relax IR then TensorIR, applying an Adreno‑specific 5D texture layout with 128‑bit texture loads (4‑value vectors) and inserting image/buffer copy passes to respect a 16K image limit. Codegen produces OpenCL or Vulkan shaders; a heterogeneous tuner mixes CLML vendor kernels and auto‑generated kernels for a 10–15% gain, and Vulkan cooperative matrix delivers around a 2x speedup for GenAI workloads.
AI-written summary · about
chapters (14)
- 0:00Introduction and overview
- 1:28TVM compiler stack explained
- 4:54LLM workflow with TVM
- 7:22Adreno GPU optimizations
- 11:12Vulkan vs OpenCL support
- 12:18Bring your own codegen
- 13:42Heterogeneous tuner
- 15:26Performance benchmarks
- 15:46MLC LLM community support
- 17:52Upcoming features and priorities
- 20:19Meta scheduler and future plans
- 21:45Online compiler in C++
- 24:12Three-layer approach for scalability
- 25:55Q&A session
