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L-72B-Instruct
|
12 |
+
library_name: transformers
|
13 |
+
---
|
14 |
+
|
15 |
+
# Qwen2.5-VL-72B-Instruct-quantized-FP8-Dynamic
|
16 |
+
|
17 |
+
## Model Overview
|
18 |
+
- **Model Architecture:** Qwen2.5-VL-72B-Instruct
|
19 |
+
- **Input:** Vision-Text
|
20 |
+
- **Output:** Text
|
21 |
+
- **Model Optimizations:**
|
22 |
+
- **Weight quantization:** FP8
|
23 |
+
- **Activation quantization:** FP8
|
24 |
+
- **Release Date:** 2/24/2025
|
25 |
+
- **Version:** 1.0
|
26 |
+
- **Model Developers:** Neural Magic
|
27 |
+
|
28 |
+
Quantized version of [Qwen/Qwen2.5-VL-72B-Instruct](https://huggingface.co/Qwen/Qwen2.5-VL-72B-Instruct).
|
29 |
+
|
30 |
+
### Model Optimizations
|
31 |
+
|
32 |
+
This model was obtained by quantizing the weights of [Qwen/Qwen2.5-VL-72B-Instruct](https://huggingface.co/Qwen/Qwen2.5-VL-72B-Instruct) to FP8 data type, ready for inference with vLLM >= 0.5.2.
|
33 |
+
|
34 |
+
## Deployment
|
35 |
+
|
36 |
+
### Use with vLLM
|
37 |
+
|
38 |
+
This model can be deployed efficiently using the [vLLM](https://docs.vllm.ai/en/latest/) backend, as shown in the example below.
|
39 |
+
|
40 |
+
```python
|
41 |
+
from vllm.assets.image import ImageAsset
|
42 |
+
from vllm import LLM, SamplingParams
|
43 |
+
|
44 |
+
# prepare model
|
45 |
+
llm = LLM(
|
46 |
+
model="neuralmagic/Qwen2.5-VL-72B-Instruct-FP8-Dynamic",
|
47 |
+
trust_remote_code=True,
|
48 |
+
max_model_len=4096,
|
49 |
+
max_num_seqs=2,
|
50 |
+
)
|
51 |
+
|
52 |
+
# prepare inputs
|
53 |
+
question = "What is the content of this image?"
|
54 |
+
inputs = {
|
55 |
+
"prompt": f"<|user|>\n<|image_1|>\n{question}<|end|>\n<|assistant|>\n",
|
56 |
+
"multi_modal_data": {
|
57 |
+
"image": ImageAsset("cherry_blossom").pil_image.convert("RGB")
|
58 |
+
},
|
59 |
+
}
|
60 |
+
|
61 |
+
# generate response
|
62 |
+
print("========== SAMPLE GENERATION ==============")
|
63 |
+
outputs = llm.generate(inputs, SamplingParams(temperature=0.2, max_tokens=64))
|
64 |
+
print(f"PROMPT : {outputs[0].prompt}")
|
65 |
+
print(f"RESPONSE: {outputs[0].outputs[0].text}")
|
66 |
+
print("==========================================")
|
67 |
+
```
|
68 |
+
|
69 |
+
vLLM also supports OpenAI-compatible serving. See the [documentation](https://docs.vllm.ai/en/latest/) for more details.
|
70 |
+
|
71 |
+
## Creation
|
72 |
+
|
73 |
+
This model was created with [llm-compressor](https://github.com/vllm-project/llm-compressor) by running the code snippet below as part a multimodal announcement blog.
|
74 |
+
|
75 |
+
<details>
|
76 |
+
<summary>Model Creation Code</summary>
|
77 |
+
|
78 |
+
```python
|
79 |
+
import requests
|
80 |
+
import torch
|
81 |
+
from PIL import Image
|
82 |
+
from transformers import AutoProcessor
|
83 |
+
from llmcompressor.transformers import oneshot
|
84 |
+
from llmcompressor.transformers.tracing import (
|
85 |
+
TraceableQwen2_5_VLForConditionalGeneration,
|
86 |
+
)
|
87 |
+
from llmcompressor.modifiers.quantization import QuantizationModifier
|
88 |
+
|
89 |
+
# Load model.
|
90 |
+
model_id = Qwen/Qwen2.5-VL-72B-Instruct
|
91 |
+
model = TraceableQwen2_5_VLForConditionalGeneration.from_pretrained(
|
92 |
+
model_id, device_map="auto", torch_dtype="auto"
|
93 |
+
)
|
94 |
+
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
|
95 |
+
|
96 |
+
# Recipe
|
97 |
+
recipe = [
|
98 |
+
QuantizationModifier(
|
99 |
+
targets="Linear",
|
100 |
+
scheme="FP8_DYNAMIC",
|
101 |
+
sequential_targets=["MistralDecoderLayer"],
|
102 |
+
ignore=["re:.*lm_head", "re:vision_tower.*", "re:multi_modal_projector.*"],
|
103 |
+
),
|
104 |
+
]
|
105 |
+
|
106 |
+
SAVE_DIR=f"{model_id.split('/')[1]}-FP8-Dynamic"
|
107 |
+
|
108 |
+
# Perform oneshot
|
109 |
+
oneshot(
|
110 |
+
model=model,
|
111 |
+
recipe=recipe,
|
112 |
+
trust_remote_code_model=True,
|
113 |
+
output_dir=SAVE_DIR
|
114 |
+
)
|
115 |
+
|
116 |
+
|
117 |
+
```
|
118 |
+
</details>
|
119 |
+
|
120 |
+
## Evaluation
|
121 |
+
|
122 |
+
The model was evaluated using [mistral-evals](https://github.com/neuralmagic/mistral-evals) for vision-related tasks and using [lm_evaluation_harness](https://github.com/neuralmagic/lm-evaluation-harness) for select text-based benchmarks. The evaluations were conducted using the following commands:
|
123 |
+
|
124 |
+
<details>
|
125 |
+
<summary>Evaluation Commands</summary>
|
126 |
+
|
127 |
+
### Vision Tasks
|
128 |
+
- vqav2
|
129 |
+
- docvqa
|
130 |
+
- mathvista
|
131 |
+
- mmmu
|
132 |
+
- chartqa
|
133 |
+
|
134 |
+
```
|
135 |
+
vllm serve neuralmagic/pixtral-12b-quantized.w8a8 --tensor_parallel_size 1 --max_model_len 25000 --trust_remote_code --max_num_seqs 8 --gpu_memory_utilization 0.9 --dtype float16 --limit_mm_per_prompt image=7
|
136 |
+
|
137 |
+
python -m eval.run eval_vllm \
|
138 |
+
--model_name neuralmagic/pixtral-12b-quantized.w8a8 \
|
139 |
+
--url http://0.0.0.0:8000 \
|
140 |
+
--output_dir ~/tmp \
|
141 |
+
--eval_name <vision_task_name>
|
142 |
+
```
|
143 |
+
|
144 |
+
### Text-based Tasks
|
145 |
+
#### MMLU
|
146 |
+
|
147 |
+
```
|
148 |
+
lm_eval \
|
149 |
+
--model vllm \
|
150 |
+
--model_args pretrained="<model_name>",dtype=auto,add_bos_token=True,max_model_len=4096,tensor_parallel_size=<n>,gpu_memory_utilization=0.8,enable_chunked_prefill=True,trust_remote_code=True \
|
151 |
+
--tasks mmlu \
|
152 |
+
--num_fewshot 5 \
|
153 |
+
--batch_size auto \
|
154 |
+
--output_path output_dir
|
155 |
+
|
156 |
+
```
|
157 |
+
|
158 |
+
#### MGSM
|
159 |
+
|
160 |
+
```
|
161 |
+
lm_eval \
|
162 |
+
--model vllm \
|
163 |
+
--model_args pretrained="<model_name>",dtype=auto,max_model_len=4096,max_gen_toks=2048,max_num_seqs=128,tensor_parallel_size=<n>,gpu_memory_utilization=0.9 \
|
164 |
+
--tasks mgsm_cot_native \
|
165 |
+
--apply_chat_template \
|
166 |
+
--num_fewshot 0 \
|
167 |
+
--batch_size auto \
|
168 |
+
--output_path output_dir
|
169 |
+
|
170 |
+
```
|
171 |
+
</details>
|
172 |
+
|
173 |
+
### Accuracy
|
174 |
+
|
175 |
+
<table>
|
176 |
+
<thead>
|
177 |
+
<tr>
|
178 |
+
<th>Category</th>
|
179 |
+
<th>Metric</th>
|
180 |
+
<th>Qwen/Qwen2.5-VL-72B-Instruct</th>
|
181 |
+
<th>neuralmagic/Qwen2.5-VL-72B-Instruct-FP8-Dynamic</th>
|
182 |
+
<th>Recovery (%)</th>
|
183 |
+
</tr>
|
184 |
+
</thead>
|
185 |
+
<tbody>
|
186 |
+
<tr>
|
187 |
+
<td rowspan="6"><b>Vision</b></td>
|
188 |
+
<td>MMMU (val, CoT)<br><i>explicit_prompt_relaxed_correctness</i></td>
|
189 |
+
<td>64.33</td>
|
190 |
+
<td>66.88</td>
|
191 |
+
<td>103.96%</td>
|
192 |
+
</tr>
|
193 |
+
<tr>
|
194 |
+
<td>VQAv2 (val)<br><i>vqa_match</i></td>
|
195 |
+
<td>81.94</td>
|
196 |
+
<td>81.94</td>
|
197 |
+
<td>100.00%</td>
|
198 |
+
</tr>
|
199 |
+
<tr>
|
200 |
+
<td>DocVQA (val)<br><i>anls</i></td>
|
201 |
+
<td>94.71</td>
|
202 |
+
<td>94.64</td>
|
203 |
+
<td>99.93%</td>
|
204 |
+
</tr>
|
205 |
+
<tr>
|
206 |
+
<td>ChartQA (test, CoT)<br><i>anywhere_in_answer_relaxed_correctness</i></td>
|
207 |
+
<td>88.96</td>
|
208 |
+
<td>89.04</td>
|
209 |
+
<td>100.09%</td>
|
210 |
+
</tr>
|
211 |
+
<tr>
|
212 |
+
<td>Mathvista (testmini, CoT)<br><i>explicit_prompt_relaxed_correctness</i></td>
|
213 |
+
<td>78.18</td>
|
214 |
+
<td>77.78</td>
|
215 |
+
<td>99.49%</td>
|
216 |
+
</tr>
|
217 |
+
<tr>
|
218 |
+
<td><b>Average Score</b></td>
|
219 |
+
<td><b>81.62</b></td>
|
220 |
+
<td><b>81.86</b></td>
|
221 |
+
<td><b>100.29%</b></td>
|
222 |
+
</tr>
|
223 |
+
<tr>
|
224 |
+
<td rowspan="2"><b>Text</b></td>
|
225 |
+
<td>MGSM (CoT)</td>
|
226 |
+
<td>75.45</td>
|
227 |
+
<td>75.29</td>
|
228 |
+
<td>99.79%</td>
|
229 |
+
</tr>
|
230 |
+
<tr>
|
231 |
+
<td>MMLU (5-shot)</td>
|
232 |
+
<td>86.16</td>
|
233 |
+
<td>86.12</td>
|
234 |
+
<td>99.95%</td>
|
235 |
+
</tr>
|
236 |
+
</tbody>
|
237 |
+
</table>
|
238 |
+
|
239 |
+
|
240 |
+
## Inference Performance
|
241 |
+
|
242 |
+
|
243 |
+
This model achieves up to 1.79x speedup in single-stream deployment and up to 1.84x speedup in multi-stream asynchronous deployment, depending on hardware and use-case scenario.
|
244 |
+
The following performance benchmarks were conducted with [vLLM](https://docs.vllm.ai/en/latest/) version 0.7.2, and [GuideLLM](https://github.com/neuralmagic/guidellm).
|
245 |
+
|
246 |
+
<details>
|
247 |
+
<summary>Benchmarking Command</summary>
|
248 |
+
```
|
249 |
+
guidellm --model neuralmagic/Qwen2.5-VL-72B-Instruct-FP8-Dynamic --target "http://localhost:8000/v1" --data-type emulated --data prompt_tokens=<prompt_tokens>,generated_tokens=<generated_tokens>,images=<num_images>,width=<image_width>,height=<image_height> --max seconds 120 --backend aiohttp_server
|
250 |
+
```
|
251 |
+
|
252 |
+
</details>
|
253 |
+
|
254 |
+
|
255 |
+
### Single-stream performance (measured with vLLM version 0.7.2)
|
256 |
+
|
257 |
+
<table border="1" class="dataframe">
|
258 |
+
<thead>
|
259 |
+
<tr>
|
260 |
+
<th></th>
|
261 |
+
<th></th>
|
262 |
+
<th></th>
|
263 |
+
<th></th>
|
264 |
+
<th style="text-align: center;" colspan="2" >Document Visual Question Answering<br>1680W x 2240H<br>64/128</th>
|
265 |
+
<th style="text-align: center;" colspan="2" >Visual Reasoning <br>640W x 480H<br>128/128</th>
|
266 |
+
<th style="text-align: center;" colspan="2" >Image Captioning<br>480W x 360H<br>0/128</th>
|
267 |
+
</tr>
|
268 |
+
<tr>
|
269 |
+
<th>Hardware</th>
|
270 |
+
<th>Number of GPUs</th>
|
271 |
+
<th>Model</th>
|
272 |
+
<th>Average Cost Reduction</th>
|
273 |
+
<th>Latency (s)</th>
|
274 |
+
<th>Queries Per Dollar</th>
|
275 |
+
<th>Latency (s)th>
|
276 |
+
<th>Queries Per Dollar</th>
|
277 |
+
<th>Latency (s)</th>
|
278 |
+
<th>Queries Per Dollar</th>
|
279 |
+
</tr>
|
280 |
+
</thead>
|
281 |
+
<tbody>
|
282 |
+
<tr>
|
283 |
+
<th rowspan="3" valign="top">A100</td>
|
284 |
+
<td>4</td>
|
285 |
+
<td>Qwen/Qwen2.5-VL-72B-Instruct</td>
|
286 |
+
<td></td>
|
287 |
+
<td>6.4</td>
|
288 |
+
<td>78</td>
|
289 |
+
<td>4.5</td>
|
290 |
+
<td>111</td>
|
291 |
+
<td>4.4</td>
|
292 |
+
<td>113</td>
|
293 |
+
</tr>
|
294 |
+
<tr>
|
295 |
+
<td>2</td>
|
296 |
+
<td>neuralmagic/Qwen2.5-VL-72B-Instruct-quantized.w8a8</td>
|
297 |
+
<td>1.85</td>
|
298 |
+
<td>7.0</td>
|
299 |
+
<td>143</td>
|
300 |
+
<td>4.9</td>
|
301 |
+
<td>205</td>
|
302 |
+
<td>4.8</td>
|
303 |
+
<td>211</td>
|
304 |
+
</tr>
|
305 |
+
<tr>
|
306 |
+
<td>1</td>
|
307 |
+
<td>neuralmagic/Qwen2.5-VL-72B-Instruct-quantized.w4a16</td>
|
308 |
+
<td>3.33</td>
|
309 |
+
<td>9.4</td>
|
310 |
+
<td>213</td>
|
311 |
+
<td>5.1</td>
|
312 |
+
<td>396</td>
|
313 |
+
<td>4.8</td>
|
314 |
+
<td>420</td>
|
315 |
+
</tr>
|
316 |
+
<tr>
|
317 |
+
<th rowspan="3" valign="top">H100</td>
|
318 |
+
<td>4</td>
|
319 |
+
<td>Qwen/Qwen2.5-VL-72B-Instruct</td>
|
320 |
+
<td></td>
|
321 |
+
<td>4.3</td>
|
322 |
+
<td>68</td>
|
323 |
+
<td>3.0</td>
|
324 |
+
<td>97</td>
|
325 |
+
<td>2.9</td>
|
326 |
+
<td>100</td>
|
327 |
+
</tr>
|
328 |
+
<tr>
|
329 |
+
<td>2</td>
|
330 |
+
<td>neuralmagic/Qwen2.5-VL-72B-Instruct-FP8-Dynamic</td>
|
331 |
+
<td>1.79</td>
|
332 |
+
<td>4.6</td>
|
333 |
+
<td>122</td>
|
334 |
+
<td>3.3</td>
|
335 |
+
<td>173</td>
|
336 |
+
<td>3.2</td>
|
337 |
+
<td>177</td>
|
338 |
+
</tr>
|
339 |
+
<tr>
|
340 |
+
<td>1</td>
|
341 |
+
<td>neuralmagic/Qwen2.5-VL-72B-Instruct-quantized.w4a16</td>
|
342 |
+
<td>5.66</td>
|
343 |
+
<td>4.3</td>
|
344 |
+
<td>252</td>
|
345 |
+
<td>4.4</td>
|
346 |
+
<td>251</td>
|
347 |
+
<td>4.2</td>
|
348 |
+
<td>259</td>
|
349 |
+
</tr>
|
350 |
+
</tbody>
|
351 |
+
</table>
|
352 |
+
|
353 |
+
**Use case profiles: Image Size (WxH) / prompt tokens / generation tokens
|
354 |
+
|
355 |
+
**QPD: Queries per dollar, based on on-demand cost at [Lambda Labs](https://lambdalabs.com/service/gpu-cloud) (observed on 2/18/2025).
|
356 |
+
|
357 |
+
### Multi-stream asynchronous performance (measured with vLLM version 0.7.2)
|
358 |
+
|
359 |
+
<table border="1" class="dataframe">
|
360 |
+
<thead>
|
361 |
+
<tr>
|
362 |
+
<th></th>
|
363 |
+
<th></th>
|
364 |
+
<th></th>
|
365 |
+
<th style="text-align: center;" colspan="2" >Document Visual Question Answering<br>1680W x 2240H<br>64/128</th>
|
366 |
+
<th style="text-align: center;" colspan="2" >Visual Reasoning <br>640W x 480H<br>128/128</th>
|
367 |
+
<th style="text-align: center;" colspan="2" >Image Captioning<br>480W x 360H<br>0/128</th>
|
368 |
+
</tr>
|
369 |
+
<tr>
|
370 |
+
<th>Hardware</th>
|
371 |
+
<th>Model</th>
|
372 |
+
<th>Average Cost Reduction</th>
|
373 |
+
<th>Maximum throughput (QPS)</th>
|
374 |
+
<th>Queries Per Dollar</th>
|
375 |
+
<th>Maximum throughput (QPS)</th>
|
376 |
+
<th>Queries Per Dollar</th>
|
377 |
+
<th>Maximum throughput (QPS)</th>
|
378 |
+
<th>Queries Per Dollar</th>
|
379 |
+
</tr>
|
380 |
+
</thead>
|
381 |
+
<tbody style="text-align: center">
|
382 |
+
<tr>
|
383 |
+
<th rowspan="3" valign="top">A100x4</th>
|
384 |
+
<td>Qwen/Qwen2.5-VL-72B-Instruct</td>
|
385 |
+
<td></td>
|
386 |
+
<td>0.4</td>
|
387 |
+
<td>180</td>
|
388 |
+
<td>1.1</td>
|
389 |
+
<td>539</td>
|
390 |
+
<td>1.2</td>
|
391 |
+
<td>595</td>
|
392 |
+
</tr>
|
393 |
+
<tr>
|
394 |
+
<td>neuralmagic/Qwen2.5-VL-72B-Instruct-quantized.w8a8</td>
|
395 |
+
<td>1.80</td>
|
396 |
+
<td>0.6</td>
|
397 |
+
<td>289</td>
|
398 |
+
<td>2.0</td>
|
399 |
+
<td>1020</td>
|
400 |
+
<td>2.3</td>
|
401 |
+
<td>1133</td>
|
402 |
+
</tr>
|
403 |
+
<tr>
|
404 |
+
<td>neuralmagic/Qwen2.5-VL-72B-Instruct-quantized.w4a16</td>
|
405 |
+
<td>2.75</td>
|
406 |
+
<td>0.7</td>
|
407 |
+
<td>341</td>
|
408 |
+
<td>3.2</td>
|
409 |
+
<td>1588</td>
|
410 |
+
<td>4.1</td>
|
411 |
+
<td>2037</td>
|
412 |
+
</tr>
|
413 |
+
<tr>
|
414 |
+
<th rowspan="3" valign="top">H100x4</th>
|
415 |
+
<td>Qwen/Qwen2.5-VL-72B-Instruct</td>
|
416 |
+
<td></td>
|
417 |
+
<td>0.5</td>
|
418 |
+
<td>134</td>
|
419 |
+
<td>1.2</td>
|
420 |
+
<td>357</td>
|
421 |
+
<td>1.3</td>
|
422 |
+
<td>379</td>
|
423 |
+
</tr>
|
424 |
+
<tr>
|
425 |
+
<td>neuralmagic/Qwen2.5-VL-72B-Instruct-FP8-Dynamic</td>
|
426 |
+
<td>1.73</td>
|
427 |
+
<td>0.9</td>
|
428 |
+
<td>247</td>
|
429 |
+
<td>2.2</td>
|
430 |
+
<td>621</td>
|
431 |
+
<td>2.4</td>
|
432 |
+
<td>669</td>
|
433 |
+
</tr>
|
434 |
+
<tr>
|
435 |
+
<td>neuralmagic/Qwen2.5-VL-72B-Instruct-quantized.w4a16</td>
|
436 |
+
<td>8.27</td>
|
437 |
+
<td>3.3</td>
|
438 |
+
<td>913</td>
|
439 |
+
<td>3.3</td>
|
440 |
+
<td>898</td>
|
441 |
+
<td>3.6</td>
|
442 |
+
<td>991</td>
|
443 |
+
</tr>
|
444 |
+
</tbody>
|
445 |
+
</table>
|
446 |
+
|
447 |
+
**Use case profiles: Image Size (WxH) / prompt tokens / generation tokens
|
448 |
+
|
449 |
+
**QPS: Queries per second.
|
450 |
+
|
451 |
+
**QPD: Queries per dollar, based on on-demand cost at [Lambda Labs](https://lambdalabs.com/service/gpu-cloud) (observed on 2/18/2025).
|