vroomfondel commited on
Commit
167f543
·
verified ·
1 Parent(s): c9f4099

Upload NVFP4 (ModelOpt) quantization

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ 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
37
+ model.safetensors.index.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 Alibaba Cloud
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3.6-35B-A3B
3
+ base_model_relation: quantized
4
+ tags:
5
+ - nvfp4
6
+ - modelopt
7
+ ---
8
+
9
+ # Qwen3.6-35B-A3B-NVFP4-MTP-ModelOpt
10
+
11
+ NVFP4 (nvfp4) quantization of `Qwen/Qwen3.6-35B-A3B` produced with NVIDIA TensorRT Model Optimizer
12
+ via a multi-node ModelOpt quantizer. KV cache FP8. This is a quantized derivative and inherits the
13
+ base model's license; see the base model card for usage.
14
+
15
+ <!-- BEGIN quant:preview -->
16
+
17
+ ## Quantization details (auto-generated)
18
+
19
+ - **source model:** [Qwen/Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B)
20
+ - **qformat:** `nvfp4` **kv_cache:** `fp8`
21
+ - **calibration:** `?` samples from `?`
22
+ - **producer:** NVIDIA ModelOpt `?`
23
+ - **generated:** ?
24
+
25
+ _Before/after sample generation was skipped for this run (`SKIP_GENERATE=1`)._
26
+
27
+ <!-- END quant:preview -->
28
+
29
+ <!-- BEGIN quant:remarks -->
30
+
31
+ ## Notes
32
+
33
+ ### Quantized MTP/NEXTN draft head (research probe)
34
+
35
+ Unlike a BF16-draft-head build, this checkpoint NVFP4-quantizes the MTP/NEXTN draft head (a full-attention + shared-expert-MoE block) and bakes FP8 KV scales onto its attention, so the SGLang p51 KV-scale loader exercises the MTP head. Because transformers drops the MTP layer at load and the multinode FSDP2 export carries no mtp.* at all, the head is produced by a post-export surgical pass (quantizer/requant_mtp_nvfp4.py) that sources the raw BF16 mtp.* from the original checkpoint and NVFP4-packs them, mirroring each module's main-model analogue. Treat as a research probe until a smoke-serve + GSM8K + acceptance-rate check clears it.
36
+
37
+ ### MTP scales are heuristic, not calibrated
38
+
39
+ The NVFP4 weights of the draft head are data-free and bit-identical to a calibrated run, but its W4A4 input_scale is a generous-amax heuristic and its FP8 KV k_scale/v_scale are borrowed from the last main-model full-attention layer. Correctness is unaffected (spec-decoding verifies every draft token); a poor draft only lowers acceptance/throughput -- compare the acceptance rate against a BF16-MTP build before relying on the speedup.
40
+
41
+ ### Multimodal, vision tower kept BF16
42
+
43
+ Qwen3.6-35B-A3B carries a 27-layer vision tower. Calibration is text-only, so the vision stack is excluded from quantization and stays BF16 (avoiding the amax=0 degenerate-quant failure mode); this is why the model must be quantized via the multinode driver, whose quant policy applies the vision excludes.
44
+
45
+ ### Hybrid-arch serving knobs
46
+
47
+ Serving needs the mamba scheduler knobs to avoid a spec-v2-vs-radix-cache boot crash: mamba_scheduler_strategy extra_buffer plus SGLANG_ENABLE_SPEC_V2=1, along with the flashinfer attention backend and flashinfer_cutlass MoE/FP4-GEMM backends. NEXTN speculative decoding at num_steps=2 was the validated throughput sweet spot; higher step counts (3/4/5) decayed.
48
+
49
+ <!-- END quant:remarks -->
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,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5MoeForConditionalGeneration"
4
+ ],
5
+ "image_token_id": 248056,
6
+ "model_type": "qwen3_5_moe",
7
+ "text_config": {
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "attn_output_gate": true,
11
+ "bos_token_id": 248044,
12
+ "eos_token_id": 248044,
13
+ "full_attention_interval": 4,
14
+ "head_dim": 256,
15
+ "hidden_act": "silu",
16
+ "hidden_size": 2048,
17
+ "initializer_range": 0.02,
18
+ "layer_types": [
19
+ "linear_attention",
20
+ "linear_attention",
21
+ "linear_attention",
22
+ "full_attention",
23
+ "linear_attention",
24
+ "linear_attention",
25
+ "linear_attention",
26
+ "full_attention",
27
+ "linear_attention",
28
+ "linear_attention",
29
+ "linear_attention",
30
+ "full_attention",
31
+ "linear_attention",
32
+ "linear_attention",
33
+ "linear_attention",
34
+ "full_attention",
35
+ "linear_attention",
36
+ "linear_attention",
37
+ "linear_attention",
38
+ "full_attention",
39
+ "linear_attention",
40
+ "linear_attention",
41
+ "linear_attention",
42
+ "full_attention",
43
+ "linear_attention",
44
+ "linear_attention",
45
+ "linear_attention",
46
+ "full_attention",
47
+ "linear_attention",
48
+ "linear_attention",
49
+ "linear_attention",
50
+ "full_attention",
51
+ "linear_attention",
52
+ "linear_attention",
53
+ "linear_attention",
54
+ "full_attention",
55
+ "linear_attention",
56
+ "linear_attention",
57
+ "linear_attention",
58
+ "full_attention"
59
+ ],
60
+ "linear_conv_kernel_dim": 4,
61
+ "linear_key_head_dim": 128,
62
+ "linear_num_key_heads": 16,
63
+ "linear_num_value_heads": 32,
64
+ "linear_value_head_dim": 128,
65
+ "mamba_ssm_dtype": "float32",
66
+ "max_position_embeddings": 262144,
67
+ "model_type": "qwen3_5_moe_text",
68
+ "moe_intermediate_size": 512,
69
+ "mtp_num_hidden_layers": 1,
70
+ "mtp_use_dedicated_embeddings": false,
71
+ "num_attention_heads": 16,
72
+ "num_experts": 256,
73
+ "num_experts_per_tok": 8,
74
+ "num_hidden_layers": 40,
75
+ "num_key_value_heads": 2,
76
+ "output_router_logits": false,
77
+ "pad_token_id": null,
78
+ "partial_rotary_factor": 0.25,
79
+ "rms_norm_eps": 1e-06,
80
+ "rope_parameters": {
81
+ "mrope_interleaved": true,
82
+ "mrope_section": [
83
+ 11,
84
+ 11,
85
+ 10
86
+ ],
87
+ "partial_rotary_factor": 0.25,
88
+ "rope_theta": 10000000,
89
+ "rope_type": "default"
90
+ },
91
+ "router_aux_loss_coef": 0.001,
92
+ "shared_expert_intermediate_size": 512,
93
+ "tie_word_embeddings": false,
94
+ "use_cache": true,
95
+ "vocab_size": 248320,
96
+ "torch_dtype": "bfloat16"
97
+ },
98
+ "tie_word_embeddings": false,
99
+ "transformers_version": "5.12.1",
100
+ "video_token_id": 248057,
101
+ "vision_config": {
102
+ "deepstack_visual_indexes": [],
103
+ "depth": 27,
104
+ "hidden_act": "gelu_pytorch_tanh",
105
+ "hidden_size": 1152,
106
+ "in_channels": 3,
107
+ "initializer_range": 0.02,
108
+ "intermediate_size": 4304,
109
+ "model_type": "qwen3_5_moe_vision",
110
+ "num_heads": 16,
111
+ "num_position_embeddings": 2304,
112
+ "out_hidden_size": 2048,
113
+ "patch_size": 16,
114
+ "spatial_merge_size": 2,
115
+ "temporal_patch_size": 2
116
+ },
117
+ "vision_end_token_id": 248054,
118
+ "vision_start_token_id": 248053,
119
+ "quantization_config": {
120
+ "config_groups": {
121
+ "group_0": {
122
+ "input_activations": {
123
+ "dynamic": false,
124
+ "num_bits": 4,
125
+ "type": "float",
126
+ "group_size": 16
127
+ },
128
+ "weights": {
129
+ "dynamic": false,
130
+ "num_bits": 4,
131
+ "type": "float",
132
+ "group_size": 16
133
+ },
134
+ "targets": [
135
+ "Linear"
136
+ ]
137
+ }
138
+ },
139
+ "ignore": [
140
+ "lm_head",
141
+ "model.language_model.embed_tokens",
142
+ "model.language_model.layers.0.linear_attn.conv1d",
143
+ "model.language_model.layers.0.linear_attn.in_proj_a",
144
+ "model.language_model.layers.0.linear_attn.in_proj_b",
145
+ "model.language_model.layers.0.mlp.gate",
146
+ "model.language_model.layers.0.mlp.shared_expert_gate",
147
+ "model.language_model.layers.1.linear_attn.conv1d",
148
+ "model.language_model.layers.1.linear_attn.in_proj_a",
149
+ "model.language_model.layers.1.linear_attn.in_proj_b",
150
+ "model.language_model.layers.1.mlp.gate",
151
+ "model.language_model.layers.1.mlp.shared_expert_gate",
152
+ "model.language_model.layers.10.linear_attn.conv1d",
153
+ "model.language_model.layers.10.linear_attn.in_proj_a",
154
+ "model.language_model.layers.10.linear_attn.in_proj_b",
155
+ "model.language_model.layers.10.mlp.gate",
156
+ "model.language_model.layers.10.mlp.shared_expert_gate",
157
+ "model.language_model.layers.11.mlp.gate",
158
+ "model.language_model.layers.11.mlp.shared_expert_gate",
159
+ "model.language_model.layers.12.linear_attn.conv1d",
160
+ "model.language_model.layers.12.linear_attn.in_proj_a",
161
+ "model.language_model.layers.12.linear_attn.in_proj_b",
162
+ "model.language_model.layers.12.mlp.gate",
163
+ "model.language_model.layers.12.mlp.shared_expert_gate",
164
+ "model.language_model.layers.13.linear_attn.conv1d",
165
+ "model.language_model.layers.13.linear_attn.in_proj_a",
166
+ "model.language_model.layers.13.linear_attn.in_proj_b",
167
+ "model.language_model.layers.13.mlp.gate",
168
+ "model.language_model.layers.13.mlp.shared_expert_gate",
169
+ "model.language_model.layers.14.linear_attn.conv1d",
170
+ "model.language_model.layers.14.linear_attn.in_proj_a",
171
+ "model.language_model.layers.14.linear_attn.in_proj_b",
172
+ "model.language_model.layers.14.mlp.gate",
173
+ "model.language_model.layers.14.mlp.shared_expert_gate",
174
+ "model.language_model.layers.15.mlp.gate",
175
+ "model.language_model.layers.15.mlp.shared_expert_gate",
176
+ "model.language_model.layers.16.linear_attn.conv1d",
177
+ "model.language_model.layers.16.linear_attn.in_proj_a",
178
+ "model.language_model.layers.16.linear_attn.in_proj_b",
179
+ "model.language_model.layers.16.mlp.gate",
180
+ "model.language_model.layers.16.mlp.shared_expert_gate",
181
+ "model.language_model.layers.17.linear_attn.conv1d",
182
+ "model.language_model.layers.17.linear_attn.in_proj_a",
183
+ "model.language_model.layers.17.linear_attn.in_proj_b",
184
+ "model.language_model.layers.17.mlp.gate",
185
+ "model.language_model.layers.17.mlp.shared_expert_gate",
186
+ "model.language_model.layers.18.linear_attn.conv1d",
187
+ "model.language_model.layers.18.linear_attn.in_proj_a",
188
+ "model.language_model.layers.18.linear_attn.in_proj_b",
189
+ "model.language_model.layers.18.mlp.gate",
190
+ "model.language_model.layers.18.mlp.shared_expert_gate",
191
+ "model.language_model.layers.19.mlp.gate",
192
+ "model.language_model.layers.19.mlp.shared_expert_gate",
193
+ "model.language_model.layers.2.linear_attn.conv1d",
194
+ "model.language_model.layers.2.linear_attn.in_proj_a",
195
+ "model.language_model.layers.2.linear_attn.in_proj_b",
196
+ "model.language_model.layers.2.mlp.gate",
197
+ "model.language_model.layers.2.mlp.shared_expert_gate",
198
+ "model.language_model.layers.20.linear_attn.conv1d",
199
+ "model.language_model.layers.20.linear_attn.in_proj_a",
200
+ "model.language_model.layers.20.linear_attn.in_proj_b",
201
+ "model.language_model.layers.20.mlp.gate",
202
+ "model.language_model.layers.20.mlp.shared_expert_gate",
203
+ "model.language_model.layers.21.linear_attn.conv1d",
204
+ "model.language_model.layers.21.linear_attn.in_proj_a",
205
+ "model.language_model.layers.21.linear_attn.in_proj_b",
206
+ "model.language_model.layers.21.mlp.gate",
207
+ "model.language_model.layers.21.mlp.shared_expert_gate",
208
+ "model.language_model.layers.22.linear_attn.conv1d",
209
+ "model.language_model.layers.22.linear_attn.in_proj_a",
210
+ "model.language_model.layers.22.linear_attn.in_proj_b",
211
+ "model.language_model.layers.22.mlp.gate",
212
+ "model.language_model.layers.22.mlp.shared_expert_gate",
213
+ "model.language_model.layers.23.mlp.gate",
214
+ "model.language_model.layers.23.mlp.shared_expert_gate",
215
+ "model.language_model.layers.24.linear_attn.conv1d",
216
+ "model.language_model.layers.24.linear_attn.in_proj_a",
217
+ "model.language_model.layers.24.linear_attn.in_proj_b",
218
+ "model.language_model.layers.24.mlp.gate",
219
+ "model.language_model.layers.24.mlp.shared_expert_gate",
220
+ "model.language_model.layers.25.linear_attn.conv1d",
221
+ "model.language_model.layers.25.linear_attn.in_proj_a",
222
+ "model.language_model.layers.25.linear_attn.in_proj_b",
223
+ "model.language_model.layers.25.mlp.gate",
224
+ "model.language_model.layers.25.mlp.shared_expert_gate",
225
+ "model.language_model.layers.26.linear_attn.conv1d",
226
+ "model.language_model.layers.26.linear_attn.in_proj_a",
227
+ "model.language_model.layers.26.linear_attn.in_proj_b",
228
+ "model.language_model.layers.26.mlp.gate",
229
+ "model.language_model.layers.26.mlp.shared_expert_gate",
230
+ "model.language_model.layers.27.mlp.gate",
231
+ "model.language_model.layers.27.mlp.shared_expert_gate",
232
+ "model.language_model.layers.28.linear_attn.conv1d",
233
+ "model.language_model.layers.28.linear_attn.in_proj_a",
234
+ "model.language_model.layers.28.linear_attn.in_proj_b",
235
+ "model.language_model.layers.28.mlp.gate",
236
+ "model.language_model.layers.28.mlp.shared_expert_gate",
237
+ "model.language_model.layers.29.linear_attn.conv1d",
238
+ "model.language_model.layers.29.linear_attn.in_proj_a",
239
+ "model.language_model.layers.29.linear_attn.in_proj_b",
240
+ "model.language_model.layers.29.mlp.gate",
241
+ "model.language_model.layers.29.mlp.shared_expert_gate",
242
+ "model.language_model.layers.3.mlp.gate",
243
+ "model.language_model.layers.3.mlp.shared_expert_gate",
244
+ "model.language_model.layers.30.linear_attn.conv1d",
245
+ "model.language_model.layers.30.linear_attn.in_proj_a",
246
+ "model.language_model.layers.30.linear_attn.in_proj_b",
247
+ "model.language_model.layers.30.mlp.gate",
248
+ "model.language_model.layers.30.mlp.shared_expert_gate",
249
+ "model.language_model.layers.31.mlp.gate",
250
+ "model.language_model.layers.31.mlp.shared_expert_gate",
251
+ "model.language_model.layers.32.linear_attn.conv1d",
252
+ "model.language_model.layers.32.linear_attn.in_proj_a",
253
+ "model.language_model.layers.32.linear_attn.in_proj_b",
254
+ "model.language_model.layers.32.mlp.gate",
255
+ "model.language_model.layers.32.mlp.shared_expert_gate",
256
+ "model.language_model.layers.33.linear_attn.conv1d",
257
+ "model.language_model.layers.33.linear_attn.in_proj_a",
258
+ "model.language_model.layers.33.linear_attn.in_proj_b",
259
+ "model.language_model.layers.33.mlp.gate",
260
+ "model.language_model.layers.33.mlp.shared_expert_gate",
261
+ "model.language_model.layers.34.linear_attn.conv1d",
262
+ "model.language_model.layers.34.linear_attn.in_proj_a",
263
+ "model.language_model.layers.34.linear_attn.in_proj_b",
264
+ "model.language_model.layers.34.mlp.gate",
265
+ "model.language_model.layers.34.mlp.shared_expert_gate",
266
+ "model.language_model.layers.35.mlp.gate",
267
+ "model.language_model.layers.35.mlp.shared_expert_gate",
268
+ "model.language_model.layers.36.linear_attn.conv1d",
269
+ "model.language_model.layers.36.linear_attn.in_proj_a",
270
+ "model.language_model.layers.36.linear_attn.in_proj_b",
271
+ "model.language_model.layers.36.mlp.gate",
272
+ "model.language_model.layers.36.mlp.shared_expert_gate",
273
+ "model.language_model.layers.37.linear_attn.conv1d",
274
+ "model.language_model.layers.37.linear_attn.in_proj_a",
275
+ "model.language_model.layers.37.linear_attn.in_proj_b",
276
+ "model.language_model.layers.37.mlp.gate",
277
+ "model.language_model.layers.37.mlp.shared_expert_gate",
278
+ "model.language_model.layers.38.linear_attn.conv1d",
279
+ "model.language_model.layers.38.linear_attn.in_proj_a",
280
+ "model.language_model.layers.38.linear_attn.in_proj_b",
281
+ "model.language_model.layers.38.mlp.gate",
282
+ "model.language_model.layers.38.mlp.shared_expert_gate",
283
+ "model.language_model.layers.39.mlp.gate",
284
+ "model.language_model.layers.39.mlp.shared_expert_gate",
285
+ "model.language_model.layers.4.linear_attn.conv1d",
286
+ "model.language_model.layers.4.linear_attn.in_proj_a",
287
+ "model.language_model.layers.4.linear_attn.in_proj_b",
288
+ "model.language_model.layers.4.mlp.gate",
289
+ "model.language_model.layers.4.mlp.shared_expert_gate",
290
+ "model.language_model.layers.5.linear_attn.conv1d",
291
+ "model.language_model.layers.5.linear_attn.in_proj_a",
292
+ "model.language_model.layers.5.linear_attn.in_proj_b",
293
+ "model.language_model.layers.5.mlp.gate",
294
+ "model.language_model.layers.5.mlp.shared_expert_gate",
295
+ "model.language_model.layers.6.linear_attn.conv1d",
296
+ "model.language_model.layers.6.linear_attn.in_proj_a",
297
+ "model.language_model.layers.6.linear_attn.in_proj_b",
298
+ "model.language_model.layers.6.mlp.gate",
299
+ "model.language_model.layers.6.mlp.shared_expert_gate",
300
+ "model.language_model.layers.7.mlp.gate",
301
+ "model.language_model.layers.7.mlp.shared_expert_gate",
302
+ "model.language_model.layers.8.linear_attn.conv1d",
303
+ "model.language_model.layers.8.linear_attn.in_proj_a",
304
+ "model.language_model.layers.8.linear_attn.in_proj_b",
305
+ "model.language_model.layers.8.mlp.gate",
306
+ "model.language_model.layers.8.mlp.shared_expert_gate",
307
+ "model.language_model.layers.9.linear_attn.conv1d",
308
+ "model.language_model.layers.9.linear_attn.in_proj_a",
309
+ "model.language_model.layers.9.linear_attn.in_proj_b",
310
+ "model.language_model.layers.9.mlp.gate",
311
+ "model.language_model.layers.9.mlp.shared_expert_gate",
312
+ "model.visual*",
313
+ "mtp.fc",
314
+ "mtp.layers.0.mlp.gate",
315
+ "mtp.layers.0.mlp.shared_expert_gate"
316
+ ],
317
+ "quant_algo": "NVFP4",
318
+ "kv_cache_scheme": {
319
+ "dynamic": false,
320
+ "num_bits": 8,
321
+ "type": "float"
322
+ },
323
+ "producer": {
324
+ "name": "modelopt",
325
+ "version": "0.45.0"
326
+ },
327
+ "quant_method": "modelopt"
328
+ },
329
+ "torch_dtype": "bfloat16"
330
+ }
configuration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"framework":"Pytorch","task":"visual-question-answering"}
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 248044,
4
+ "eos_token_id": 248044,
5
+ "output_attentions": false,
6
+ "output_hidden_states": false,
7
+ "transformers_version": "5.12.1",
8
+ "use_cache": true
9
+ }
hf_quant_config.json ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "producer": {
3
+ "name": "modelopt",
4
+ "version": "0.45.0"
5
+ },
6
+ "quantization": {
7
+ "quant_algo": "NVFP4",
8
+ "kv_cache_quant_algo": "FP8",
9
+ "group_size": 16,
10
+ "exclude_modules": [
11
+ "lm_head",
12
+ "model.language_model.embed_tokens",
13
+ "model.language_model.layers.0.linear_attn.conv1d",
14
+ "model.language_model.layers.0.linear_attn.in_proj_a",
15
+ "model.language_model.layers.0.linear_attn.in_proj_b",
16
+ "model.language_model.layers.0.mlp.gate",
17
+ "model.language_model.layers.0.mlp.shared_expert_gate",
18
+ "model.language_model.layers.1.linear_attn.conv1d",
19
+ "model.language_model.layers.1.linear_attn.in_proj_a",
20
+ "model.language_model.layers.1.linear_attn.in_proj_b",
21
+ "model.language_model.layers.1.mlp.gate",
22
+ "model.language_model.layers.1.mlp.shared_expert_gate",
23
+ "model.language_model.layers.10.linear_attn.conv1d",
24
+ "model.language_model.layers.10.linear_attn.in_proj_a",
25
+ "model.language_model.layers.10.linear_attn.in_proj_b",
26
+ "model.language_model.layers.10.mlp.gate",
27
+ "model.language_model.layers.10.mlp.shared_expert_gate",
28
+ "model.language_model.layers.11.mlp.gate",
29
+ "model.language_model.layers.11.mlp.shared_expert_gate",
30
+ "model.language_model.layers.12.linear_attn.conv1d",
31
+ "model.language_model.layers.12.linear_attn.in_proj_a",
32
+ "model.language_model.layers.12.linear_attn.in_proj_b",
33
+ "model.language_model.layers.12.mlp.gate",
34
+ "model.language_model.layers.12.mlp.shared_expert_gate",
35
+ "model.language_model.layers.13.linear_attn.conv1d",
36
+ "model.language_model.layers.13.linear_attn.in_proj_a",
37
+ "model.language_model.layers.13.linear_attn.in_proj_b",
38
+ "model.language_model.layers.13.mlp.gate",
39
+ "model.language_model.layers.13.mlp.shared_expert_gate",
40
+ "model.language_model.layers.14.linear_attn.conv1d",
41
+ "model.language_model.layers.14.linear_attn.in_proj_a",
42
+ "model.language_model.layers.14.linear_attn.in_proj_b",
43
+ "model.language_model.layers.14.mlp.gate",
44
+ "model.language_model.layers.14.mlp.shared_expert_gate",
45
+ "model.language_model.layers.15.mlp.gate",
46
+ "model.language_model.layers.15.mlp.shared_expert_gate",
47
+ "model.language_model.layers.16.linear_attn.conv1d",
48
+ "model.language_model.layers.16.linear_attn.in_proj_a",
49
+ "model.language_model.layers.16.linear_attn.in_proj_b",
50
+ "model.language_model.layers.16.mlp.gate",
51
+ "model.language_model.layers.16.mlp.shared_expert_gate",
52
+ "model.language_model.layers.17.linear_attn.conv1d",
53
+ "model.language_model.layers.17.linear_attn.in_proj_a",
54
+ "model.language_model.layers.17.linear_attn.in_proj_b",
55
+ "model.language_model.layers.17.mlp.gate",
56
+ "model.language_model.layers.17.mlp.shared_expert_gate",
57
+ "model.language_model.layers.18.linear_attn.conv1d",
58
+ "model.language_model.layers.18.linear_attn.in_proj_a",
59
+ "model.language_model.layers.18.linear_attn.in_proj_b",
60
+ "model.language_model.layers.18.mlp.gate",
61
+ "model.language_model.layers.18.mlp.shared_expert_gate",
62
+ "model.language_model.layers.19.mlp.gate",
63
+ "model.language_model.layers.19.mlp.shared_expert_gate",
64
+ "model.language_model.layers.2.linear_attn.conv1d",
65
+ "model.language_model.layers.2.linear_attn.in_proj_a",
66
+ "model.language_model.layers.2.linear_attn.in_proj_b",
67
+ "model.language_model.layers.2.mlp.gate",
68
+ "model.language_model.layers.2.mlp.shared_expert_gate",
69
+ "model.language_model.layers.20.linear_attn.conv1d",
70
+ "model.language_model.layers.20.linear_attn.in_proj_a",
71
+ "model.language_model.layers.20.linear_attn.in_proj_b",
72
+ "model.language_model.layers.20.mlp.gate",
73
+ "model.language_model.layers.20.mlp.shared_expert_gate",
74
+ "model.language_model.layers.21.linear_attn.conv1d",
75
+ "model.language_model.layers.21.linear_attn.in_proj_a",
76
+ "model.language_model.layers.21.linear_attn.in_proj_b",
77
+ "model.language_model.layers.21.mlp.gate",
78
+ "model.language_model.layers.21.mlp.shared_expert_gate",
79
+ "model.language_model.layers.22.linear_attn.conv1d",
80
+ "model.language_model.layers.22.linear_attn.in_proj_a",
81
+ "model.language_model.layers.22.linear_attn.in_proj_b",
82
+ "model.language_model.layers.22.mlp.gate",
83
+ "model.language_model.layers.22.mlp.shared_expert_gate",
84
+ "model.language_model.layers.23.mlp.gate",
85
+ "model.language_model.layers.23.mlp.shared_expert_gate",
86
+ "model.language_model.layers.24.linear_attn.conv1d",
87
+ "model.language_model.layers.24.linear_attn.in_proj_a",
88
+ "model.language_model.layers.24.linear_attn.in_proj_b",
89
+ "model.language_model.layers.24.mlp.gate",
90
+ "model.language_model.layers.24.mlp.shared_expert_gate",
91
+ "model.language_model.layers.25.linear_attn.conv1d",
92
+ "model.language_model.layers.25.linear_attn.in_proj_a",
93
+ "model.language_model.layers.25.linear_attn.in_proj_b",
94
+ "model.language_model.layers.25.mlp.gate",
95
+ "model.language_model.layers.25.mlp.shared_expert_gate",
96
+ "model.language_model.layers.26.linear_attn.conv1d",
97
+ "model.language_model.layers.26.linear_attn.in_proj_a",
98
+ "model.language_model.layers.26.linear_attn.in_proj_b",
99
+ "model.language_model.layers.26.mlp.gate",
100
+ "model.language_model.layers.26.mlp.shared_expert_gate",
101
+ "model.language_model.layers.27.mlp.gate",
102
+ "model.language_model.layers.27.mlp.shared_expert_gate",
103
+ "model.language_model.layers.28.linear_attn.conv1d",
104
+ "model.language_model.layers.28.linear_attn.in_proj_a",
105
+ "model.language_model.layers.28.linear_attn.in_proj_b",
106
+ "model.language_model.layers.28.mlp.gate",
107
+ "model.language_model.layers.28.mlp.shared_expert_gate",
108
+ "model.language_model.layers.29.linear_attn.conv1d",
109
+ "model.language_model.layers.29.linear_attn.in_proj_a",
110
+ "model.language_model.layers.29.linear_attn.in_proj_b",
111
+ "model.language_model.layers.29.mlp.gate",
112
+ "model.language_model.layers.29.mlp.shared_expert_gate",
113
+ "model.language_model.layers.3.mlp.gate",
114
+ "model.language_model.layers.3.mlp.shared_expert_gate",
115
+ "model.language_model.layers.30.linear_attn.conv1d",
116
+ "model.language_model.layers.30.linear_attn.in_proj_a",
117
+ "model.language_model.layers.30.linear_attn.in_proj_b",
118
+ "model.language_model.layers.30.mlp.gate",
119
+ "model.language_model.layers.30.mlp.shared_expert_gate",
120
+ "model.language_model.layers.31.mlp.gate",
121
+ "model.language_model.layers.31.mlp.shared_expert_gate",
122
+ "model.language_model.layers.32.linear_attn.conv1d",
123
+ "model.language_model.layers.32.linear_attn.in_proj_a",
124
+ "model.language_model.layers.32.linear_attn.in_proj_b",
125
+ "model.language_model.layers.32.mlp.gate",
126
+ "model.language_model.layers.32.mlp.shared_expert_gate",
127
+ "model.language_model.layers.33.linear_attn.conv1d",
128
+ "model.language_model.layers.33.linear_attn.in_proj_a",
129
+ "model.language_model.layers.33.linear_attn.in_proj_b",
130
+ "model.language_model.layers.33.mlp.gate",
131
+ "model.language_model.layers.33.mlp.shared_expert_gate",
132
+ "model.language_model.layers.34.linear_attn.conv1d",
133
+ "model.language_model.layers.34.linear_attn.in_proj_a",
134
+ "model.language_model.layers.34.linear_attn.in_proj_b",
135
+ "model.language_model.layers.34.mlp.gate",
136
+ "model.language_model.layers.34.mlp.shared_expert_gate",
137
+ "model.language_model.layers.35.mlp.gate",
138
+ "model.language_model.layers.35.mlp.shared_expert_gate",
139
+ "model.language_model.layers.36.linear_attn.conv1d",
140
+ "model.language_model.layers.36.linear_attn.in_proj_a",
141
+ "model.language_model.layers.36.linear_attn.in_proj_b",
142
+ "model.language_model.layers.36.mlp.gate",
143
+ "model.language_model.layers.36.mlp.shared_expert_gate",
144
+ "model.language_model.layers.37.linear_attn.conv1d",
145
+ "model.language_model.layers.37.linear_attn.in_proj_a",
146
+ "model.language_model.layers.37.linear_attn.in_proj_b",
147
+ "model.language_model.layers.37.mlp.gate",
148
+ "model.language_model.layers.37.mlp.shared_expert_gate",
149
+ "model.language_model.layers.38.linear_attn.conv1d",
150
+ "model.language_model.layers.38.linear_attn.in_proj_a",
151
+ "model.language_model.layers.38.linear_attn.in_proj_b",
152
+ "model.language_model.layers.38.mlp.gate",
153
+ "model.language_model.layers.38.mlp.shared_expert_gate",
154
+ "model.language_model.layers.39.mlp.gate",
155
+ "model.language_model.layers.39.mlp.shared_expert_gate",
156
+ "model.language_model.layers.4.linear_attn.conv1d",
157
+ "model.language_model.layers.4.linear_attn.in_proj_a",
158
+ "model.language_model.layers.4.linear_attn.in_proj_b",
159
+ "model.language_model.layers.4.mlp.gate",
160
+ "model.language_model.layers.4.mlp.shared_expert_gate",
161
+ "model.language_model.layers.5.linear_attn.conv1d",
162
+ "model.language_model.layers.5.linear_attn.in_proj_a",
163
+ "model.language_model.layers.5.linear_attn.in_proj_b",
164
+ "model.language_model.layers.5.mlp.gate",
165
+ "model.language_model.layers.5.mlp.shared_expert_gate",
166
+ "model.language_model.layers.6.linear_attn.conv1d",
167
+ "model.language_model.layers.6.linear_attn.in_proj_a",
168
+ "model.language_model.layers.6.linear_attn.in_proj_b",
169
+ "model.language_model.layers.6.mlp.gate",
170
+ "model.language_model.layers.6.mlp.shared_expert_gate",
171
+ "model.language_model.layers.7.mlp.gate",
172
+ "model.language_model.layers.7.mlp.shared_expert_gate",
173
+ "model.language_model.layers.8.linear_attn.conv1d",
174
+ "model.language_model.layers.8.linear_attn.in_proj_a",
175
+ "model.language_model.layers.8.linear_attn.in_proj_b",
176
+ "model.language_model.layers.8.mlp.gate",
177
+ "model.language_model.layers.8.mlp.shared_expert_gate",
178
+ "model.language_model.layers.9.linear_attn.conv1d",
179
+ "model.language_model.layers.9.linear_attn.in_proj_a",
180
+ "model.language_model.layers.9.linear_attn.in_proj_b",
181
+ "model.language_model.layers.9.mlp.gate",
182
+ "model.language_model.layers.9.mlp.shared_expert_gate",
183
+ "model.visual*",
184
+ "mtp.fc",
185
+ "mtp.layers.0.mlp.gate",
186
+ "mtp.layers.0.mlp.shared_expert_gate"
187
+ ]
188
+ }
189
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bd878025750dfe1582dcca1192e7fd23099e42b8f3225b9433478f0700c5ce3
3
+ size 10741863548
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24d3fe60eb686cc60e1f8a6e9a7206075b10563e8650423e942fd6de3b2416d7
3
+ size 10746907720
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f175bf8ead79723ebaf5186da6a874b4aed7cfb2f3328c2912f38ad3afbe81fd
3
+ size 3397769692
model-mtp-nvfp4.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91ee6dec7ae2919e0bf43a811e9495ac4439a027c957d7cf1029deaf5969758d
3
+ size 488303240
model.safetensors.index.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cb859b2f9ae2293addfe6ff8c7c5681ee70bd47f11033d9ea96f78cbd0d4fee
3
+ size 13502364
preprocessor_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "size": {
3
+ "longest_edge": 16777216,
4
+ "shortest_edge": 65536
5
+ },
6
+ "patch_size": 16,
7
+ "temporal_patch_size": 2,
8
+ "merge_size": 2,
9
+ "image_mean": [
10
+ 0.5,
11
+ 0.5,
12
+ 0.5
13
+ ],
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "processor_class": "Qwen3VLProcessor",
20
+ "image_processor_type": "Qwen2VLImageProcessorFast"
21
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
3
+ size 19989325
tokenizer_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
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": "<|im_end|>",
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
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null,
29
+ "video_token": "<|video_pad|>",
30
+ "vision_bos_token": "<|vision_start|>",
31
+ "vision_eos_token": "<|vision_end|>"
32
+ }
video_preprocessor_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "size": {
3
+ "longest_edge": 25165824,
4
+ "shortest_edge": 4096
5
+ },
6
+ "patch_size": 16,
7
+ "temporal_patch_size": 2,
8
+ "merge_size": 2,
9
+ "image_mean": [
10
+ 0.5,
11
+ 0.5,
12
+ 0.5
13
+ ],
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "processor_class": "Qwen3VLProcessor",
20
+ "video_processor_type": "Qwen3VLVideoProcessor"
21
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff