paper-with-me

Papers

Hybrid JIT-CUDA Graph Optimization for Low-Latency Large Language Model Inference

2026-04-25 · Divakar Kumar Yadav, Tian Zhao arxiv

Large Language Models (LLMs) have achieved strong performance across natural language and multimodal tasks, yet their practical deployment remains constrained by inference latency and kernel launch overhead, particularly in interactive, short-sequence settings. This paper presents a hybrid runtime framework that combines Just-In-Time (JIT) compilation with CUDA Graph execution to reduce launch overhead while preserving runtime flexibility during autoregressive decoding. The framework partitions transformer inference into static components executed via CUDA Graph replay and dynamic components handled through JIT-compiled kernels, enabling asynchronous graph capture and reuse across decoding steps. We evaluate the proposed approach on LLaMA-2 7B using single-GPU, batch-size-one inference across prompt lengths from 10 to 500 tokens. Experimental results show that the hybrid runtime reduces Time-to-First-Token (TTFT) by up to 66.0% and achieves lower P99 latency compared with TensorRT-LLM in this regime. These results indicate that hybrid JIT-CUDA Graph execution can effectively reduce inference latency and variance for short-sequence LLM workloads, making it a practical optimization strategy for latency-sensitive AI applications.

📄 PDF Abstract BibTeX arXiv:2604.23467

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CUDA MPC: A GPU-Native Solver for Model Predictive Control

2026-08-04 · Babak Akbari, Melissa Greeff arxiv

Model Predictive Control (MPC) delivers constraint-aware control, but its reliance on online optimization limits its use on systems with fast dynamics, high-dimensional models, or long horizons. Existing GPU implementati…

From Large to Small: Transferring CUDA Optimization Expertise via Reasoning Graph

2025-10-22 · Junfeng Gong, Zhiyi Wei, Junying Chen, Cheng Liu 외 arxiv

Despite significant evolution of CUDA programming and domain-specific libraries, effectively utilizing GPUs with massively parallel engines remains difficult. Large language models (LLMs) show strong potential in generat…

Foundry: Template-Based CUDA Graph Context Materialization for Fast LLM Serving Cold Start

2026-04-08 · Xueshen Liu, Yongji Wu, Yuncheng Yao, Danyang Zhuo 외 arxiv

Modern LLM service providers increasingly rely on autoscaling and parallelism reconfiguration to respond to rapidly changing workloads, but cold-start latency remains a major bottleneck. While recent systems have reduced…

PyGraph: Robust Compiler Support for CUDA Graphs in PyTorch

2025-03-25 · Abhishek Ghosh, Ajay Nayak, Ashish Panwar, Arkaprava Basu

CUDA Graphs -- a recent hardware feature introduced for NVIDIA GPUs -- aim to reduce CPU launch overhead by capturing and launching a series of GPU tasks (kernels) as a DAG. However, deploying CUDA Graphs faces several c…

CPUGPU

VUDA: Breaking CUDA-Vulkan Isolation for Spatial Sharing of Compute and Graphics on the Same GPU

2026-05-02 · Bin Xu, Pengfei Hu, Wenxin Zheng, Jinyu Gu 외 arxiv

GPU-based simulation environments for embodied AI interleave physics simulation (CUDA) and photorealistic rendering (Vulkan) on a single device. We observe that two foundational scenarios -- simulation data generation an…