Purpose
DeepSeek-V3 is a powerful Mixture-of-Experts (MoE) language model with a total parameter count of 671B, activating 37B per token. It is designed for general language understanding and generation tasks. Official evaluations show that it performs best on most benchmarks, especially standing out on math and code tasks, and it can serve as an open-source foundation model for further research or application development.
Main Capabilities
- Architectural Innovation: Building on the efficient architecture of DeepSeek-V2, it adopts Multi-head Latent Attention (MLA) and DeepSeekMoE, and pioneers an auxiliary-loss-free load balancing strategy, reducing the performance degradation caused by encouraging load balancing.
- Multi-Token Prediction (MTP): It studies and verifies that the multi-token prediction training objective is beneficial to model performance, and it can also be used for speculative decoding to accelerate inference.
- FP8 Mixed-Precision Training: It designs an FP8 mixed-precision training framework, validating its feasibility and effectiveness on an ultra-large-scale model for the first time; through the co-design of algorithms, frameworks, and hardware, it overcomes the communication bottleneck of cross-node MoE training, achieving nearly complete overlap of computation and communication.
- Training Efficiency: Pretraining was completed on 14.8T tokens, consuming only 2.664M H800 GPU hours; the subsequent training stage requires only 0.1M GPU hours. The complete training requires a total of 2.788M H800 GPU hours, and the training process was stable, with no unrecoverable loss spikes or rollbacks.
- Reasoning Capability Distillation: It distills reasoning capabilities from the long chain-of-thought (CoT) models of the DeepSeek-R1 series into DeepSeek-V3, incorporating verification and reflection patterns to improve reasoning performance while controlling output style and length.
- Long Context: In the Needle In A Haystack (NIAH) test, DeepSeek-V3 performed well across context window lengths up to 128K.
Usage
- Online Chat: You can converse with DeepSeek-V3 on the official DeepSeek website at chat.deepseek.com.
- API Platform: DeepSeek Platform (platform.deepseek.com) provides an OpenAI-compatible API.
- Local Deployment: The model weights on Hugging Face have a total size of 685B, including the 671B mainModel weights and 14B multi-token prediction (MTP) module weights. In collaboration with the open-source community and hardware vendors, the official release provides multiple local running options:
- DeepSeek-Infer Demo: Provides a simple and lightweight demo for FP8 and BF16 inference, supporting only Linux and Python 3.10, with no support for Mac and Windows.
- SGLang: Fully supports BF16 and FP8 inference modes, supports MLA optimization, DP Attention, FP8 KV Cache, Torch Compile, and multi-node tensor parallelism, and can run on NVIDIA and AMD GPUs; MTP is under development.
- LMDeploy: Supports FP8 and BF16 inference, suitable for local and cloud deployment, and provides offline pipeline processing and online deployment capabilities.
- TensorRT-LLM: Currently supports BF16 inference and INT4/8 quantization; FP8 support is coming soon.
- vLLM: v0.6.6 supports FP8 and BF16 modes, supports tensor parallelism and pipeline parallelism, and can run on NVIDIA and AMD GPUs.
- LightLLM: v1.0.1 supports single-machine or multi-machine tensor parallel deployment (FP8/BF16) and provides mixed-precision deployment.
- AMD GPU: Runs in BF16 and FP8 modes on AMD GPUs via SGLang.
- Huawei Ascend NPU: Supports running in INT8 and BF16 on Ascend devices.
- Weight Conversion: Since the framework natively uses FP8 training, the official release provides only FP8 weights; if BF16 weights are needed, they can be converted using the provided conversion script. Hugging Face Transformers does not yet directly support them.
Use Cases
- Research and development requiring a high-performance open-source large language model.
- Reasoning-intensive tasks such as mathematics and code.
- Long-context (up to 128K) processing scenarios.
- Developers who want to deploy locally or in the cloud at lower cost.
- Projects that require a commercial-use license (the model supports commercial use).
Limitations
- The official release provides only FP8 weights; BF16 weights must be converted manually.
- Hugging Face Transformers does not yet directly support them.
- DeepSeek-Infer Demo supports only Linux and Python 3.10, with no support for Mac and Windows.
- MTP support is still under active development in the community.
- FP8 support for some inference frameworks is still under development (such as TensorRT-LLM).
- In evaluation, all model output lengths are limited to 8K.
- The code repository uses the MIT license, and use of the model must comply with the Model License.