DeepSeek · 26 जून 2026 · प्रमुख
DSpark + DeepSpec — DeepSeek ने अपना speculative decoding स्टैक खोला
संक्षेप में
DeepSeek ने DeepSpec जारी किया है, एक MIT लाइसेंस वाला कोडबेस जो speculative decoding के लिए draft मॉडल को ट्रेन और मूल्यांकन करता है, साथ ही Hugging Face पर अपने V4-Pro और V4-Flash checkpoints से जुड़े DSpark speculative-decoding modules भी।
DeepSeek · 26 जून 2026 · 2 जाँचे गए स्रोत

DeepSeek ने speculative-decoding drafters ट्रेन करने के लिए एक मुफ़्त कोडबेस जारी किया है, साथ ही V4-Pro और V4-Flash से जुड़े DSpark drafters भी।
मुख्य तथ्य
| निर्माता | DeepSeek |
|---|---|
| लाइसेंस | MIT |
| कोडबेस | github.com/deepseek-ai/DeepSpec |
| Draft एल्गोरिदम | DSpark, DFlash, Eagle3 |
| Target परिवार | Qwen3, Gemma (रिपो में); DeepSeek V4 Pro/Flash (HF पर) |
| डिफ़ॉल्ट ट्रेनिंग सेटअप | 1 node × 8 GPUs |
| डिफ़ॉल्ट cache आकार | Qwen3-4B target के लिए ~38 TB |
यह क्या है?
DeepSpec DeepSeek का एक full-stack कोडबेस है, जो speculative decoding में इस्तेमाल होने वाले draft मॉडल को ट्रेन और मूल्यांकन करने के लिए बना है। इसी रिलीज़ में DSpark drafters भी अलग Hugging Face uploads के रूप में आए हैं (DeepSeek-V4-Pro-DSpark और DeepSeek-V4-Flash-DSpark), जो मौजूदा V4 checkpoints की जगह लेने के बजाय उनसे जुड़ते हैं। सब कुछ MIT लाइसेंस के तहत जारी हुआ है।
यह कैसे काम करता है?
Speculative decoding में एक तेज़ 'draft' मॉडल को असली target मॉडल के साथ जोड़ा जाता है — drafter एक साथ कई आने वाले tokens का अनुमान लगाता है, फिर target उन्हें एक ही pass में verify करता है, ताकि स्वीकृत tokens एक-एक करके generate होने के बजाय सीधे आगे बढ़ जाएँ। DeepSpec पूरी pipeline को end-to-end पैकेज करता है: यह prompts डाउनलोड करता है, target outputs को cached corpus में फिर से generate करता है, उस cache के आधार पर drafter ट्रेन करता है, और फिर gsm8k, MATH-500, AIME25, HumanEval, MBPP, LiveCodeBench, MT-Bench, Alpaca और Arena-Hard-v2 पर acceptance का मूल्यांकन करता है। इसमें शामिल drafter recipes तीन algorithms कवर करते हैं — DSpark, DFlash और Eagle3 — और Qwen3 व Gemma targets के लिए उदाहरण configs भी हैं।
यह क्यों मायने रखता है?
Inference में ही असली खर्च होता है, और speculative decoding उसे तेज़ करने का सबसे सस्ता तरीका है, लेकिन draft मॉडल को ट्रेन करना मुश्किल हिस्सा है। अपने frontier V4 checkpoints के लिए ट्रेनिंग stack और DSpark drafters, दोनों को open source करके DeepSeek self-hosters और providers को अंतर्निहित मॉडल बदले बिना tokens-per-second की लागत कम करने देता है। इससे वह एक ऐसा performance lever भी खुले ecosystem में ले आता है, जो पहले closed labs के पास था।
यह किसके लिए है?
inference providers, self-hosters, और open-weight मॉडल चलाने वाली research teams
अक्सर पूछे जाने वाले प्रश्न
- क्या DSpark कोई नया DeepSeek मॉडल है?
- नहीं, DSpark नया मॉडल नहीं है। DeepSeek-V4-Pro-DSpark और DeepSeek-V4-Flash-DSpark वही V4-Pro और V4-Flash checkpoints हैं, जिनके साथ एक अतिरिक्त speculative-decoding drafter जुड़ा है — quality में कोई बदलाव नहीं है; drafter बस inference को हर forward pass में कई verified tokens देने देता है।
- DeepSpec और DSpark में क्या अंतर है?
- DeepSpec training codebase है — prompts डाउनलोड करने, target outputs cache करने, drafter ट्रेन करने और acceptance का मूल्यांकन करने की pipeline। DSpark उन तीन drafter algorithms में से एक है जो इसके साथ आते हैं (बाकी दो DFlash और Eagle3 हैं), और यही वह algorithm है जिसे DeepSeek अपने V4 drafters के लिए इस्तेमाल करता है।
- किन मॉडलों के लिए DSpark drafter ट्रेन कर सकते हैं?
- DeepSpec, Qwen3 और Gemma target families के लिए उदाहरण configurations देता है, और DeepSeek ने अपने DeepSeek V4-Pro और V4-Flash checkpoints के लिए Hugging Face पर DSpark drafters जारी किए हैं। Training pipeline generic है, इसलिए दूसरे open-weight targets को एक config लिखकर जोड़ा जा सकता है।
- इनमें से किसी drafter को ट्रेन करने में कितना खर्च आता है?
- DeepSpec की डिफ़ॉल्ट training configuration 8 GPUs वाला एक node मानती है, और अकेला data-prep step उदाहरण Qwen3-4B run के लिए लगभग 38 TB का target-output cache बना सकता है। Repo बताता है कि छोटे setups के लिए CUDA settings घटाई जा सकती हैं, लेकिन डिफ़ॉल्ट settings पर disk ही सीमा है।
- लाइसेंस क्या है, और क्या आप इसे कमर्शियल तौर पर इस्तेमाल कर सकते हैं?
- DeepSpec, DSpark drafters और अंतर्निहित DeepSeek V4-Pro व V4-Flash checkpoints, सब MIT License के तहत जारी हुए हैं, इसलिए कमर्शियल इस्तेमाल की अनुमति है। MIT की शर्तें repository के कोड और Hugging Face के weights, दोनों पर लागू होती हैं।
आज़माएँ
git clone https://github.com/deepseek-ai/DeepSpec