Metraipolis › archive › dc_f21797b15cc9
Trident: Unifying Guarded Dispatch and Host Execution for PyTorch Triton Workloads — arXiv:2609.37241
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.37241
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T17:30:54.399Z
- SHA-256 of the archived text
521f7deb9cef31c3402f1df8fb94a2f48e1e7a36eab8a44c596d0dcaba91c85f- Stable URL of this page
https://metraipolis.com/documento/dc_f21797b15cc9
How to cite
Trident: Unifying Guarded Dispatch and Host Execution for PyTorch Triton Workloads — arXiv:2609.37241 — arXiv (en), https://arxiv.org/abs/2609.37241 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f21797b15cc9 (Metraipolis archive dc_f21797b15cc9, sha256 521f7deb9cef31c3402f1df8fb94a2f48e1e7a36eab8a44c596d0dcaba91c85f)
BibTeX
@misc{dcf21797b15cc9,
title = {Trident: Unifying Guarded Dispatch and Host Execution for PyTorch Triton Workloads — arXiv:2609.37241},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.37241},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f21797b15cc9; sha256 521f7deb9cef31c3402f1df8fb94a2f48e1e7a36eab8a44c596d0dcaba91c85f},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.37241. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
User-written Triton kernels enable high-performance GPU computation within PyTorch, but their end-to-end latency can remain dominated by host-side orchestration, especially when device execution is short. Although this http URL can generate native host wrappers for captured graphs, each invocation still passes through runtime-managed specialization lookup, guard evaluation, and preparation before reaching the wrapper. We present Trident, a compiler backend that removes this recurring overhead from the specialization cache-hit path. Trident introduces the Specialization Cache Module (SCM), which compiles guarded specialization selection, argument and execution-environment preparation, and host execution for multiple specializations into a single executable module. An invocation enters the SCM once, remains in compiled code when a specialization matches, and returns to Python only when a new specialization must be compiled. Built on Torch-MLIR, Trident lowers guards and host-side orchestration to native code while retaining calls to optimized runtime implementations of supported ATen operators. Our evalu- ation on two LLMs shows that Trident achieves up to a 1.47x speedup in model-level end-to-end latency over eager execution and up to 1.68x over this http URL . Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-30 in cs.LG). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.37241 — 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-07T16:59:48.309Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).