Metraipolis › archive › dc_749a7fe9c7f7
RLX: A Unified Multi-Backend Tensor Compiler and Distributed Runtime in Rust — arXiv:2609.37916
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.37916
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T16:27:54.710Z
- SHA-256 of the archived text
c565b16b7e0899cf75c762c3bebebd87a7ba60d2941b6033abed8278a999c0f5- Stable URL of this page
https://metraipolis.com/documento/dc_749a7fe9c7f7
How to cite
RLX: A Unified Multi-Backend Tensor Compiler and Distributed Runtime in Rust — arXiv:2609.37916 — arXiv (en), https://arxiv.org/abs/2609.37916 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_749a7fe9c7f7 (Metraipolis archive dc_749a7fe9c7f7, sha256 c565b16b7e0899cf75c762c3bebebd87a7ba60d2941b6033abed8278a999c0f5)
BibTeX
@misc{dc749a7fe9c7f7,
title = {RLX: A Unified Multi-Backend Tensor Compiler and Distributed Runtime in Rust — arXiv:2609.37916},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.37916},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_749a7fe9c7f7; sha256 c565b16b7e0899cf75c762c3bebebd87a7ba60d2941b6033abed8278a999c0f5},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.37916. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Production machine learning (ML) stacks often split graph compilation and kernel execution across different layers and languages, making backend behavior, deployment guarantees, and performance fallbacks hard to reason about end-to-end. RLX addresses this gap with a single Rust codebase that combines compiler and runtime roles around one primitive-level, three-level intermediate representation (IR), plus a transparent dispatch contract that resolves each operator to native, common-IR, or rewritten lowering and fails compilation when legalization is not possible. The same IR targets fourteen runtime devices (cpu, metal, mlx, ane, cuda, rocm, oneapi, tpu, hexagon, gpu, vulkan, opengl, directx, webgpu) and two specialty codegen paths (Cortex-M INT8 and FPGA), ingests safetensors, GGUF, ONNX, and rten formats, supports F16/BF16/F64/C64 and quantized INT4/INT8 flows with AMP/PTQ/QAT, and scales via tensor-/pipeline-parallel collectives over TCP and RDMA transports. Beyond neural workloads, RLX also extends to scientific/physics-style domains through sparse and dense linear algebra extensions (e.g., CSR LU/CG/matvec and LAPACK- backed factorizations) and 3D Gaussian splatting operators. We evaluate RLX against PyTorch, TensorFlow, JAX, candle, burn, tch, rten, MLX, CoreML, IREE, Glow, TensorRT, and tinygrad under identical input generation and p50 measurement methodology on one host. On all-MiniLM-L6-v2, RLX-Metal is fastest at every batch (e.g., 16.6 ms at batch 32 vs. PyTorch-MPS 26.7 ms). In the MNIST training table, RLX also has the top-throughput entry (graph-fused MLP: 946,487 img/s), above NumPy+BLAS (787,349 img/s), while retaining 100% top-1 parity on reference checks (e.g., Qwen3). Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-30 in cs.AI). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.37916 — 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-07T15:54:54.049Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).