Trident: Unifying Guarded Dispatch and Host Execution for PyTorch Triton Workloads
Read the original on arXiv Machine Learning →The Flow has not summarised this story yet — read it at arXiv Machine Learning.
The Flow has not summarised this story yet — read it at arXiv Machine Learning.
The paper introduces LLVMhammer, a Rowhammer attack that induces a bit‑flip in Triton’s MLIR/LLVM compilation pipeline, causing the generation of a suboptimal GPU kernel that persists across inference runs. A single successful bit‑flip can increase LLM inference latency by 4–16 % on NVIDIA RTX 4090 and AMD RX 7900 XTX GPUs, and can also degrade output quality, lowering BERTScore to as low as 25 %. The attack is GPU‑vendor‑agnostic and demonstrates that memory corruption in the compiler can have lasting performance and security impacts on large‑language‑model inference.
arXiv:2606. 04023v1 Announce Type: cross Abstract: While large language models (LLMs) have been extensively evaluated on code generation tasks for general-purpose programming and GPU-accelerated environments (e.
TIRx is a machine‑learning compiler that targets GPUs and AI accelerators by exposing explicit interfaces for execution scope, tensor layout, and tile‑primitive dispatch. It captures hardware teams at multiple granularities, maps logical tensors to heterogeneous hardware spaces using named axes and shard/replica/offset semantics, and automates address calculation, operand preparation, and instruction‑loop generation. Evaluation demonstrates vendor‑level performance on the latest GPUs and AI accelerators, while native‑code case studies show significant reductions in low‑level implementation code.
KernelOPT is a multi‑agent system that optimizes GPU kernels generated by compilers like PyTorch Inductor by treating compiled models as structured artifacts. It preserves vendor library calls and focuses on Triton sub‑kernels, using five profiling‑guided LLM agents and a four‑gate verification cascade to ensure correctness and performance before re‑stitching the model. On 250 KernelBench problems, KernelOPT achieves geometric mean speedups of 1.40×, 1.15×, and 1.07× over torch.compile at three optimization levels.
arXiv:2608. 00029v1 Announce Type: cross Abstract: The performance of deep learning models at scale relies heavily on how effectively high-level mathematical operations are mapped to underlying physical hardware.
The paper explores using large language models (LLMs) to replace traditional compiler backends, a process termed AI lowering. An LLM agent translates Triton kernels directly into NVIDIA PTX, achieving 0.83x–3.34x the performance of autotuned Triton on a variety of GPUs and ML kernels. The study also extends a PTX verifier to support modern GPU features, highlighting the potential for AI compilers to reduce engineering effort for new hardware.