paper-with-me

Papers

dInfer: An Efficient Inference Framework for Diffusion Language Models

2025-10-09 · Yuxin Ma, Lun Du, Lanning Wei, Kun Chen, Qian Xu, Kangyu Wang, Guofeng Feng, Guoshan Lu, Lin Liu, Xiaojing Qi, Xinyuan Zhang, Zhen Tao, Haibo Feng, Ziyun Jiang, Ying Xu, Zenan Huang, Yihong Zhuang, Haokai Xu, Jiaqi Hu, Zhenzhong Lan, Junbo Zhao, Jianguo Li, Da Zheng arxiv

Diffusion-based large language models (dLLMs) have emerged as a promising alternative to autoregressive (AR) LLMs, leveraging denoising-based generation to enable inherent parallelism. Even more and more open-sourced dLLM models emerge, yet their widespread adoption remains constrained by the lack of a standardized and efficient inference framework. We present dInfer, an efficient and extensible framework for dLLM inference. dInfer decomposes the inference pipeline into four modular components--model, diffusion iteration manager, decoding strategy, and KV-cache manager--and integrates novel algorithms for each component alongside system-level optimizations. Through this combination of algorithmic innovations and system enhancements, dInfer achieves substantial efficiency gains without compromising output quality on LLaDA-MoE. At batch size 1, it surpasses 1,100 tokens per second on HumanEval and averages over 800 tokens per second across six benchmarks on $8\times$ H800 GPUs. Compared to prior systems, dInfer delivers a $10\times$ speedup over Fast-dLLM while maintaining similar model performance. Even compared to the AR model (with a comparable number of activation parameters and performance) QWen2.5-3B, which is highly optimized with the latest vLLM inference engine, dInfer still delivers a $2$-$3\times$ speedup. The implementation of dInfer is open-sourced at https://github.com/inclusionAI/dInfer.

📄 PDF Abstract BibTeX arXiv:2510.08666

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloading

2025-02-18 · Cheng Luo, Zefan Cai, Hanshi Sun, Jinqi Xiao 외

Transformer-based large language models (LLMs) demonstrate impressive performance in long context generation. Extending the context length has disproportionately shifted the memory footprint of LLMs during inference to t…

Computational EfficiencyCPUGPU

PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inference

2024-05-21 · Dongjie Yang, Xiaodong Han, Yan Gao, Yao Hu 외

Large Language Models (LLMs) have shown remarkable comprehension abilities but face challenges in GPU memory usage during inference, hindering their scalability for real-time applications like chatbots. To accelerate inf…

GPU

Developing a Recommendation Benchmark for MLPerf Training and Inference

2020-03-16 · Carole-Jean Wu, Robin Burke, Ed H. Chi, Joseph Konstan 외

Deep learning-based recommendation models are used pervasively and broadly, for example, to recommend movies, products, or other information most relevant to users, in order to enhance the user experience. Among various …

Deep Learningimage-classificationImage Classificationobject-detection+3

HARD-KV: Head-Adaptive Regularization for Decoding-time KV Compression

2026-06-27 · Yuxuan Yang, Feiyang Ren, Bowen Zeng, Dalin Zhang 외 arxiv

Long-context LLM inference faces a fundamental conflict: head-adaptive compression algorithms (e.g., Top-$p$ nucleus sampling) offer superior accuracy by dynamically fluctuating memory budgets, yet modern inference engin…

Einstein VI: General and Integrated Stein Variational Inference in NumPyro

2021-01-01 · Ahmad Salim Al-Sibahi, Ola Rønning, Christophe Ley, Thomas Wim Hamelryck

Stein Variational Inference is a technique for approximate Bayesian inferencethat is recently gaining popularity since it combines the scalability of traditionalVariational Inference (VI) with the flexibility of non-para…

Probabilistic ProgrammingVariational Inference