INCModel

DeepSeek-V4-Pro-MXFP4-Mixed-LLMC

Dedicated Endpoints

Run this model inference on single tenant GPU with unmatched speed and reliability at scale.

Learn more

Get help setting up a custom Dedicated Endpoints.

Talk with our engineer to get a quote for reserved GPU instances with discounts.

README

License: mit

How to Run Locally

vLLM is supported here: https://github.com/vllm-project/vllm/pull/45645

markdown

vllm serve INCModel/DeepSeek-V4-Pro-MXFP4-Mixed-LLMC \
--trust-remote-code \
--kv-cache-dtype fp8 \
--block-size 256 \
--tensor-parallel-size 8 \
--attention_config.use_fp4_indexer_cache=True \
--port 8009 \
--no-enable-flashinfer-autotune \
--enforce-eager

markdown

curl -s http://127.0.0.1:8009/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "DeepSeek-V4-Pro-MXFP4-Mixed-LLMC",
"messages": [
{"role":"user","content":"2+3=?"}
],
"max_tokens": 10,
"extra_body": {
"chat_template_kwargs": {
"enable_thinking": true
}
}
}' | python3 -m json.tool

For local deployment, we recommend setting the sampling parameters to temperature = 1.0, top_p = 1.0. For the Think Max reasoning mode, we recommend setting the context window to at least 384K tokens.

Generate the Model

Depends on this PR: https://github.com/intel/auto-round/pull/1921

bash

auto-round deepseek-ai/DeepSeek-V4-Pro \
--model_free \
--scheme MXFP8 \
--ignore_layers compressor,indexer.weights_proj \
--layer_config "{ffn.experts:{bits:4,data_type:mx_fp}} \
--format llm_compressor \
--output_dir "./DeepSeek-V4-Pro-MXFP4-Mixed"

Ethical Considerations and Limitations

The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.

Therefore, before deploying any applications of the model, developers should perform safety testing.

Caveats and Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.

Here are a couple of useful links to learn more about Intel's AI software:

Disclaimer

The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes.

Cite

@article{cheng2023optimize, title={Optimize weight rounding via signed gradient descent for the quantization of llms}, author={Cheng, Wenhua and Zhang, Weiwei and Shen, Haihao and Cai, Yiyang and He, Xin and Lv, Kaokao and Liu, Yi}, journal={arXiv preprint arXiv:2309.05516}, year={2023} }

arxiv github

Model provider

INCModel

Model tree

Base

deepseek-ai/DeepSeek-V4-Pro

Quantized

this model

Modalities

Input

Text

Output

Text

Pricing

Dedicated Endpoints

View details

Supported Functionality

Model APIs

Dedicated Endpoints

Container

More information

Explore FriendliAI today