.. _models_llm_deepseek-v3: ======================================== deepseek-v3 ======================================== - **Context Length:** 163840 - **Model Name:** deepseek-v3 - **Languages:** en, zh - **Abilities:** chat - **Description:** DeepSeek-V3, a strong Mixture-of-Experts (MoE) language model with 671B total parameters with 37B activated for each token. Specifications ^^^^^^^^^^^^^^ Model Spec 1 (pytorch, 671 Billion) ++++++++++++++++++++++++++++++++++++++++ - **Model Format:** pytorch - **Model Size (in billions):** 671 - **Quantizations:** 4-bit, 8-bit, none - **Engines**: vLLM, Transformers, SGLang (vLLM and SGLang only available for quantization none) - **Model ID:** deepseek-ai/DeepSeek-V3 - **Model Hubs**: `Hugging Face `__, `ModelScope `__ Execute the following command to launch the model, remember to replace ``${quantization}`` with your chosen quantization method from the options listed above:: xinference launch --model-engine ${engine} --model-name deepseek-v3 --size-in-billions 671 --model-format pytorch --quantization ${quantization} Model Spec 2 (awq, 671 Billion) ++++++++++++++++++++++++++++++++++++++++ - **Model Format:** awq - **Model Size (in billions):** 671 - **Quantizations:** Int4 - **Engines**: vLLM, Transformers, SGLang - **Model ID:** cognitivecomputations/DeepSeek-V3-AWQ - **Model Hubs**: `Hugging Face `__, `ModelScope `__ Execute the following command to launch the model, remember to replace ``${quantization}`` with your chosen quantization method from the options listed above:: xinference launch --model-engine ${engine} --model-name deepseek-v3 --size-in-billions 671 --model-format awq --quantization ${quantization} Model Spec 3 (ggufv2, 671 Billion) ++++++++++++++++++++++++++++++++++++++++ - **Model Format:** ggufv2 - **Model Size (in billions):** 671 - **Quantizations:** Q2_K_L, Q2_K_XS, Q3_K_M, Q4_K_M, Q5_K_M, Q6_K, Q8_0 - **Engines**: llama.cpp - **Model ID:** unsloth/DeepSeek-V3-GGUF - **Model Hubs**: `Hugging Face `__, `ModelScope `__ Execute the following command to launch the model, remember to replace ``${quantization}`` with your chosen quantization method from the options listed above:: xinference launch --model-engine ${engine} --model-name deepseek-v3 --size-in-billions 671 --model-format ggufv2 --quantization ${quantization} Model Spec 4 (mlx, 671 Billion) ++++++++++++++++++++++++++++++++++++++++ - **Model Format:** mlx - **Model Size (in billions):** 671 - **Quantizations:** 3bit, 4bit - **Engines**: MLX - **Model ID:** mlx-community/DeepSeek-V3-{quantization} - **Model Hubs**: `Hugging Face `__, `ModelScope `__ Execute the following command to launch the model, remember to replace ``${quantization}`` with your chosen quantization method from the options listed above:: xinference launch --model-engine ${engine} --model-name deepseek-v3 --size-in-billions 671 --model-format mlx --quantization ${quantization}