Model

ankit/Qwen3.8-27B-NVFP4

Blame for README.md at 0c34ce7

Line blame for README.md
LineCommitAuthorDateCode
1Mirror nvidia/Qwen3.8-27B-NVFP40c34ce7ankit---
2pipeline_tag: text-generation
3base_model:
4- Qwen/Qwen3.8-27B
5license: apache-2.0
6library_name: Model Optimizer
7tags:
8- nvidia
9- ModelOpt
10- Qwen3.8
11- quantized
12- FP4
13- fp4
14- FP8
15- fp8
16---
17
18# Model Overview
19
20## Description:
21The NVIDIA Qwen3.8-27B NVFP4 model is a quantized version of Alibaba's Qwen3.8-27B model, which is an auto-regressive language model that uses an optimized transformer architecture. For more information on the model, please check [here](https://huggingface.co/Qwen/Qwen3.8-27B). The model is quantized with [Model Optimizer](https://github.com/NVIDIA/Model-Optimizer).
22
23This model is ready for commercial or non-commercial use. <br>
24
25## Third-Party Community Consideration
26This model is not owned or developed by NVIDIA. This model has been developed and built to a third-party's requirements for this application and use case; see link to Non-NVIDIA [(Qwen3.8-27B) Model Card](https://huggingface.co/Qwen/Qwen3.8-27B) from Qwen.
27
28### License/Terms of Use:
29**GOVERNING DOWNLOAD TERMS:** Use of the model is governed by the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
30
31### Deployment Geography:
32Global <br>
33
34### Use Case: <br>
35Developers looking to take off-the-shelf, pre-quantized models for deployment in AI Agent systems, chatbots, RAG systems, and other AI-powered applications. <br>
36
37### Release Date: <br>
38Hugging Face 09/08/2026 via https://huggingface.co/nvidia/Qwen3.8-27B-NVFP4 <br>
39
40## References
41NVIDIA Model Optimizer: https://github.com/NVIDIA/Model-Optimizer
42
43## Model Architecture:
44**Architecture Type:** Transformer <br>
45**Network Architecture:** Qwen3.8-27B (`Qwen3_5ForConditionalGeneration`) <br>
46**Number of Model Parameters:** 27B <br>
47
48## Input:
49**Input Type(s):** Text, Image, Video <br>
50**Input Format(s):** String, Red, Green, Blue (RGB), Video (MP4/WebM) <br>
51**Input Parameters:** One-Dimensional (1D), Two-Dimensional (2D), Three-Dimensional (3D) <br>
52**Other Properties Related to Input:** Context length up to 262K <br>
53
54## Output:
55**Output Type(s):** Text <br>
56**Output Format:** String <br>
57**Output Parameters:** One-Dimensional (1D): Sequences <br>
58**Other Properties Related to Output:** None <br>
59
60Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions. <br>
61
62## Software Integration:
63**Supported Runtime Engine(s):** <br>
64* **vLLM** <br>
65* **SGLang** <br>
66
67**Supported Hardware Microarchitecture Compatibility:** <br>
68* NVIDIA Blackwell <br>
69
70**Preferred Operating System(s):** <br>
71* Linux <br>
72
73The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.
74
75## Model Version(s):
76This checkpoint uses mixed NVFP4/FP8 quantization and was produced with nvidia-modelopt **v0.48.0**. <br>
77
78## Training and Evaluation Datasets:
79
80## Calibration Dataset:
81**Link:** [Nemotron-Post-Training-Dataset-v3](https://huggingface.co/collections/nvidia/nemotron-post-training-v3) <br>
82**Data Modality:** Text <br>
83**Data Collection Method by dataset:** Varies by dataset. <br>
84**Labeling Method by dataset:** Varies by dataset. <br>
85**Properties:** The Nemotron-Post-Training-Dataset-v3 is a multi-million-sample corpus developed by NVIDIA for Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) to power alignment, reasoning, and agentic capabilities in the Nemotron-3 model family. <br>
86
87## Training Dataset:
88**Data Modality:** Undisclosed <br>
89**Data Collection Method by dataset:** Undisclosed <br>
90**Labeling Method by dataset:** Undisclosed <br>
91**Properties:** Undisclosed<br>
92**Image Training Data Size:** Undisclosed<br>
93**Text Training Data Size:** Undisclosed<br>
94**Video Training Data Size:** Undisclosed<br>
95
96
97## Evaluation Dataset:
98**Datasets:** GPQA Diamond, Terminal-Bench, AA-LCR, MMMU-Pro, SciCode, IFBench <br>
99**Data Collection Method by dataset:** Hybrid: Automated, Manually-Collected <br>
100**Labeling Method by dataset:** Hybrid: Manually-Labeled, Automated <br>
101**Properties:** We evaluated the model on text-based reasoning, coding, agentic tasks, long-context recall, instruction following, and multimodal reasoning. GPQA Diamond contains graduate-level multiple-choice questions written by domain experts in biology, physics, and chemistry. Terminal-Bench evaluates agents on terminal-based tasks. AA-LCR (Artificial Analysis Long Context Recall) evaluates a model's ability to accurately retrieve and recall information from long input contexts. MMMU-Pro is a challenging multimodal understanding benchmark that measures college-level reasoning across diverse disciplines. SciCode evaluates scientific coding capabilities. IFBench evaluates instruction-following capabilities across diverse and structured task constraints. <br>
102
103## Inference:
104**Acceleration Engine:** **vLLM** <br>
105**Test Hardware:** **NVIDIA Grace Blackwell GB300** <br>
106
107## Post-Training Quantization
108
109Qwen3.8-27B was quantized using a mixed-precision recipe. NVFP4 quantization was applied to the MLP layers and language model head (`lm_head`), while FP8 quantization was applied to the self-attention and linear-attention layers. The NVFP4 layers were calibrated on 2,048 samples using the [Model Optimizer Local-Hessian calibration algorithm](https://nvidia.github.io/Model-Optimizer/reference/generated/modelopt.torch.quantization.config.html#modelopt.torch.quantization.config.LocalHessianCalibConfig).
110
111To learn more about the algorithm, see [Local Hessian for NVFP4 Quantization](https://nvidia.github.io/Model-Optimizer/announcements/local-hessian.html). To reproduce this checkpoint, follow the command in the [Using Local Hessian](https://nvidia.github.io/Model-Optimizer/announcements/local-hessian.html#using-local-hessian) section.
112
113## Usage
114
115To serve this checkpoint with [vLLM](https://github.com/vllm-project/vllm), you can start the docker `vllm/vllm-openai:nightly` and run the sample command below:
116
117```sh
118vllm serve nvidia/Qwen3.8-27B-NVFP4 \
119 --port 8000 \
120 --kv-cache-dtype fp8_e4m3 \
121 --tensor-parallel-size 4 \
122 --max-model-len 262144 \
123 --reasoning-parser qwen3 \
124 --enable-auto-tool-choice \
125 --tool-call-parser qwen3_coder \
126 --mm-encoder-tp-mode data \
127 --seed 0 \
128 --gpu-memory-utilization 0.85 \
129 --max-num-seqs 32 \
130 --max-num-batched-tokens 32768 \
131 --enable-chunked-prefill
132```
133
134To serve this checkpoint with [SGLang](https://github.com/sgl-project/sglang), you can start the docker `lmsysorg/sglang:dev` and run the sample command below:
135
136```sh
137sglang serve \
138 --trust-remote-code \
139 --model-path nvidia/Qwen3.8-27B-NVFP4 \
140 --kv-cache-dtype fp8_e4m3 \
141 --mem-fraction-static 0.85 \
142 --chunked-prefill-size 2048 \
143 --reasoning-parser qwen3 \
144 --tool-call-parser qwen3_coder \
145 --mamba-full-memory-ratio 4.59 \
146 --host 0.0.0.0 \
147 --port 30000 \
148 --mamba-radix-cache-strategy extra_buffer \
149 --mamba-ssm-dtype float32
150```
151
152For more details please refer to [SGLang cookbook](https://docs.sglang.io/cookbook/autoregressive/Qwen/Qwen3.8-27B).
153
154## Evaluation
155The accuracy benchmark results are presented in the table below:
156<table>
157 <tr>
158 <th>Benchmark</th>
159 <th>Qwen3.8-27B BF16</th>
160 <th>Qwen3.8-27B NVFP4</th>
161 </tr>
162 <tr><td>GPQA Diamond</td><td>88.92</td><td>88.01</td></tr>
163 <tr><td>Terminal-Bench</td><td>75.56</td><td>74.02</td></tr>
164 <tr><td>AA-LCR</td><td>72.63</td><td>73.38</td></tr>
165 <tr><td>MMMU-Pro</td><td>75.14</td><td>74.86</td></tr>
166 <tr><td>SciCode</td><td>47.93</td><td>48.41</td></tr>
167 <tr><td>IFBench</td><td>80.07</td><td>78.93</td></tr>
168</table>
169
170> **Evaluation settings:** All evaluations used `temperature=1.0`, `top_p=0.95`, and a vLLM context limit of 262,144 tokens. All benchmarks except Terminal-Bench 2.1 used `max_new_tokens=65536`.
171 Terminal-Bench 2.1 did not set an explicit generation-token limit;
172
173## Model Limitations:
174The base model was trained on data that contains toxic language and societal biases originally crawled from the internet. Therefore, the model may amplify those biases and return toxic responses especially when prompted with toxic prompts. The model may generate answers that may be inaccurate, omit key information, or include irrelevant or redundant text producing socially unacceptable or undesirable text, even if the prompt itself does not include anything explicitly offensive.
175
176## Ethical Considerations
177
178NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. Developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
179
180Please make sure you have proper rights and permissions for all input image and video content; if image or video includes people, personal health information, or intellectual property, the image or video generated will not blur or maintain proportions of image subjects included.
181
182Please report model quality, risk, security vulnerabilities or NVIDIA AI Concerns [link](https://app.intigriti.com/programs/nvidia/nvidiavdp/detail).