DeepInfer: What DeepSeek’s Open Serving Software Enables

Langer Gang zwischen Reihen technischer Schaltschränke in einer Rechenanlage
Photo by İsmail Enes Ayhan on Unsplash

DeepSeek released its DeepInfer inference software on October 20. It organizes how an already trained AI model processes requests and generates responses. Operators of their own AI services can now inspect another part of the technology behind DeepSeek-V4.1-Flash. The crucial difference from a finished cloud platform appears in the project description itself: this release provides an offline inference engine, rather than a complete public service.

Key takeaways

  • DeepInfer is available under the Apache License 2.0 and initially supports DeepSeek-V4.1-Flash.
  • The documented target platforms are NVIDIA SM100 GPUs and Huawei Ascend 950 accelerators.
  • Optimized compute components, parallel processing, and accelerated text generation are included. Important components for an online service are still missing.
  • The companion deepseek-recipe library converts between API formats and the model’s input format. It does not run the model or execute tools itself.

What happens between the model and its answer

A model with openly available weights does not automatically become an economical AI service. The weights contain the learned knowledge and computational rules. The serving software decides which requests are processed together, how work is distributed across accelerators, and when the next computation starts. With many simultaneous users, that organization can become as important as the speed of an individual chip.

According to the project description, DeepInfer was built primarily on vLLM. The developers also acknowledge inspiration from SGLang and TensorRT-LLM. The release therefore builds on an existing foundation. What makes it interesting is the set of adaptations DeepSeek made for its own models and is now making available to other operators. These include optimized compute components and ways to distribute work across multiple accelerators.

Two stages have different requirements. During prefill, the model processes the input. During decode, it generates the response step by step. DeepSeek’s architecture describes deploying these stages separately. In principle, this allows resources to be allocated according to each stage’s workload. A service handling long documents may benefit from a different allocation than one handling many short conversations.

This distinction also explains why high throughput alone says little about an individual user’s experience. Generating many pieces of text simultaneously is a different metric from the wait for the first word. To evaluate a system meaningfully, operators need to consider both stages and the response speed they want to provide.

An open engine with clearly identified gaps

The published features include asynchronous scheduling: while the accelerator computes, the CPU prepares additional work. DeepInfer also supports speculative decoding. It proposes possible upcoming text tokens and then verifies them. DeepSeek uses confidence estimates to allocate that verification work more effectively. The aim is to make better use of compute time; it does not promise the same speedup for every application.

Other features include structured outputs, such as responses constrained by a JSON schema, and options for reproducible results. The documentation explicitly ties certain reproducibility features to NVIDIA and specific settings. A company can reasonably conclude that these options help it prepare more controlled comparisons. They do not establish a general guarantee of identical results across arbitrary hardware.

The list of missing components is particularly revealing. A complete service also needs a KV cache management system: storage for intermediate computations that can avoid repeating work. The release also lacks complete orchestration of the separate processing stages and load balancing across parallel instances. DeepSeek says parts of these systems are closely coupled to its internal infrastructure and have not yet been fully open-sourced.

That makes the release useful without overstating its scope. An infrastructure team can inspect the engine, run its own workloads, and integrate it into existing systems. Anyone expecting a finished chat service behind a web address will need to supply additional serving software.

Who should explore the code

The prerequisites clearly identify the audience. The documented environment includes Linux, Python 3.12, and GCC version 13 or later. For NVIDIA, the project specifies CUDA 13; for Ascend, it specifies CANN 9.2. The supported hardware list names SM100 and Ascend 950. This is a starting point for specialized server teams, rather than an installation guide for an ordinary office computer.

The intended first steps are to create a separate Python environment, build for the selected accelerator platform, and run an offline example. By default, the example downloads the DeepSeek-V4.1-Flash-1017 checkpoint from Hugging Face. A directory path can point it to an existing local model copy. The model card lists the weights under the MIT license; DeepInfer’s Apache license covers the serving software. These layers should be assessed separately when introducing the system.

Meanwhile, deepseek-recipe addresses another problem: existing applications speak different API formats. The library handles formats including Messages, Chat Completions, and Responses, prepares model inputs, and parses outputs back into the appropriate response format. Model computation, tool execution, and HTTP transport remain the caller’s responsibility. A compatible message format therefore does not replace a complete server.

For readers primarily interested in trying their own AI on smaller hardware, our look at Nemotron 3.5 in the workplace remains closer to everyday needs. DeepInfer addresses the other side of the equation: operating large models for many requests.

More choice depends on actual deployments

DeepSeek describes lower compute and energy use as goals of its architecture. That does not establish a specific saving for another operator. Hardware, utilization, input lengths, cache hits, and additional serving components jointly determine the economics. The published benchmarks are also vendor measurements under stated conditions, rather than an independent comparison of total costs.

The immediate advance is therefore greater visibility. Providers can inspect and test more of DeepSeek’s serving decisions themselves. Whether this leads to cheaper services or greater operational control will depend on integrating the missing components and measuring real workloads. Open software provides a more concrete foundation for that work than openly available model weights alone.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top