Metraipolis › archive › dc_b1cbcc17a938
Write Once, Run Everywhere: The Axon DSL for Shape-Safe and Framework-Agnostic LLM Architectures — arXiv:2608.19889
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.19889
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T12:08:48.124Z
- SHA-256 of the archived text
71098617bc5157e31fa08c1eeace189d8222f787909dea18740ed5dbe6d8ce41- Stable URL of this page
https://metraipolis.com/documento/dc_b1cbcc17a938
How to cite
Write Once, Run Everywhere: The Axon DSL for Shape-Safe and Framework-Agnostic LLM Architectures — arXiv:2608.19889 — arXiv (en), https://arxiv.org/abs/2608.19889 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b1cbcc17a938 (Metraipolis archive dc_b1cbcc17a938, sha256 71098617bc5157e31fa08c1eeace189d8222f787909dea18740ed5dbe6d8ce41)
BibTeX
@misc{dcb1cbcc17a938,
title = {Write Once, Run Everywhere: The Axon DSL for Shape-Safe and Framework-Agnostic LLM Architectures — arXiv:2608.19889},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.19889},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b1cbcc17a938; sha256 71098617bc5157e31fa08c1eeace189d8222f787909dea18740ed5dbe6d8ce41},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.19889. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The entire ecosystem of open-source language models effectively relies on a single platform. What if this platform was forced to shut down tomorrow? Implementing and maintaining efficient model definitions and translating them between different training and inference regimes is a resource-heavy task that severely limits model efficiency and portability, hindering both scaling and deployment. Here, we present Axon, a strongly typed domain-specific language with Haskell-like syntax, that enables a write-once, run everywhere paradigm for LLM architectures. By basing collaboration on a language specification rather than a specific framework's vision, Axon fosters open cooperation and empowers researchers to implement highly specialized architectures without giving up optimization infrastructure or accepting deployment lock-in. Axon allows for concise, auditable specifications that can be automatically compiled to standalone implementations for leading frameworks: PyTorch, PyTorch with Triton, JAX, MLX and vLLM. In 467 inference benchmarking experiments on models ranging from 135M to 32B parameters, we demonstrate median speedups of 7% on PyTorch, 12% on PyTorch with Triton, 91% on JAX, and 107% on MLX, compared to the reference implementations from Transformers. When deployed as native vLLM architectures with PagedAttention and KV-cache, Axon models achieve a 58% median speedup over Transformers implementations. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-21 in cs.PL). Categorie arXiv: Artificial Intelligence (cs.AI) ; Programming Languages (cs.PL). Pagina del lavoro: https://arxiv.org/abs/2608.19889 — 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-18T12:07:53.968Z dalla pagina https://arxiv.org/catchup/cs.PL/2026-08-21?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).