DeepSeek open source production-grade code, challenging Nvidia's cornerstone
Letter AI
2026.12.02 12:13
· From Beijing
Full text 3525 words
Text | Letter AI
DeepSeek has open sourced a new project, challenging the cornerstone of NVIDIA's survival.
This project is called DeepInfer, which is an inference framework developed by DeepSeek. DeepSeek officially calls it production-level code.
DeepSeek V4.1 Flash, it is through DeepInfer that it can handle large-scale user traffic on domestic chips. Moreover, according to DeepInfer's open source agreement, any team can use it to deploy, modify and commercialize it.
Online data released by DeepSeek shows that DeepInfer, which runs on domestic chips, has the same first-word latency as competing products, and the revenue per card per hour has reached 118 yuan.
According to the community's calculations, it can be basically determined that the overseas competing products referred to by DeepSeek are Nvidia's GB series GPUs.
The day before DeepInfer was open sourced, top American hacker George Hotz published a long article saying that Liang Wenfeng is the hero of our times.
What exactly is DeepSeek open source?
The computing power of the GPU depends on the chip's manufacturing process, but in addition, there is a layer of software on top of the chip that is responsible for how to write operators, how to communicate between cards, how to allocate video memory, and how to queue and schedule requests. These are also important factors that determine GPU performance.
The same hardware, as long as this layer of software is not done well, the performance will be very poor.
This is what DeepInfer does. As mentioned above, it is the inference engine of DeepSeek's own online large-scale service. It was initially built based on vLLM and then learned from SGLang and TensorRT-LLM.
You can think of it as a "self-developed version of vLLM's DeepSeek super magic modification", and it uses the Apache 2.0 loose protocol, and can even be taken away for commercial use.
According to DeepSeek's announcement, this open source version systematically optimizes core operators, communication and memory management, inference processes and task scheduling. The update record of the code repository reads: Fusion of attention operators, FP8 calculation output, batch invariant reasoning and deterministic sampling, allocating KV cache with large page memory, and optimizing data handling in expert load balancing.
It doesn’t matter if you don’t understand, let me translate it into Chinese: DeepInfer wants to squeeze out the performance of domestic computing chips as much as possible, while also making the results stable and reproducible.
The words "production grade" are supported by online data.
DeepSeek announced the actual operating conditions from 16:00 to 18:00 on December 1, Beijing time.
Under the ultra-long input with an average of 98.44K tokens, the first word delay P50 is 277 milliseconds and P90 is 459 milliseconds; the single-stream output speed is 137.9 tokens/s; the input cache hit rate is 97.2%, and the KV cache can be saved for more than 72 hours after being inactive. Calculated based on idle time prices, the hourly income per card is about 117.9 yuan.
DeepSeek also admitted that there is still a gap between it and the world's top GPU.
The same table lists the data of "a certain competing product". In the pre-filling stage, the full load throughput of each card is 77.74K tps, which is approximately three times the domestic computing power of 26.03K tps; the hourly income per card is 318.1 yuan, which is also significantly higher.
DeepSeek concluded that the ability of the new generation of domestic computing power to provide AI inference services according to the highest standards has been verified in real business.
It should be noted that this open source is based on the core capabilities of offline reasoning, and some components required by DeepSeek to build a complete online service are not included.
But even so, the core part, that is, the method for making the model run quickly and steadily with domestic computing power, has already moved out of the laboratory stage and has been fully commercialized.
Challenging Nvidia’s cornerstone
In the past, discussions about domestic substitution often focused on hardware. For example, announcing the completion of adaptation, running through a certain model, and undertaking a small part of the business on a pilot basis.
But the reason why NVIDIA allows all the AI industries in the world to revolve around it is not because of its hardware. On the contrary, the real cornerstone of NVIDIA is CUDA, which has been released to this day.
CUDA is a GPU parallel computing platform that includes operator libraries, communication libraries, and tool chains, allowing developers to control the GPU by writing code.
Most of the mainstream large models are written on CUDA. Changing to a different GPU chip means rewriting operators and re-tuning performance, and CUDA’s complete tools make it easy for AI developers to program on it.
In an interview with "Undercurrent" in 2024, Liang Wenfeng said that Nvidia's graphics card "theoretically does not have any technical secrets", "but it will take time to reorganize the team and catch up with the next generation technology, so the actual moat is still very wide." He later said that the reason why many domestic chips cannot develop is because "there is a lack of supporting technical communities and only second-hand information."
What DeepSeek has shaken this time is the foundation of NVIDIA.
DeepInfer re-implements DeepSeek's FlashMLA, DeepGEMM (the domestic computing chip version is called DeepGEMM-Ascend), and DeepEP, which are high-performance operators that were originally only available on CUDA, on domestic chips, and optimizes them to be able to withstand online traffic of the scale of DeepSeek. It then uses the same code tree and an environment variable to switch the backend, which is equivalent to decoupling the two originally tied things of "inference framework" and "CUDA".
NVIDIA's CUDA loop is a self-locking closed loop.
NVIDIA invests so that mainstream software frameworks can only run on CUDA, and then optimizes CUDA based on feedback from top developers. Even if domestic chips are manufactured, there will be no software that can run them. Therefore, domestic chip manufacturers have no users, so they cannot get feedback, cannot optimize, and cannot form an ecosystem. In the end, everyone will be inseparable from CUDA, and developers will only be able to write CUDA.
After DeepInfer is open sourced, it is likely to start a reverse cycle: domestic chips have software available, open source allows more people to use it for free, domestic chip manufacturers get feedback and optimize it, and ultimately form a complete and healthy domestic computing power ecosystem.
As early as September 30, DeepSeek open sourced infrastructure components for domestic computing power, including the high-level language compilation tool TileLang, the matrix operation library DeepGEMM, the cross-device communication library DeepEP, the sparse attention operator FlashMLA, etc., which correspond to the previous open source components for the NVIDIA platform.
According to DeepSeek officials, TileLang is simpler to program than CUDA and can increase the performance upper limit of the chip. Moreover, TileLang already carries most of the operators used in V4 series model training.
Each TileLang operator used in DeepSeek training has a corresponding high-performance implementation based on domestic computing power. The second step is this DeepInfer: provide parts first, and then deliver the complete machine. The same inference framework can run on both NVIDIA GPUs and domestic computing power, and can handle real user traffic on the latter.
What is the hero of the times?
As mentioned above, the day before DeepSeek open sourced DeepInfer, top hacker George Hotz published an article titled "AI is Now Smarter than Me."
George said that the latest model has surpassed him in writing code, and he is worried that someone will use AI to gain a decisive advantage.
At the end of the article, he said that he was running the open source model on his own machine to understand how it works, and then wrote: "I am very grateful to those laboratories that insist on being open. I think people like Liang Wenfeng will become heroes in this historical era."
In 2007, 17-year-old George cracked the iPhone carrier lock, and later cracked the PlayStation 3. Now he focuses on the deep learning framework tinygrad.
The reason why George praised Liang Wenfeng is because George also agreed with DeepSeek's concept of open source and inclusive development. Open source allows ordinary people to obtain the great convenience brought by AI.
Liang Wenfeng once told "Undercurrent": "We hope that more people, even a small App, can use large models at low cost, instead of the technology being only in the hands of some people and companies, forming a monopoly."
Liang Wenfeng has been doing this since the R1 weighting was opened in January 2025.
At the end of June this year, DeepSeek’s official website listed more than 30 positions, saying that it would “at least double the size of all departments.”
One of the positions is called "High-Performance Operator/Communication/Compiler Engineer", and the team's mission reads: "We build the last layer of software between AGI and physical chips." Candidates must be deeply involved in NVIDIA GPUs and domestic hardware at the same time, from instruction sets, memory models, compilation stacks, to large-scale interconnection.
The team's only criterion was the "physical limits of the hardware." The DeepSeek recruitment post reads, "We do not compare performance differences with any baseline or other implementations. We only care about how far the current design and implementation are from the theoretical upper limit. We have an almost paranoid pursuit of every cycle and every watt of power consumption."
In September, DeepSeek once again released about 150 senior engineer positions, also targeting engineering and infrastructure. At that time, many people thought that DeepSeek was recruiting on such a large scale just to prevent the server from going down again. Now it seems that we are on the second floor and Liang Wenfeng is on the fifth floor.
Operators, communications and scheduling are the most lacking first-hand experience in domestic chips. Recruit people, work on domestic chips cycle by cycle, until they can handle large-scale real traffic, and then hand over the entire code.
Whether DeepSeek's challenge can be successful or not remains to be tested by time, but as Liang Wenfeng said in a previous interview with "Undercurrent": "In the face of disruptive technologies, the moat formed by closed source is short-lived."
Respect for the original work, if you are qualified, you should be appreciated.
According to the real-name requirement of the Cybersecurity Law, please bind your mobile phone number before posting a comment.
Express
12:16
General Administration of Sports: Reform and improve the competitive sports management system and operating mechanism
12:03
Hong Kong Exchanges and Clearing Limited has completed a carbon credit tokenization pilot program under its subsidiary Core Climate
12:02
Hong Kong stock midday review: Hang Seng Technology Index fell 1.92%, large technology and Internet stocks fell
12:01
Press Secretary of the Russian President: Russia will extend visa-free policy for Chinese citizens
UBS lowers gold price target for year-end 2026
12:00
Changxin Technology and others established a venture capital fund in Zhejiang, with an investment of 505 million
11:59
Zhengzhou: Carry out research on hydrogen energy technology and equipment, and carry out no less than 5 technical and equipment research projects during the pilot period
11:57
Zhengzhou: Improve the hydrogenation infrastructure network and build 6 hydrogenation stations during the pilot period
11:55
Zhengzhou City publicly solicits opinions on the pilot implementation plan for comprehensive hydrogen energy application
11:53
Written opening statement of Huang Jen-Hsun hearing disclosed
11:52
The price of gold jewelry dropped slightly, with Lao Fengxiang selling for 1,075 yuan per gram.
11:51
A total of more than 80 related cases have been uncovered, and Beijing is cracking down on illegal and criminal activities involving online counterfeit sales.
Beijing: Support the construction of the National New Materials Big Data Center
Beijing: Expand key applications of aerospace technology and build data sets for commercial remote sensing such as optical and radar, space computing power, and space situation awareness
11:49
Beijing: Construct multi-modal design and other data sets around new displays, integrated circuits, quantum computing and other fields
11:46
Beijing: Promote the iteration of intelligent networked new energy vehicle technology
11:44
Beijing: Accelerate the implementation of embodied intelligent business and build a national-level humanoid robot data training ground and embodied data open source platform
11:43
Beijing: By 2028, the city will build 200 high-quality data sets for high-precision industries
11:41
Ministry of Industry and Information Technology: From January to October, the total profits of China’s Internet companies above designated size increased by 19.9% year-on-year
11:35
A-share lunch review: The GEM index rose 0.58% in half a day, with Huawei Concepts and computing power leasing sectors leading the gains
Scan to download App


