{"id": "http://arxiv.org/abs/2510.08666v3", "title": "dInfer: An Efficient Inference Framework for Diffusion Language Models", "abstract": "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.", "published_at": "2025-10-09T16:19:42+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2510.08666v3", "source_hash": "8668d05d24a7a603bb33b3f4ac51ea4155f0a0e38deca84179796da23c716643", "source_version": "v3", "full_text_available": false, "evidence_kind": "abstract", "analysis_scope": "abstract_or_excerpt", "scope": "core", "topics": ["discrete-diffusion", "inference-acceleration"], "code_url": "https://github.com/inclusionAI/dInfer", "has_code": true, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.12382v1", "http://arxiv.org/abs/2609.11315v1", "http://arxiv.org/abs/2609.09748v1"], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "full_text_brief": null, "explanations": {}, "resources": {"version": "paper-resources-v1", "source_hash": "8668d05d24a7a603bb33b3f4ac51ea4155f0a0e38deca84179796da23c716643", "evidence_kind": "abstract", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": "ains 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.", "url": "https://github.com/inclusionAI/dInfer", "kind": "code", "span": [783, 1423], "evidence_hash": "ee655e9d1c23d838802ff81b0f859766f3316453a6676f2e81af2ade092e6b05"}]}, "slug": "2510.08666-dinfer-an-efficient-inference-framework-for-diffusion-language-models"}