DeepInfer is an open-source, high-performance inference framework developed by DeepSeek for executing large language models at scale. It powers DeepSeek's production inference infrastructure, while the public release provides core offline inference capabilities. The framework currently supports DeepSeek-V4.1-Flash on NVIDIA SM100 GPUs and Huawei Ascend 950 NPUs. It integrates optimized computational kernels and distributed parallelism techniques for attention and mixture-of-experts operations. An asynchronous scheduler overlaps CPU scheduling with accelerator execution to improve throughput. Speculative decoding and confidence-based verification help accelerate token generation. Additional capabilities include deterministic sampling, batch-invariant inference, and structured output generation using JSON schemas, regular expressions, or grammars. Complete production serving requires additional infrastructure components.

Features

  • Optimized Large Language Model Inference
  • NVIDIA GPU and Huawei Ascend NPU Support
  • Distributed Attention and Expert Parallelism
  • Speculative Decoding and Confidence-Based Verification
  • Asynchronous Batch Scheduling
  • Deterministic Sampling and Structured Outputs

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow DeepInfer

DeepInfer Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DeepInfer!

Additional Project Details

Operating Systems

Linux

Programming Language

Python

Related Categories

Python Artificial Intelligence Software

Registered

4 days ago