Metraipolis › archive › dc_345b5849b659

DLCB: Ahead-of-Time Compilation for Dynamic Deep Learning — arXiv:2610.10547

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.10547
License (as archived)
CC0-1.0
Archived
2026-10-09T06:36:33.760Z
SHA-256 of the archived text
c19800c5d4c2abce6c57bbd793c25b220f02e0bf5c8cb91aae29faabb7dcdabb
Stable URL of this page
https://metraipolis.com/documento/dc_345b5849b659

How to cite

DLCB: Ahead-of-Time Compilation for Dynamic Deep Learning — arXiv:2610.10547 — arXiv (en), https://arxiv.org/abs/2610.10547 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_345b5849b659 (Metraipolis archive dc_345b5849b659, sha256 c19800c5d4c2abce6c57bbd793c25b220f02e0bf5c8cb91aae29faabb7dcdabb)
BibTeX
@misc{dc345b5849b659,
  title = {DLCB: Ahead-of-Time Compilation for Dynamic Deep Learning — arXiv:2610.10547},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.10547},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_345b5849b659; sha256 c19800c5d4c2abce6c57bbd793c25b220f02e0bf5c8cb91aae29faabb7dcdabb},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.10547. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Deep learning workloads are increasingly deployed in settings where tensor shapes are not fully known at compile time. Batch sizes vary across requests, sequence lengths differ between inputs, and model architectures admit a range of spatial resolutions. This dynamism creates a fundamental tension: ahead-of-time compiled GPU kernels deliver peak performance but traditionally require fully static tensor shapes, while just-in-time compilation supports dynamic shapes at the cost of runtime compilation overhead. We present DLCB (Deep Learning Compiler Backend), a deep learning compiler that resolves this tension through a unified three-tier compilation strategy. For programs with fully static tensor shapes, DLCB generates static CUDA C++ kernels ahead of time. For programs whose tensor rank is statically known but whose dimension sizes are dynamic, DLCB generates AOT kernels parameterized by those dimensions, compiling once and executing across a range of shapes. For programs with tensors of unknown rank, DLCB falls back to JIT compilation at runtime. For AOT compilation with dynamic shape tensors, our approach builds a system of shape constraints from the input program, and uses a solver to reduce these to either a) fixed constraints that produce hard-coded constants in the generated kernel; b) unresolved constraints which become kernel parameters passed at launch time, along with interpreted host code to check that the constraint holds for a given set of inputs and to compute the values to pass. Our compiler and runtime are embedded in PyTorch, and use an automatic shape generalization pass to enable AOT compilation with dynamic shapes for supported subsets of PyTorch programs

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.PL, nuovi lavori del giorno).
Categorie arXiv: Programming Languages (cs.PL).
Pagina del lavoro: https://arxiv.org/abs/2610.10547 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-09T05:58:01.393Z dalla pagina https://arxiv.org/list/cs.PL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).