aiqbench analysis
Trident addresses a critical bottleneck in PyTorch Triton workflows by compiling host-side orchestration and guard evaluation into native code, significantly reducing latency for short GPU kernels. By integrating these operations into a Specialization Cache Module built on Torch-MLIR, the system eliminates recurring runtime overhead without sacrificing compatibility with optimized ATen operators. This advancement directly enhances the efficiency of large language model training and inference pipelines where host-device synchronization often dominates execution time.
Trident: Unifying Guarded Dispatch and Host Execution for PyTorch Triton Workloads
arXiv:2609.37241v1 Announce Type: new Abstract: 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 torch.compile 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 torch.compile.
Abstract: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.
Machine Learning (cs.LG)
arXiv:2609.37241 [cs.LG]
(or arXiv:2609.37241v1 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2609.37241 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 269 words
Related coverage
ROCm 10.1: Breaking the Data-Movement Bottleneck
AMD · Oct 5, 2026
SPIR-V on ROCm: A Portable IR for AMD GPUs
AMD · Jul 20, 2026

Building Blocks for Foundation Model Training and Inference on AWS
Hugging Face · May 11, 2026
Understanding Attention Algorithms and Their Backends for Image and Video Generation
AMD · Jul 20, 2026