quangnd58 commited on
Commit
c140963
·
verified ·
1 Parent(s): 6c91f6f

Add Qwen3.6-27B-NVFP4: NVFP4 quantized with llm-compressor (BF16 vision + DeltaNet preserved)

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ license_link: https://huggingface.co/Qwen/Qwen3.6-27B/blob/main/LICENSE
5
+ pipeline_tag: image-text-to-text
6
+ base_model: Qwen/Qwen3.6-27B
7
+ tags:
8
+ - nvfp4
9
+ - quantized
10
+ - compressed-tensors
11
+ - blackwell
12
+ - qwen3.6
13
+ - vlm
14
+ - vllm
15
+ quantized_by: vrfai
16
+ ---
17
+
18
+ # Qwen3.6-27B-NVFP4
19
+
20
+ NVFP4 quantized version of [Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B) by [vrfai](https://huggingface.co/vrfai) using [llm-compressor](https://github.com/vllm-project/llm-compressor).
21
+
22
+ Tested and deployed on **2× NVIDIA RTX 5090** with full tensor-parallel inference via vLLM.
23
+
24
+ ## NVFP4 Quantization Details
25
+
26
+ | | |
27
+ |---|---|
28
+ | **Base model** | [Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B) |
29
+ | **Quantization** | NVFP4 — weights FP4, activations FP4 (dynamic local), scales FP8 |
30
+ | **Format** | `compressed-tensors` (native vLLM support) |
31
+ | **Tool** | [vllm-project/llm-compressor](https://github.com/vllm-project/llm-compressor) |
32
+ | **Requires** | NVIDIA Blackwell GPU (SM 120+), vLLM ≥ 0.19 |
33
+
34
+ ### What's Quantized / What's Not
35
+
36
+ The quantization strategy carefully preserves the most sensitive components in BF16 while aggressively compressing the compute-heavy stable layers:
37
+
38
+ | Component | Precision | Reason |
39
+ |---|---|---|
40
+ | FFN / MLP — all 64 transformer layers | **NVFP4** | High parameter density, stable under quantization |
41
+ | Full-attention projections (q/k/v/o) — 16 GQA layers | **NVFP4** | Standard attention, tolerant to 4-bit |
42
+ | DeltaNet / Linear-attention projections — 48 layers | **BF16** | Gated linear recurrence is sensitive to numerical errors |
43
+ | Vision encoder — all 27 blocks + merger | **BF16** | Vision tower preserved to maintain multimodal quality |
44
+ | `lm_head` | **BF16** | Output logits preserved for generation stability |
45
+
46
+ > The architecture of Qwen3.6-27B interleaves 3 × DeltaNet (linear attention) layers with 1 × full GQA attention every 4 layers (16 such groups × 4 = 64 layers total). Only the full-attention group and all FFN layers are quantized; the DeltaNet recurrent cores are untouched.
47
+
48
+ ### Quantization Config (llm-compressor)
49
+
50
+ ```yaml
51
+ # recipe.yaml
52
+ QuantizationModifier:
53
+ targets: [Linear]
54
+ scheme: NVFP4
55
+ ignore:
56
+ - lm_head
57
+ # Vision encoder — all 27 blocks (attn + mlp) + merger
58
+ - re:model\.visual\.blocks\.\d+\..*
59
+ - model.visual.merger.linear_fc1
60
+ - model.visual.merger.linear_fc2
61
+ # DeltaNet / Linear-attention layers (layers 0–2, 4–6, 8–10, ..., 60–62)
62
+ - re:model\.language_model\.layers\.\d+\.linear_attn\..*
63
+ ```
64
+
65
+ ---
66
+
67
+ ## Quick Start (vLLM)
68
+
69
+ ```bash
70
+ vllm serve vrfai/Qwen3.6-27B-NVFP4 \
71
+ --max-model-len 8192 \
72
+ --gpu-memory-utilization 0.9 \
73
+ --dtype auto \
74
+ --trust-remote-code \
75
+ --tensor-parallel-size 2
76
+ ```
77
+
78
+ For single-GPU Blackwell (e.g., RTX 5090 with 32 GB):
79
+
80
+ ```bash
81
+ vllm serve vrfai/Qwen3.6-27B-NVFP4 \
82
+ --max-model-len 8192 \
83
+ --gpu-memory-utilization 0.92 \
84
+ --dtype auto \
85
+ --trust-remote-code
86
+ ```
87
+
88
+ ### Python (Transformers)
89
+
90
+ ```python
91
+ from transformers import AutoModelForCausalLM, AutoTokenizer
92
+
93
+ model_name = "vrfai/Qwen3.6-27B-NVFP4"
94
+ tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
95
+ model = AutoModelForCausalLM.from_pretrained(
96
+ model_name,
97
+ torch_dtype="auto",
98
+ device_map="auto",
99
+ trust_remote_code=True,
100
+ )
101
+
102
+ messages = [{"role": "user", "content": "Explain quantization in one paragraph."}]
103
+ text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
104
+ inputs = tokenizer(text, return_tensors="pt").to(model.device)
105
+ outputs = model.generate(**inputs, max_new_tokens=512)
106
+ print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
107
+ ```
108
+
109
+ ### OpenAI-compatible API
110
+
111
+ ```python
112
+ from openai import OpenAI
113
+
114
+ client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
115
+
116
+ response = client.chat.completions.create(
117
+ model="vrfai/Qwen3.6-27B-NVFP4",
118
+ messages=[{"role": "user", "content": "Hello!"}],
119
+ temperature=0.7,
120
+ max_tokens=512,
121
+ )
122
+ print(response.choices[0].message.content)
123
+ ```
124
+
125
+ ---
126
+
127
+ ## Tested Environment
128
+
129
+ | Component | Version |
130
+ |-----------|---------|
131
+ | vLLM | 0.19.1 |
132
+ | Transformers | 5.6.0 |
133
+ | PyTorch | 2.10.0+cu128 |
134
+ | CUDA | 12.8 (nvcc 12.8.61) |
135
+ | llm-compressor | compressed-tensors 0.14.0.1 |
136
+ | GPU | 2× NVIDIA RTX 5090 (tensor-parallel-size 2) |
137
+ | OS | Ubuntu 24 |
138
+
139
+ ---
140
+
141
+ ## Best Practices
142
+
143
+ **Sampling parameters:**
144
+
145
+ | Mode | temperature | top_p | top_k | presence_penalty |
146
+ |------|-------------|-------|-------|------------------|
147
+ | Thinking — general | 1.0 | 0.95 | 20 | 0.0 |
148
+ | Thinking — coding (WebDev) | 0.6 | 0.95 | 20 | 0.0 |
149
+ | Non-thinking / instruct | 0.7 | 0.80 | 20 | 1.5 |
150
+
151
+ **Output length:** Recommend `max_new_tokens=32768` for most tasks; up to 81920 for complex math/coding benchmarks.
152
+
153
+ **Thinking mode** (enable via chat template):
154
+ ```python
155
+ text = tokenizer.apply_chat_template(
156
+ messages,
157
+ tokenize=False,
158
+ add_generation_prompt=True,
159
+ chat_template_kwargs={"enable_thinking": True},
160
+ )
161
+ ```
162
+
163
+ ---
164
+
165
+ ## Credits
166
+
167
+ - **Original model:** [Qwen Team](https://huggingface.co/Qwen) (Alibaba Group)
168
+ - **NVFP4 quantization:** [vrfai](https://huggingface.co/vrfai)
169
+ - **Quantization framework:** [vllm-project/llm-compressor](https://github.com/vllm-project/llm-compressor)
170
+
171
+ ---
172
+
173
+ *Below is the original model card from [Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B):*
174
+
175
+ ---
176
+
177
+ <img width="400px" src="https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.6/logo.png">
178
+
179
+ [![Qwen Chat](https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5)](https://chat.qwen.ai)
180
+
181
+ > [!Note]
182
+ > This repository contains model weights and configuration files for the post-trained model in the Hugging Face Transformers format.
183
+ >
184
+ > These artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, KTransformers, etc.
185
+
186
+ Following the February release of the Qwen3.5 series, we're pleased to share the first open-weight variant of Qwen3.6. Built on direct feedback from the community, Qwen3.6 prioritizes stability and real-world utility, offering developers a more intuitive, responsive, and genuinely productive coding experience.
187
+
188
+ ## Qwen3.6 Highlights
189
+
190
+ This release delivers substantial upgrades, particularly in
191
+
192
+ - **Agentic Coding:** the model now handles frontend workflows and repository-level reasoning with greater fluency and precision.
193
+ - **Thinking Preservation:** we've introduced a new option to retain reasoning context from historical messages, streamlining iterative development and reducing overhead.
194
+
195
+ ![Benchmark Results](https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3.6/Figures/qwen3.6_27b_score.png)
196
+
197
+ For more details, please refer to our blog post [Qwen3.6-27B](https://qwen.ai/blog?id=qwen3.6-27b).
198
+
199
+ ## Model Overview
200
+
201
+ - Type: Causal Language Model with Vision Encoder
202
+ - Training Stage: Pre-training & Post-training
203
+ - Language Model
204
+ - Number of Parameters: 27B
205
+ - Hidden Dimension: 5120
206
+ - Token Embedding: 248320 (Padded)
207
+ - Number of Layers: 64
208
+ - Hidden Layout: 16 × (3 × (Gated DeltaNet → FFN) → 1 × (Gated Attention → FFN))
209
+ - Gated DeltaNet:
210
+ - Number of Linear Attention Heads: 48 for V and 16 for QK
211
+ - Head Dimension: 128
212
+ - Gated Attention:
213
+ - Number of Attention Heads: 24 for Q and 4 for KV
214
+ - Head Dimension: 256
215
+ - Rotary Position Embedding Dimension: 64
216
+ - Feed Forward Network:
217
+ - Intermediate Dimension: 17408
218
+ - LM Output: 248320 (Padded)
219
+ - MTP: trained with multi-steps
220
+ - Context Length: 262,144 natively and extensible up to 1,010,000 tokens.
221
+
222
+ ### Citation
223
+
224
+ ```bibtex
225
+ @misc{qwen3.6-27b,
226
+ title = {{Qwen3.6-27B}: Flagship-Level Coding in a {27B} Dense Model},
227
+ author = {{Qwen Team}},
228
+ month = {April},
229
+ year = {2026},
230
+ url = {https://qwen.ai/blog?id=qwen3.6-27b}
231
+ }
232
+ ```
chat_template.jinja ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set image_count = namespace(value=0) %}
2
+ {%- set video_count = namespace(value=0) %}
3
+ {%- macro render_content(content, do_vision_count, is_system_content=false) %}
4
+ {%- if content is string %}
5
+ {{- content }}
6
+ {%- elif content is iterable and content is not mapping %}
7
+ {%- for item in content %}
8
+ {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
9
+ {%- if is_system_content %}
10
+ {{- raise_exception('System message cannot contain images.') }}
11
+ {%- endif %}
12
+ {%- if do_vision_count %}
13
+ {%- set image_count.value = image_count.value + 1 %}
14
+ {%- endif %}
15
+ {%- if add_vision_id %}
16
+ {{- 'Picture ' ~ image_count.value ~ ': ' }}
17
+ {%- endif %}
18
+ {{- '<|vision_start|><|image_pad|><|vision_end|>' }}
19
+ {%- elif 'video' in item or item.type == 'video' %}
20
+ {%- if is_system_content %}
21
+ {{- raise_exception('System message cannot contain videos.') }}
22
+ {%- endif %}
23
+ {%- if do_vision_count %}
24
+ {%- set video_count.value = video_count.value + 1 %}
25
+ {%- endif %}
26
+ {%- if add_vision_id %}
27
+ {{- 'Video ' ~ video_count.value ~ ': ' }}
28
+ {%- endif %}
29
+ {{- '<|vision_start|><|video_pad|><|vision_end|>' }}
30
+ {%- elif 'text' in item %}
31
+ {{- item.text }}
32
+ {%- else %}
33
+ {{- raise_exception('Unexpected item type in content.') }}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- elif content is none or content is undefined %}
37
+ {{- '' }}
38
+ {%- else %}
39
+ {{- raise_exception('Unexpected content type.') }}
40
+ {%- endif %}
41
+ {%- endmacro %}
42
+ {%- if not messages %}
43
+ {{- raise_exception('No messages provided.') }}
44
+ {%- endif %}
45
+ {%- if tools and tools is iterable and tools is not mapping %}
46
+ {{- '<|im_start|>system\n' }}
47
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
48
+ {%- for tool in tools %}
49
+ {{- "\n" }}
50
+ {{- tool | tojson }}
51
+ {%- endfor %}
52
+ {{- "\n</tools>" }}
53
+ {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
54
+ {%- if messages[0].role == 'system' %}
55
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
56
+ {%- if content %}
57
+ {{- '\n\n' + content }}
58
+ {%- endif %}
59
+ {%- endif %}
60
+ {{- '<|im_end|>\n' }}
61
+ {%- else %}
62
+ {%- if messages[0].role == 'system' %}
63
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
64
+ {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
65
+ {%- endif %}
66
+ {%- endif %}
67
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
68
+ {%- for message in messages[::-1] %}
69
+ {%- set index = (messages|length - 1) - loop.index0 %}
70
+ {%- if ns.multi_step_tool and message.role == "user" %}
71
+ {%- set content = render_content(message.content, false)|trim %}
72
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
73
+ {%- set ns.multi_step_tool = false %}
74
+ {%- set ns.last_query_index = index %}
75
+ {%- endif %}
76
+ {%- endif %}
77
+ {%- endfor %}
78
+ {%- if ns.multi_step_tool %}
79
+ {{- raise_exception('No user query found in messages.') }}
80
+ {%- endif %}
81
+ {%- for message in messages %}
82
+ {%- set content = render_content(message.content, true)|trim %}
83
+ {%- if message.role == "system" %}
84
+ {%- if not loop.first %}
85
+ {{- raise_exception('System message must be at the beginning.') }}
86
+ {%- endif %}
87
+ {%- elif message.role == "user" %}
88
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
89
+ {%- elif message.role == "assistant" %}
90
+ {%- set reasoning_content = '' %}
91
+ {%- if message.reasoning_content is string %}
92
+ {%- set reasoning_content = message.reasoning_content %}
93
+ {%- else %}
94
+ {%- if '</think>' in content %}
95
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
96
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
97
+ {%- endif %}
98
+ {%- endif %}
99
+ {%- set reasoning_content = reasoning_content|trim %}
100
+ {%- if (preserve_thinking is defined and preserve_thinking is true) or (loop.index0 > ns.last_query_index) %}
101
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
102
+ {%- else %}
103
+ {{- '<|im_start|>' + message.role + '\n' + content }}
104
+ {%- endif %}
105
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
106
+ {%- for tool_call in message.tool_calls %}
107
+ {%- if tool_call.function is defined %}
108
+ {%- set tool_call = tool_call.function %}
109
+ {%- endif %}
110
+ {%- if loop.first %}
111
+ {%- if content|trim %}
112
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
113
+ {%- else %}
114
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
115
+ {%- endif %}
116
+ {%- else %}
117
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
118
+ {%- endif %}
119
+ {%- if tool_call.arguments is defined %}
120
+ {%- for args_name, args_value in tool_call.arguments|items %}
121
+ {{- '<parameter=' + args_name + '>\n' }}
122
+ {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
123
+ {{- args_value }}
124
+ {{- '\n</parameter>\n' }}
125
+ {%- endfor %}
126
+ {%- endif %}
127
+ {{- '</function>\n</tool_call>' }}
128
+ {%- endfor %}
129
+ {%- endif %}
130
+ {{- '<|im_end|>\n' }}
131
+ {%- elif message.role == "tool" %}
132
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
133
+ {{- '<|im_start|>user' }}
134
+ {%- endif %}
135
+ {{- '\n<tool_response>\n' }}
136
+ {{- content }}
137
+ {{- '\n</tool_response>' }}
138
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
139
+ {{- '<|im_end|>\n' }}
140
+ {%- elif loop.last %}
141
+ {{- '<|im_end|>\n' }}
142
+ {%- endif %}
143
+ {%- else %}
144
+ {{- raise_exception('Unexpected message role.') }}
145
+ {%- endif %}
146
+ {%- endfor %}
147
+ {%- if add_generation_prompt %}
148
+ {{- '<|im_start|>assistant\n' }}
149
+ {%- if enable_thinking is defined and enable_thinking is false %}
150
+ {{- '<think>\n\n</think>\n\n' }}
151
+ {%- else %}
152
+ {{- '<think>\n' }}
153
+ {%- endif %}
154
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,542 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForConditionalGeneration"
4
+ ],
5
+ "dtype": "bfloat16",
6
+ "image_token_id": 248056,
7
+ "language_model_only": false,
8
+ "model_type": "qwen3_5",
9
+ "quantization_config": {
10
+ "config_groups": {
11
+ "group_0": {
12
+ "format": "nvfp4-pack-quantized",
13
+ "input_activations": {
14
+ "actorder": null,
15
+ "block_structure": null,
16
+ "dynamic": "local",
17
+ "group_size": 16,
18
+ "num_bits": 4,
19
+ "observer": "static_minmax",
20
+ "observer_kwargs": {},
21
+ "scale_dtype": "torch.float8_e4m3fn",
22
+ "strategy": "tensor_group",
23
+ "symmetric": true,
24
+ "type": "float",
25
+ "zp_dtype": null
26
+ },
27
+ "output_activations": null,
28
+ "targets": [
29
+ "Linear"
30
+ ],
31
+ "weights": {
32
+ "actorder": null,
33
+ "block_structure": null,
34
+ "dynamic": false,
35
+ "group_size": 16,
36
+ "num_bits": 4,
37
+ "observer": "memoryless_minmax",
38
+ "observer_kwargs": {},
39
+ "scale_dtype": "torch.float8_e4m3fn",
40
+ "strategy": "tensor_group",
41
+ "symmetric": true,
42
+ "type": "float",
43
+ "zp_dtype": null
44
+ }
45
+ }
46
+ },
47
+ "format": "nvfp4-pack-quantized",
48
+ "global_compression_ratio": null,
49
+ "ignore": [
50
+ "model.visual.blocks.0.attn.qkv",
51
+ "model.visual.blocks.0.attn.proj",
52
+ "model.visual.blocks.0.mlp.linear_fc1",
53
+ "model.visual.blocks.0.mlp.linear_fc2",
54
+ "model.visual.blocks.1.attn.qkv",
55
+ "model.visual.blocks.1.attn.proj",
56
+ "model.visual.blocks.1.mlp.linear_fc1",
57
+ "model.visual.blocks.1.mlp.linear_fc2",
58
+ "model.visual.blocks.2.attn.qkv",
59
+ "model.visual.blocks.2.attn.proj",
60
+ "model.visual.blocks.2.mlp.linear_fc1",
61
+ "model.visual.blocks.2.mlp.linear_fc2",
62
+ "model.visual.blocks.3.attn.qkv",
63
+ "model.visual.blocks.3.attn.proj",
64
+ "model.visual.blocks.3.mlp.linear_fc1",
65
+ "model.visual.blocks.3.mlp.linear_fc2",
66
+ "model.visual.blocks.4.attn.qkv",
67
+ "model.visual.blocks.4.attn.proj",
68
+ "model.visual.blocks.4.mlp.linear_fc1",
69
+ "model.visual.blocks.4.mlp.linear_fc2",
70
+ "model.visual.blocks.5.attn.qkv",
71
+ "model.visual.blocks.5.attn.proj",
72
+ "model.visual.blocks.5.mlp.linear_fc1",
73
+ "model.visual.blocks.5.mlp.linear_fc2",
74
+ "model.visual.blocks.6.attn.qkv",
75
+ "model.visual.blocks.6.attn.proj",
76
+ "model.visual.blocks.6.mlp.linear_fc1",
77
+ "model.visual.blocks.6.mlp.linear_fc2",
78
+ "model.visual.blocks.7.attn.qkv",
79
+ "model.visual.blocks.7.attn.proj",
80
+ "model.visual.blocks.7.mlp.linear_fc1",
81
+ "model.visual.blocks.7.mlp.linear_fc2",
82
+ "model.visual.blocks.8.attn.qkv",
83
+ "model.visual.blocks.8.attn.proj",
84
+ "model.visual.blocks.8.mlp.linear_fc1",
85
+ "model.visual.blocks.8.mlp.linear_fc2",
86
+ "model.visual.blocks.9.attn.qkv",
87
+ "model.visual.blocks.9.attn.proj",
88
+ "model.visual.blocks.9.mlp.linear_fc1",
89
+ "model.visual.blocks.9.mlp.linear_fc2",
90
+ "model.visual.blocks.10.attn.qkv",
91
+ "model.visual.blocks.10.attn.proj",
92
+ "model.visual.blocks.10.mlp.linear_fc1",
93
+ "model.visual.blocks.10.mlp.linear_fc2",
94
+ "model.visual.blocks.11.attn.qkv",
95
+ "model.visual.blocks.11.attn.proj",
96
+ "model.visual.blocks.11.mlp.linear_fc1",
97
+ "model.visual.blocks.11.mlp.linear_fc2",
98
+ "model.visual.blocks.12.attn.qkv",
99
+ "model.visual.blocks.12.attn.proj",
100
+ "model.visual.blocks.12.mlp.linear_fc1",
101
+ "model.visual.blocks.12.mlp.linear_fc2",
102
+ "model.visual.blocks.13.attn.qkv",
103
+ "model.visual.blocks.13.attn.proj",
104
+ "model.visual.blocks.13.mlp.linear_fc1",
105
+ "model.visual.blocks.13.mlp.linear_fc2",
106
+ "model.visual.blocks.14.attn.qkv",
107
+ "model.visual.blocks.14.attn.proj",
108
+ "model.visual.blocks.14.mlp.linear_fc1",
109
+ "model.visual.blocks.14.mlp.linear_fc2",
110
+ "model.visual.blocks.15.attn.qkv",
111
+ "model.visual.blocks.15.attn.proj",
112
+ "model.visual.blocks.15.mlp.linear_fc1",
113
+ "model.visual.blocks.15.mlp.linear_fc2",
114
+ "model.visual.blocks.16.attn.qkv",
115
+ "model.visual.blocks.16.attn.proj",
116
+ "model.visual.blocks.16.mlp.linear_fc1",
117
+ "model.visual.blocks.16.mlp.linear_fc2",
118
+ "model.visual.blocks.17.attn.qkv",
119
+ "model.visual.blocks.17.attn.proj",
120
+ "model.visual.blocks.17.mlp.linear_fc1",
121
+ "model.visual.blocks.17.mlp.linear_fc2",
122
+ "model.visual.blocks.18.attn.qkv",
123
+ "model.visual.blocks.18.attn.proj",
124
+ "model.visual.blocks.18.mlp.linear_fc1",
125
+ "model.visual.blocks.18.mlp.linear_fc2",
126
+ "model.visual.blocks.19.attn.qkv",
127
+ "model.visual.blocks.19.attn.proj",
128
+ "model.visual.blocks.19.mlp.linear_fc1",
129
+ "model.visual.blocks.19.mlp.linear_fc2",
130
+ "model.visual.blocks.20.attn.qkv",
131
+ "model.visual.blocks.20.attn.proj",
132
+ "model.visual.blocks.20.mlp.linear_fc1",
133
+ "model.visual.blocks.20.mlp.linear_fc2",
134
+ "model.visual.blocks.21.attn.qkv",
135
+ "model.visual.blocks.21.attn.proj",
136
+ "model.visual.blocks.21.mlp.linear_fc1",
137
+ "model.visual.blocks.21.mlp.linear_fc2",
138
+ "model.visual.blocks.22.attn.qkv",
139
+ "model.visual.blocks.22.attn.proj",
140
+ "model.visual.blocks.22.mlp.linear_fc1",
141
+ "model.visual.blocks.22.mlp.linear_fc2",
142
+ "model.visual.blocks.23.attn.qkv",
143
+ "model.visual.blocks.23.attn.proj",
144
+ "model.visual.blocks.23.mlp.linear_fc1",
145
+ "model.visual.blocks.23.mlp.linear_fc2",
146
+ "model.visual.blocks.24.attn.qkv",
147
+ "model.visual.blocks.24.attn.proj",
148
+ "model.visual.blocks.24.mlp.linear_fc1",
149
+ "model.visual.blocks.24.mlp.linear_fc2",
150
+ "model.visual.blocks.25.attn.qkv",
151
+ "model.visual.blocks.25.attn.proj",
152
+ "model.visual.blocks.25.mlp.linear_fc1",
153
+ "model.visual.blocks.25.mlp.linear_fc2",
154
+ "model.visual.blocks.26.attn.qkv",
155
+ "model.visual.blocks.26.attn.proj",
156
+ "model.visual.blocks.26.mlp.linear_fc1",
157
+ "model.visual.blocks.26.mlp.linear_fc2",
158
+ "model.visual.merger.linear_fc1",
159
+ "model.visual.merger.linear_fc2",
160
+ "model.language_model.layers.0.linear_attn.out_proj",
161
+ "model.language_model.layers.0.linear_attn.in_proj_qkv",
162
+ "model.language_model.layers.0.linear_attn.in_proj_z",
163
+ "model.language_model.layers.0.linear_attn.in_proj_b",
164
+ "model.language_model.layers.0.linear_attn.in_proj_a",
165
+ "model.language_model.layers.1.linear_attn.out_proj",
166
+ "model.language_model.layers.1.linear_attn.in_proj_qkv",
167
+ "model.language_model.layers.1.linear_attn.in_proj_z",
168
+ "model.language_model.layers.1.linear_attn.in_proj_b",
169
+ "model.language_model.layers.1.linear_attn.in_proj_a",
170
+ "model.language_model.layers.2.linear_attn.out_proj",
171
+ "model.language_model.layers.2.linear_attn.in_proj_qkv",
172
+ "model.language_model.layers.2.linear_attn.in_proj_z",
173
+ "model.language_model.layers.2.linear_attn.in_proj_b",
174
+ "model.language_model.layers.2.linear_attn.in_proj_a",
175
+ "model.language_model.layers.4.linear_attn.out_proj",
176
+ "model.language_model.layers.4.linear_attn.in_proj_qkv",
177
+ "model.language_model.layers.4.linear_attn.in_proj_z",
178
+ "model.language_model.layers.4.linear_attn.in_proj_b",
179
+ "model.language_model.layers.4.linear_attn.in_proj_a",
180
+ "model.language_model.layers.5.linear_attn.out_proj",
181
+ "model.language_model.layers.5.linear_attn.in_proj_qkv",
182
+ "model.language_model.layers.5.linear_attn.in_proj_z",
183
+ "model.language_model.layers.5.linear_attn.in_proj_b",
184
+ "model.language_model.layers.5.linear_attn.in_proj_a",
185
+ "model.language_model.layers.6.linear_attn.out_proj",
186
+ "model.language_model.layers.6.linear_attn.in_proj_qkv",
187
+ "model.language_model.layers.6.linear_attn.in_proj_z",
188
+ "model.language_model.layers.6.linear_attn.in_proj_b",
189
+ "model.language_model.layers.6.linear_attn.in_proj_a",
190
+ "model.language_model.layers.8.linear_attn.out_proj",
191
+ "model.language_model.layers.8.linear_attn.in_proj_qkv",
192
+ "model.language_model.layers.8.linear_attn.in_proj_z",
193
+ "model.language_model.layers.8.linear_attn.in_proj_b",
194
+ "model.language_model.layers.8.linear_attn.in_proj_a",
195
+ "model.language_model.layers.9.linear_attn.out_proj",
196
+ "model.language_model.layers.9.linear_attn.in_proj_qkv",
197
+ "model.language_model.layers.9.linear_attn.in_proj_z",
198
+ "model.language_model.layers.9.linear_attn.in_proj_b",
199
+ "model.language_model.layers.9.linear_attn.in_proj_a",
200
+ "model.language_model.layers.10.linear_attn.out_proj",
201
+ "model.language_model.layers.10.linear_attn.in_proj_qkv",
202
+ "model.language_model.layers.10.linear_attn.in_proj_z",
203
+ "model.language_model.layers.10.linear_attn.in_proj_b",
204
+ "model.language_model.layers.10.linear_attn.in_proj_a",
205
+ "model.language_model.layers.12.linear_attn.out_proj",
206
+ "model.language_model.layers.12.linear_attn.in_proj_qkv",
207
+ "model.language_model.layers.12.linear_attn.in_proj_z",
208
+ "model.language_model.layers.12.linear_attn.in_proj_b",
209
+ "model.language_model.layers.12.linear_attn.in_proj_a",
210
+ "model.language_model.layers.13.linear_attn.out_proj",
211
+ "model.language_model.layers.13.linear_attn.in_proj_qkv",
212
+ "model.language_model.layers.13.linear_attn.in_proj_z",
213
+ "model.language_model.layers.13.linear_attn.in_proj_b",
214
+ "model.language_model.layers.13.linear_attn.in_proj_a",
215
+ "model.language_model.layers.14.linear_attn.out_proj",
216
+ "model.language_model.layers.14.linear_attn.in_proj_qkv",
217
+ "model.language_model.layers.14.linear_attn.in_proj_z",
218
+ "model.language_model.layers.14.linear_attn.in_proj_b",
219
+ "model.language_model.layers.14.linear_attn.in_proj_a",
220
+ "model.language_model.layers.16.linear_attn.out_proj",
221
+ "model.language_model.layers.16.linear_attn.in_proj_qkv",
222
+ "model.language_model.layers.16.linear_attn.in_proj_z",
223
+ "model.language_model.layers.16.linear_attn.in_proj_b",
224
+ "model.language_model.layers.16.linear_attn.in_proj_a",
225
+ "model.language_model.layers.17.linear_attn.out_proj",
226
+ "model.language_model.layers.17.linear_attn.in_proj_qkv",
227
+ "model.language_model.layers.17.linear_attn.in_proj_z",
228
+ "model.language_model.layers.17.linear_attn.in_proj_b",
229
+ "model.language_model.layers.17.linear_attn.in_proj_a",
230
+ "model.language_model.layers.18.linear_attn.out_proj",
231
+ "model.language_model.layers.18.linear_attn.in_proj_qkv",
232
+ "model.language_model.layers.18.linear_attn.in_proj_z",
233
+ "model.language_model.layers.18.linear_attn.in_proj_b",
234
+ "model.language_model.layers.18.linear_attn.in_proj_a",
235
+ "model.language_model.layers.20.linear_attn.out_proj",
236
+ "model.language_model.layers.20.linear_attn.in_proj_qkv",
237
+ "model.language_model.layers.20.linear_attn.in_proj_z",
238
+ "model.language_model.layers.20.linear_attn.in_proj_b",
239
+ "model.language_model.layers.20.linear_attn.in_proj_a",
240
+ "model.language_model.layers.21.linear_attn.out_proj",
241
+ "model.language_model.layers.21.linear_attn.in_proj_qkv",
242
+ "model.language_model.layers.21.linear_attn.in_proj_z",
243
+ "model.language_model.layers.21.linear_attn.in_proj_b",
244
+ "model.language_model.layers.21.linear_attn.in_proj_a",
245
+ "model.language_model.layers.22.linear_attn.out_proj",
246
+ "model.language_model.layers.22.linear_attn.in_proj_qkv",
247
+ "model.language_model.layers.22.linear_attn.in_proj_z",
248
+ "model.language_model.layers.22.linear_attn.in_proj_b",
249
+ "model.language_model.layers.22.linear_attn.in_proj_a",
250
+ "model.language_model.layers.24.linear_attn.out_proj",
251
+ "model.language_model.layers.24.linear_attn.in_proj_qkv",
252
+ "model.language_model.layers.24.linear_attn.in_proj_z",
253
+ "model.language_model.layers.24.linear_attn.in_proj_b",
254
+ "model.language_model.layers.24.linear_attn.in_proj_a",
255
+ "model.language_model.layers.25.linear_attn.out_proj",
256
+ "model.language_model.layers.25.linear_attn.in_proj_qkv",
257
+ "model.language_model.layers.25.linear_attn.in_proj_z",
258
+ "model.language_model.layers.25.linear_attn.in_proj_b",
259
+ "model.language_model.layers.25.linear_attn.in_proj_a",
260
+ "model.language_model.layers.26.linear_attn.out_proj",
261
+ "model.language_model.layers.26.linear_attn.in_proj_qkv",
262
+ "model.language_model.layers.26.linear_attn.in_proj_z",
263
+ "model.language_model.layers.26.linear_attn.in_proj_b",
264
+ "model.language_model.layers.26.linear_attn.in_proj_a",
265
+ "model.language_model.layers.28.linear_attn.out_proj",
266
+ "model.language_model.layers.28.linear_attn.in_proj_qkv",
267
+ "model.language_model.layers.28.linear_attn.in_proj_z",
268
+ "model.language_model.layers.28.linear_attn.in_proj_b",
269
+ "model.language_model.layers.28.linear_attn.in_proj_a",
270
+ "model.language_model.layers.29.linear_attn.out_proj",
271
+ "model.language_model.layers.29.linear_attn.in_proj_qkv",
272
+ "model.language_model.layers.29.linear_attn.in_proj_z",
273
+ "model.language_model.layers.29.linear_attn.in_proj_b",
274
+ "model.language_model.layers.29.linear_attn.in_proj_a",
275
+ "model.language_model.layers.30.linear_attn.out_proj",
276
+ "model.language_model.layers.30.linear_attn.in_proj_qkv",
277
+ "model.language_model.layers.30.linear_attn.in_proj_z",
278
+ "model.language_model.layers.30.linear_attn.in_proj_b",
279
+ "model.language_model.layers.30.linear_attn.in_proj_a",
280
+ "model.language_model.layers.32.linear_attn.out_proj",
281
+ "model.language_model.layers.32.linear_attn.in_proj_qkv",
282
+ "model.language_model.layers.32.linear_attn.in_proj_z",
283
+ "model.language_model.layers.32.linear_attn.in_proj_b",
284
+ "model.language_model.layers.32.linear_attn.in_proj_a",
285
+ "model.language_model.layers.33.linear_attn.out_proj",
286
+ "model.language_model.layers.33.linear_attn.in_proj_qkv",
287
+ "model.language_model.layers.33.linear_attn.in_proj_z",
288
+ "model.language_model.layers.33.linear_attn.in_proj_b",
289
+ "model.language_model.layers.33.linear_attn.in_proj_a",
290
+ "model.language_model.layers.34.linear_attn.out_proj",
291
+ "model.language_model.layers.34.linear_attn.in_proj_qkv",
292
+ "model.language_model.layers.34.linear_attn.in_proj_z",
293
+ "model.language_model.layers.34.linear_attn.in_proj_b",
294
+ "model.language_model.layers.34.linear_attn.in_proj_a",
295
+ "model.language_model.layers.36.linear_attn.out_proj",
296
+ "model.language_model.layers.36.linear_attn.in_proj_qkv",
297
+ "model.language_model.layers.36.linear_attn.in_proj_z",
298
+ "model.language_model.layers.36.linear_attn.in_proj_b",
299
+ "model.language_model.layers.36.linear_attn.in_proj_a",
300
+ "model.language_model.layers.37.linear_attn.out_proj",
301
+ "model.language_model.layers.37.linear_attn.in_proj_qkv",
302
+ "model.language_model.layers.37.linear_attn.in_proj_z",
303
+ "model.language_model.layers.37.linear_attn.in_proj_b",
304
+ "model.language_model.layers.37.linear_attn.in_proj_a",
305
+ "model.language_model.layers.38.linear_attn.out_proj",
306
+ "model.language_model.layers.38.linear_attn.in_proj_qkv",
307
+ "model.language_model.layers.38.linear_attn.in_proj_z",
308
+ "model.language_model.layers.38.linear_attn.in_proj_b",
309
+ "model.language_model.layers.38.linear_attn.in_proj_a",
310
+ "model.language_model.layers.40.linear_attn.out_proj",
311
+ "model.language_model.layers.40.linear_attn.in_proj_qkv",
312
+ "model.language_model.layers.40.linear_attn.in_proj_z",
313
+ "model.language_model.layers.40.linear_attn.in_proj_b",
314
+ "model.language_model.layers.40.linear_attn.in_proj_a",
315
+ "model.language_model.layers.41.linear_attn.out_proj",
316
+ "model.language_model.layers.41.linear_attn.in_proj_qkv",
317
+ "model.language_model.layers.41.linear_attn.in_proj_z",
318
+ "model.language_model.layers.41.linear_attn.in_proj_b",
319
+ "model.language_model.layers.41.linear_attn.in_proj_a",
320
+ "model.language_model.layers.42.linear_attn.out_proj",
321
+ "model.language_model.layers.42.linear_attn.in_proj_qkv",
322
+ "model.language_model.layers.42.linear_attn.in_proj_z",
323
+ "model.language_model.layers.42.linear_attn.in_proj_b",
324
+ "model.language_model.layers.42.linear_attn.in_proj_a",
325
+ "model.language_model.layers.44.linear_attn.out_proj",
326
+ "model.language_model.layers.44.linear_attn.in_proj_qkv",
327
+ "model.language_model.layers.44.linear_attn.in_proj_z",
328
+ "model.language_model.layers.44.linear_attn.in_proj_b",
329
+ "model.language_model.layers.44.linear_attn.in_proj_a",
330
+ "model.language_model.layers.45.linear_attn.out_proj",
331
+ "model.language_model.layers.45.linear_attn.in_proj_qkv",
332
+ "model.language_model.layers.45.linear_attn.in_proj_z",
333
+ "model.language_model.layers.45.linear_attn.in_proj_b",
334
+ "model.language_model.layers.45.linear_attn.in_proj_a",
335
+ "model.language_model.layers.46.linear_attn.out_proj",
336
+ "model.language_model.layers.46.linear_attn.in_proj_qkv",
337
+ "model.language_model.layers.46.linear_attn.in_proj_z",
338
+ "model.language_model.layers.46.linear_attn.in_proj_b",
339
+ "model.language_model.layers.46.linear_attn.in_proj_a",
340
+ "model.language_model.layers.48.linear_attn.out_proj",
341
+ "model.language_model.layers.48.linear_attn.in_proj_qkv",
342
+ "model.language_model.layers.48.linear_attn.in_proj_z",
343
+ "model.language_model.layers.48.linear_attn.in_proj_b",
344
+ "model.language_model.layers.48.linear_attn.in_proj_a",
345
+ "model.language_model.layers.49.linear_attn.out_proj",
346
+ "model.language_model.layers.49.linear_attn.in_proj_qkv",
347
+ "model.language_model.layers.49.linear_attn.in_proj_z",
348
+ "model.language_model.layers.49.linear_attn.in_proj_b",
349
+ "model.language_model.layers.49.linear_attn.in_proj_a",
350
+ "model.language_model.layers.50.linear_attn.out_proj",
351
+ "model.language_model.layers.50.linear_attn.in_proj_qkv",
352
+ "model.language_model.layers.50.linear_attn.in_proj_z",
353
+ "model.language_model.layers.50.linear_attn.in_proj_b",
354
+ "model.language_model.layers.50.linear_attn.in_proj_a",
355
+ "model.language_model.layers.52.linear_attn.out_proj",
356
+ "model.language_model.layers.52.linear_attn.in_proj_qkv",
357
+ "model.language_model.layers.52.linear_attn.in_proj_z",
358
+ "model.language_model.layers.52.linear_attn.in_proj_b",
359
+ "model.language_model.layers.52.linear_attn.in_proj_a",
360
+ "model.language_model.layers.53.linear_attn.out_proj",
361
+ "model.language_model.layers.53.linear_attn.in_proj_qkv",
362
+ "model.language_model.layers.53.linear_attn.in_proj_z",
363
+ "model.language_model.layers.53.linear_attn.in_proj_b",
364
+ "model.language_model.layers.53.linear_attn.in_proj_a",
365
+ "model.language_model.layers.54.linear_attn.out_proj",
366
+ "model.language_model.layers.54.linear_attn.in_proj_qkv",
367
+ "model.language_model.layers.54.linear_attn.in_proj_z",
368
+ "model.language_model.layers.54.linear_attn.in_proj_b",
369
+ "model.language_model.layers.54.linear_attn.in_proj_a",
370
+ "model.language_model.layers.56.linear_attn.out_proj",
371
+ "model.language_model.layers.56.linear_attn.in_proj_qkv",
372
+ "model.language_model.layers.56.linear_attn.in_proj_z",
373
+ "model.language_model.layers.56.linear_attn.in_proj_b",
374
+ "model.language_model.layers.56.linear_attn.in_proj_a",
375
+ "model.language_model.layers.57.linear_attn.out_proj",
376
+ "model.language_model.layers.57.linear_attn.in_proj_qkv",
377
+ "model.language_model.layers.57.linear_attn.in_proj_z",
378
+ "model.language_model.layers.57.linear_attn.in_proj_b",
379
+ "model.language_model.layers.57.linear_attn.in_proj_a",
380
+ "model.language_model.layers.58.linear_attn.out_proj",
381
+ "model.language_model.layers.58.linear_attn.in_proj_qkv",
382
+ "model.language_model.layers.58.linear_attn.in_proj_z",
383
+ "model.language_model.layers.58.linear_attn.in_proj_b",
384
+ "model.language_model.layers.58.linear_attn.in_proj_a",
385
+ "model.language_model.layers.60.linear_attn.out_proj",
386
+ "model.language_model.layers.60.linear_attn.in_proj_qkv",
387
+ "model.language_model.layers.60.linear_attn.in_proj_z",
388
+ "model.language_model.layers.60.linear_attn.in_proj_b",
389
+ "model.language_model.layers.60.linear_attn.in_proj_a",
390
+ "model.language_model.layers.61.linear_attn.out_proj",
391
+ "model.language_model.layers.61.linear_attn.in_proj_qkv",
392
+ "model.language_model.layers.61.linear_attn.in_proj_z",
393
+ "model.language_model.layers.61.linear_attn.in_proj_b",
394
+ "model.language_model.layers.61.linear_attn.in_proj_a",
395
+ "model.language_model.layers.62.linear_attn.out_proj",
396
+ "model.language_model.layers.62.linear_attn.in_proj_qkv",
397
+ "model.language_model.layers.62.linear_attn.in_proj_z",
398
+ "model.language_model.layers.62.linear_attn.in_proj_b",
399
+ "model.language_model.layers.62.linear_attn.in_proj_a",
400
+ "lm_head"
401
+ ],
402
+ "kv_cache_scheme": null,
403
+ "quant_method": "compressed-tensors",
404
+ "quantization_status": "compressed",
405
+ "sparsity_config": {},
406
+ "transform_config": {},
407
+ "version": "0.14.0.1"
408
+ },
409
+ "text_config": {
410
+ "attention_bias": false,
411
+ "attention_dropout": 0.0,
412
+ "attn_output_gate": true,
413
+ "bos_token_id": 248044,
414
+ "dtype": "bfloat16",
415
+ "eos_token_id": 248044,
416
+ "full_attention_interval": 4,
417
+ "head_dim": 256,
418
+ "hidden_act": "silu",
419
+ "hidden_size": 5120,
420
+ "initializer_range": 0.02,
421
+ "intermediate_size": 17408,
422
+ "layer_types": [
423
+ "linear_attention",
424
+ "linear_attention",
425
+ "linear_attention",
426
+ "full_attention",
427
+ "linear_attention",
428
+ "linear_attention",
429
+ "linear_attention",
430
+ "full_attention",
431
+ "linear_attention",
432
+ "linear_attention",
433
+ "linear_attention",
434
+ "full_attention",
435
+ "linear_attention",
436
+ "linear_attention",
437
+ "linear_attention",
438
+ "full_attention",
439
+ "linear_attention",
440
+ "linear_attention",
441
+ "linear_attention",
442
+ "full_attention",
443
+ "linear_attention",
444
+ "linear_attention",
445
+ "linear_attention",
446
+ "full_attention",
447
+ "linear_attention",
448
+ "linear_attention",
449
+ "linear_attention",
450
+ "full_attention",
451
+ "linear_attention",
452
+ "linear_attention",
453
+ "linear_attention",
454
+ "full_attention",
455
+ "linear_attention",
456
+ "linear_attention",
457
+ "linear_attention",
458
+ "full_attention",
459
+ "linear_attention",
460
+ "linear_attention",
461
+ "linear_attention",
462
+ "full_attention",
463
+ "linear_attention",
464
+ "linear_attention",
465
+ "linear_attention",
466
+ "full_attention",
467
+ "linear_attention",
468
+ "linear_attention",
469
+ "linear_attention",
470
+ "full_attention",
471
+ "linear_attention",
472
+ "linear_attention",
473
+ "linear_attention",
474
+ "full_attention",
475
+ "linear_attention",
476
+ "linear_attention",
477
+ "linear_attention",
478
+ "full_attention",
479
+ "linear_attention",
480
+ "linear_attention",
481
+ "linear_attention",
482
+ "full_attention",
483
+ "linear_attention",
484
+ "linear_attention",
485
+ "linear_attention",
486
+ "full_attention"
487
+ ],
488
+ "linear_conv_kernel_dim": 4,
489
+ "linear_key_head_dim": 128,
490
+ "linear_num_key_heads": 16,
491
+ "linear_num_value_heads": 48,
492
+ "linear_value_head_dim": 128,
493
+ "mamba_ssm_dtype": "float32",
494
+ "max_position_embeddings": 262144,
495
+ "model_type": "qwen3_5_text",
496
+ "mtp_num_hidden_layers": 1,
497
+ "mtp_use_dedicated_embeddings": false,
498
+ "num_attention_heads": 24,
499
+ "num_hidden_layers": 64,
500
+ "num_key_value_heads": 4,
501
+ "output_gate_type": "swish",
502
+ "pad_token_id": null,
503
+ "partial_rotary_factor": 0.25,
504
+ "rms_norm_eps": 1e-06,
505
+ "rope_parameters": {
506
+ "mrope_interleaved": true,
507
+ "mrope_section": [
508
+ 11,
509
+ 11,
510
+ 10
511
+ ],
512
+ "partial_rotary_factor": 0.25,
513
+ "rope_theta": 10000000,
514
+ "rope_type": "default"
515
+ },
516
+ "tie_word_embeddings": false,
517
+ "use_cache": true,
518
+ "vocab_size": 248320
519
+ },
520
+ "tie_word_embeddings": false,
521
+ "transformers_version": "5.6.0",
522
+ "video_token_id": 248057,
523
+ "vision_config": {
524
+ "deepstack_visual_indexes": [],
525
+ "depth": 27,
526
+ "dtype": "bfloat16",
527
+ "hidden_act": "gelu_pytorch_tanh",
528
+ "hidden_size": 1152,
529
+ "in_channels": 3,
530
+ "initializer_range": 0.02,
531
+ "intermediate_size": 4304,
532
+ "model_type": "qwen3_5_vision",
533
+ "num_heads": 16,
534
+ "num_position_embeddings": 2304,
535
+ "out_hidden_size": 5120,
536
+ "patch_size": 16,
537
+ "spatial_merge_size": 2,
538
+ "temporal_patch_size": 2
539
+ },
540
+ "vision_end_token_id": 248054,
541
+ "vision_start_token_id": 248053
542
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 248044,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 248046,
6
+ 248044
7
+ ],
8
+ "pad_token_id": 248044,
9
+ "temperature": 1.0,
10
+ "top_k": 20,
11
+ "top_p": 0.95,
12
+ "transformers_version": "5.6.0"
13
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49173826a0d6d5962c719662a110259cb2a7e50d23a18c8f9574395693c1be3f
3
+ size 27702391880
processor_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "merge_size": 2,
19
+ "patch_size": 16,
20
+ "resample": 3,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 16777216,
24
+ "shortest_edge": 65536
25
+ },
26
+ "temporal_patch_size": 2
27
+ },
28
+ "processor_class": "Qwen3VLProcessor",
29
+ "video_processor": {
30
+ "do_convert_rgb": true,
31
+ "do_normalize": true,
32
+ "do_rescale": true,
33
+ "do_resize": true,
34
+ "do_sample_frames": true,
35
+ "fps": 2,
36
+ "image_mean": [
37
+ 0.5,
38
+ 0.5,
39
+ 0.5
40
+ ],
41
+ "image_std": [
42
+ 0.5,
43
+ 0.5,
44
+ 0.5
45
+ ],
46
+ "max_frames": 768,
47
+ "merge_size": 2,
48
+ "min_frames": 4,
49
+ "patch_size": 16,
50
+ "resample": 3,
51
+ "rescale_factor": 0.00392156862745098,
52
+ "return_metadata": false,
53
+ "size": {
54
+ "longest_edge": 25165824,
55
+ "shortest_edge": 4096
56
+ },
57
+ "temporal_patch_size": 2,
58
+ "video_processor_type": "Qwen3VLVideoProcessor"
59
+ }
60
+ }
recipe.yaml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ default_stage:
2
+ default_modifiers:
3
+ QuantizationModifier:
4
+ targets: [Linear]
5
+ ignore: ['re:.*lm_head', 're:.*embed_tokens$', 're:.*visual.*', 're:.*linear_attn.*',
6
+ 're:.*self_attn\.q_norm$', 're:.*self_attn\.k_norm$', 're:.*input_layernorm$', 're:.*post_attention_layernorm$']
7
+ scheme: NVFP4
8
+ bypass_divisibility_checks: false
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e56427d66f44411c2dec1288b236f6d2c3eeafd611d1d0e2e92ad9301616e1e7
3
+ size 19989424
tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": true,
13
+ "local_files_only": false,
14
+ "model_max_length": 262144,
15
+ "model_specific_special_tokens": {
16
+ "audio_bos_token": "<|audio_start|>",
17
+ "audio_eos_token": "<|audio_end|>",
18
+ "audio_token": "<|audio_pad|>",
19
+ "image_token": "<|image_pad|>",
20
+ "video_token": "<|video_pad|>",
21
+ "vision_bos_token": "<|vision_start|>",
22
+ "vision_eos_token": "<|vision_end|>"
23
+ },
24
+ "pad_token": "<|endoftext|>",
25
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
26
+ "processor_class": "Qwen3VLProcessor",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null,
30
+ "video_token": "<|video_pad|>",
31
+ "vision_bos_token": "<|vision_start|>",
32
+ "vision_eos_token": "<|vision_end|>"
33
+ }