Chungulus commited on
Commit
55dc027
·
verified ·
1 Parent(s): 53baf6f

Upload validated FP8 quantization

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
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,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3.8-27B
3
+ base_model_relation: quantized
4
+ license: apache-2.0
5
+ pipeline_tag: image-text-to-text
6
+ tags:
7
+ - qwen3.8
8
+ - quantized
9
+ - fp8
10
+ ---
11
+
12
+ # Qwen3.8-27B FP8
13
+
14
+ This repository is a quantized deployment variant of the official Qwen/Qwen3.8-27B model. It is not a fine-tune.
15
+
16
+ ## Provenance and configuration
17
+
18
+ - Exact parent revision: `1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0`
19
+ - Quantizer: GPTQModel FP8
20
+ - Quantizer revision: `7df3d1e837cb5552512bf99b8729c334d0b2c010`
21
+ - Quantization configuration: `{"bits": 8, "calibration_batch_size": null, "calibration_corpus_sha256": null, "calibration_samples": 0, "calibration_sequence_length": null, "calibration_sort": null, "checkpoint_format": "float8_e4m3fn", "desc_act": false, "format": "float8_e4m3fn", "group_size": -1, "lm_head": false, "meta": {"auto_forward_data_parallel": true, "dense_vram_strategy": "exclusive", "dense_vram_strategy_devices": null, "fallback": {"smooth": null, "strategy": "rtn", "threshold": "0.5%"}, "gc_mode": "interval", "moe_vram_strategy": "exclusive", "moe_vram_strategy_devices": null, "offload_to_disk": false, "offload_to_disk_path": null, "pack_impl": "cpu", "wait_for_submodule_finalizers": false}, "method": "fp8", "pack_dtype": "int32", "quant_method": "fp8", "weight_scale_method": "row", "weight_scale_semantics": "inverse"}`
22
+ - Artifact size: 29.127 GiB
23
+ - Supported runtime: GPTQModel FP8 / Ada scaled GEMM
24
+ - Tested hardware: NVIDIA GeForce RTX 4070 12 GB (Ada, SM89), WSL2 Ubuntu 24.04
25
+
26
+ ## Calibration and architecture handling
27
+
28
+ The calibration corpus is original CC0-1.0 material authored for this project. It contains
29
+ 216 text/tool samples and 8 vision samples
30
+ across prose, code, debugging, math, science, structured output, tools, multilingual, and
31
+ long-context categories. This build used None.
32
+
33
+ - Tensor exclusions: `["*.input_layernorm", "*.post_attention_layernorm", "*.self_attn.q_norm", "*.self_attn.k_norm", "*.linear_attn.norm", "*.linear_attn.conv1d", "*.linear_attn.in_proj_a", "*.linear_attn.in_proj_b"]`
34
+ - Vision: True (deterministic image generation gate)
35
+ - Tool use: True (schema-valid XML tool-call gate)
36
+ - MTP: True for preservation of the 15 external tensors; no local
37
+ speculative drafter/acceptance runtime is claimed.
38
+ - Processor/chat template: exact pinned-parent copy verified.
39
+
40
+ ## Numerical validation
41
+
42
+ Full-vocabulary held-out comparison used 64 token positions.
43
+
44
+ | Metric | Result |
45
+ |---|---:|
46
+ | Mean KL | 0.00575227 |
47
+ | Median KL | 0.00249720 |
48
+ | P95 KL | 0.01725014 |
49
+ | Perplexity delta | -0.5484% |
50
+ | Top-1 agreement | 0.968750 |
51
+ | Top-5 set overlap | 0.975000 |
52
+ | Logit cosine similarity | 0.99661875 |
53
+
54
+ ## Performance smoke
55
+
56
+ - Execution mode: RTX 4070 + CPU offload/auto map
57
+ - Device map summary: `{"cpu": 59, "cuda:0": 9}`
58
+ - Prompt/decode: 8 / 1 tokens
59
+ - Median TTFT: 246.2100 s
60
+ - Median prefill: 0.049 tok/s
61
+ - Median decode: 0.024 tok/s
62
+ - Cold/warm load: 135.157 s / not measured (memory-safe single-load mode)
63
+ - Peak physical device memory: 11.669 GiB
64
+ - PyTorch logical allocator peak (diagnostic, may exceed physical VRAM under WSL): 10.920 GiB
65
+ - Peak build RAM / VRAM: 29.428 / 1.317 GiB
66
+
67
+ ## Limitations
68
+
69
+ The RTX 4070 validation may use CPU offload and is not a pure-GPU throughput claim unless the
70
+ performance mode explicitly says so. Preserved MTP weights do not establish speculative decoding
71
+ support. Compatibility and quality are established only for the exact revision and runtime above.
72
+ Machine-readable structural, generation, vision, tools, numerical, and performance reports are
73
+ stored under `validation/` in this repository. Remote verification evidence is retained by the
74
+ build worker and tied to the exact repository revision.
build_provenance.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "FP8",
3
+ "status": "complete",
4
+ "smoke_test": false,
5
+ "started_utc": "2026-08-16T21:14:00+00:00",
6
+ "source": "/mnt/c/Users/chunk/OneDrive/Documents/quant3.8/qwen38-cuda-quants/hf-cache/source/Qwen3.8-27B--1d4bf0f2ff60",
7
+ "pinned_source_revision": "1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0",
8
+ "output": "/mnt/c/Users/chunk/OneDrive/Documents/quant3.8/qwen38-cuda-quants/outputs/Qwen3.8-27B-FP8",
9
+ "configuration": {
10
+ "bits": 8,
11
+ "group_size": -1,
12
+ "desc_act": false,
13
+ "lm_head": false,
14
+ "method": "fp8",
15
+ "quant_method": "fp8",
16
+ "format": "float8_e4m3fn",
17
+ "checkpoint_format": "float8_e4m3fn",
18
+ "pack_dtype": "int32",
19
+ "meta": {
20
+ "fallback": {
21
+ "strategy": "rtn",
22
+ "threshold": "0.5%",
23
+ "smooth": null
24
+ },
25
+ "offload_to_disk": false,
26
+ "offload_to_disk_path": null,
27
+ "pack_impl": "cpu",
28
+ "gc_mode": "interval",
29
+ "wait_for_submodule_finalizers": false,
30
+ "auto_forward_data_parallel": true,
31
+ "dense_vram_strategy": "exclusive",
32
+ "dense_vram_strategy_devices": null,
33
+ "moe_vram_strategy": "exclusive",
34
+ "moe_vram_strategy_devices": null
35
+ },
36
+ "weight_scale_method": "row",
37
+ "weight_scale_semantics": "inverse",
38
+ "calibration_samples": 0,
39
+ "calibration_sequence_length": null,
40
+ "calibration_batch_size": null,
41
+ "calibration_sort": null,
42
+ "calibration_corpus_sha256": null,
43
+ "estimated_output_bytes_for_disk_gate": 41689594639
44
+ },
45
+ "gptqmodel_quantized": true,
46
+ "finished_utc": "2026-08-16T21:31:36+00:00",
47
+ "elapsed_seconds": 1055.65,
48
+ "resources": {
49
+ "samples": 935,
50
+ "peak_process_rss_gib": 38.532,
51
+ "peak_system_used_gib": 29.428,
52
+ "peak_gpu_vram_gib": 1.317
53
+ },
54
+ "output_bytes": 31274957166
55
+ }
chat_template.jinja ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ {%- set reasoning_instructions = '' %}
46
+ {%- if enable_thinking is undefined or enable_thinking is true %}
47
+ {%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}
48
+ {%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}
49
+ {{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}
50
+ {%- endif %}
51
+ {%- if resolved_reasoning_effort == 'xhigh' %}
52
+ {%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}
53
+ {%- elif resolved_reasoning_effort == 'low' %}
54
+ {%- set reasoning_instructions = 'Reasoning effort is set to low. Keep your thinking brief and focused, moving directly to the conclusion without unnecessary elaboration.' %}
55
+ {%- endif %}
56
+ {%- endif %}
57
+ {%- if tools and tools is iterable and tools is not mapping %}
58
+ {{- '<|im_start|>system\n' }}
59
+ {%- if reasoning_instructions %}
60
+ {{- reasoning_instructions + '\n\n' }}
61
+ {%- endif %}
62
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
63
+ {%- for tool in tools %}
64
+ {{- "\n" }}
65
+ {{- tool | tojson }}
66
+ {%- endfor %}
67
+ {{- "\n</tools>" }}
68
+ {{- '\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>' }}
69
+ {%- if messages[0].role == 'system' %}
70
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
71
+ {%- if content %}
72
+ {{- '\n\n' + content }}
73
+ {%- endif %}
74
+ {%- endif %}
75
+ {{- '<|im_end|>\n' }}
76
+ {%- else %}
77
+ {%- if messages[0].role == 'system' %}
78
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
79
+ {%- if content %}
80
+ {{- '<|im_start|>system\n' + (reasoning_instructions + '\n\n' if reasoning_instructions else '') + content + '<|im_end|>\n' }}
81
+ {%- elif reasoning_instructions %}
82
+ {{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
83
+ {%- endif %}
84
+ {%- elif reasoning_instructions %}
85
+ {{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
86
+ {%- endif %}
87
+ {%- endif %}
88
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
89
+ {%- for message in messages[::-1] %}
90
+ {%- set index = (messages|length - 1) - loop.index0 %}
91
+ {%- if ns.multi_step_tool and message.role == "user" %}
92
+ {%- set content = render_content(message.content, false)|trim %}
93
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
94
+ {%- set ns.multi_step_tool = false %}
95
+ {%- set ns.last_query_index = index %}
96
+ {%- endif %}
97
+ {%- endif %}
98
+ {%- endfor %}
99
+ {%- if ns.multi_step_tool %}
100
+ {{- raise_exception('No user query found in messages.') }}
101
+ {%- endif %}
102
+ {%- for message in messages %}
103
+ {%- set content = render_content(message.content, true)|trim %}
104
+ {%- if message.role == "system" %}
105
+ {%- if not loop.first %}
106
+ {{- raise_exception('System message must be at the beginning.') }}
107
+ {%- endif %}
108
+ {%- elif message.role == "user" %}
109
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
110
+ {%- elif message.role == "assistant" %}
111
+ {%- set reasoning_content = '' %}
112
+ {%- if message.reasoning_content is string %}
113
+ {%- set reasoning_content = message.reasoning_content %}
114
+ {%- endif %}
115
+ {%- set reasoning_content = reasoning_content|trim %}
116
+ {%- if preserve_thinking is undefined or preserve_thinking is true or loop.index0 > ns.last_query_index %}
117
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
118
+ {%- else %}
119
+ {{- '<|im_start|>' + message.role + '\n' + content }}
120
+ {%- endif %}
121
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
122
+ {%- for tool_call in message.tool_calls %}
123
+ {%- if tool_call.function is defined %}
124
+ {%- set tool_call = tool_call.function %}
125
+ {%- endif %}
126
+ {%- if loop.first %}
127
+ {%- if content|trim %}
128
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
129
+ {%- else %}
130
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
131
+ {%- endif %}
132
+ {%- else %}
133
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
134
+ {%- endif %}
135
+ {%- if tool_call.arguments is defined and tool_call.arguments != '' %}
136
+ {%- for args_name, args_value in tool_call.arguments|items %}
137
+ {{- '<parameter=' + args_name + '>\n' }}
138
+ {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
139
+ {{- args_value }}
140
+ {{- '\n</parameter>\n' }}
141
+ {%- endfor %}
142
+ {%- endif %}
143
+ {{- '</function>\n</tool_call>' }}
144
+ {%- endfor %}
145
+ {%- endif %}
146
+ {{- '<|im_end|>\n' }}
147
+ {%- elif message.role == "tool" %}
148
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
149
+ {{- '<|im_start|>user' }}
150
+ {%- endif %}
151
+ {{- '\n<tool_response>\n' }}
152
+ {{- content }}
153
+ {{- '\n</tool_response>' }}
154
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
155
+ {{- '<|im_end|>\n' }}
156
+ {%- elif loop.last %}
157
+ {{- '<|im_end|>\n' }}
158
+ {%- endif %}
159
+ {%- else %}
160
+ {{- raise_exception('Unexpected message role.') }}
161
+ {%- endif %}
162
+ {%- endfor %}
163
+ {%- if add_generation_prompt %}
164
+ {{- '<|im_start|>assistant\n' }}
165
+ {%- if enable_thinking is defined and enable_thinking is false %}
166
+ {{- '<think>\n\n</think>\n\n' }}
167
+ {%- else %}
168
+ {{- '<think>\n' }}
169
+ {%- endif %}
170
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "bits": 8,
11
+ "checkpoint_format": "float8_e4m3fn",
12
+ "desc_act": false,
13
+ "format": "float8_e4m3fn",
14
+ "group_size": -1,
15
+ "lm_head": false,
16
+ "meta": {
17
+ "act_group_aware": null,
18
+ "auto_forward_data_parallel": true,
19
+ "damp_auto_increment": null,
20
+ "damp_percent": null,
21
+ "dense_vram_strategy": "exclusive",
22
+ "dense_vram_strategy_devices": null,
23
+ "fallback": {
24
+ "smooth": null,
25
+ "strategy": "rtn",
26
+ "threshold": "0.5%"
27
+ },
28
+ "foem": null,
29
+ "gc_mode": "interval",
30
+ "gptaq": null,
31
+ "moe_vram_strategy": "exclusive",
32
+ "moe_vram_strategy_devices": null,
33
+ "mse": null,
34
+ "offload_to_disk": false,
35
+ "offload_to_disk_path": null,
36
+ "pack_impl": "cpu",
37
+ "quantizer": [
38
+ "gptqmodel:7.3.4"
39
+ ],
40
+ "static_groups": null,
41
+ "true_sequential": true,
42
+ "uri": "https://github.com/modelcloud/gptqmodel",
43
+ "wait_for_submodule_finalizers": false
44
+ },
45
+ "method": "fp8",
46
+ "pack_dtype": "int32",
47
+ "quant_method": "fp8",
48
+ "weight_scale_method": "row",
49
+ "weight_scale_semantics": "inverse"
50
+ },
51
+ "rope_parameters": {
52
+ "rope_theta": 10000.0,
53
+ "rope_type": "default"
54
+ },
55
+ "text_config": {
56
+ "attention_bias": false,
57
+ "attention_dropout": 0.0,
58
+ "attn_output_gate": true,
59
+ "bos_token_id": 248044,
60
+ "dtype": "bfloat16",
61
+ "eos_token_id": 248044,
62
+ "full_attention_interval": 4,
63
+ "head_dim": 256,
64
+ "hidden_act": "silu",
65
+ "hidden_size": 5120,
66
+ "initializer_range": 0.02,
67
+ "intermediate_size": 17408,
68
+ "layer_types": [
69
+ "linear_attention",
70
+ "linear_attention",
71
+ "linear_attention",
72
+ "full_attention",
73
+ "linear_attention",
74
+ "linear_attention",
75
+ "linear_attention",
76
+ "full_attention",
77
+ "linear_attention",
78
+ "linear_attention",
79
+ "linear_attention",
80
+ "full_attention",
81
+ "linear_attention",
82
+ "linear_attention",
83
+ "linear_attention",
84
+ "full_attention",
85
+ "linear_attention",
86
+ "linear_attention",
87
+ "linear_attention",
88
+ "full_attention",
89
+ "linear_attention",
90
+ "linear_attention",
91
+ "linear_attention",
92
+ "full_attention",
93
+ "linear_attention",
94
+ "linear_attention",
95
+ "linear_attention",
96
+ "full_attention",
97
+ "linear_attention",
98
+ "linear_attention",
99
+ "linear_attention",
100
+ "full_attention",
101
+ "linear_attention",
102
+ "linear_attention",
103
+ "linear_attention",
104
+ "full_attention",
105
+ "linear_attention",
106
+ "linear_attention",
107
+ "linear_attention",
108
+ "full_attention",
109
+ "linear_attention",
110
+ "linear_attention",
111
+ "linear_attention",
112
+ "full_attention",
113
+ "linear_attention",
114
+ "linear_attention",
115
+ "linear_attention",
116
+ "full_attention",
117
+ "linear_attention",
118
+ "linear_attention",
119
+ "linear_attention",
120
+ "full_attention",
121
+ "linear_attention",
122
+ "linear_attention",
123
+ "linear_attention",
124
+ "full_attention",
125
+ "linear_attention",
126
+ "linear_attention",
127
+ "linear_attention",
128
+ "full_attention",
129
+ "linear_attention",
130
+ "linear_attention",
131
+ "linear_attention",
132
+ "full_attention"
133
+ ],
134
+ "linear_conv_kernel_dim": 4,
135
+ "linear_key_head_dim": 128,
136
+ "linear_num_key_heads": 16,
137
+ "linear_num_value_heads": 48,
138
+ "linear_value_head_dim": 128,
139
+ "mamba_ssm_dtype": "float32",
140
+ "max_position_embeddings": 262144,
141
+ "model_type": "qwen3_5_text",
142
+ "mtp_num_hidden_layers": 1,
143
+ "mtp_use_dedicated_embeddings": false,
144
+ "num_attention_heads": 24,
145
+ "num_hidden_layers": 64,
146
+ "num_key_value_heads": 4,
147
+ "output_gate_type": "swish",
148
+ "pad_token_id": 248044,
149
+ "partial_rotary_factor": 0.25,
150
+ "rms_norm_eps": 1e-06,
151
+ "rope_parameters": {
152
+ "mrope_interleaved": true,
153
+ "mrope_section": [
154
+ 11,
155
+ 11,
156
+ 10
157
+ ],
158
+ "partial_rotary_factor": 0.25,
159
+ "rope_theta": 10000000,
160
+ "rope_type": "default"
161
+ },
162
+ "tie_word_embeddings": false,
163
+ "use_cache": true,
164
+ "vocab_size": 248320
165
+ },
166
+ "tie_word_embeddings": false,
167
+ "transformers_version": "5.15.0",
168
+ "use_cache": false,
169
+ "video_token_id": 248057,
170
+ "vision_config": {
171
+ "deepstack_visual_indexes": [],
172
+ "depth": 27,
173
+ "dtype": "bfloat16",
174
+ "hidden_act": "gelu_pytorch_tanh",
175
+ "hidden_size": 1152,
176
+ "in_channels": 3,
177
+ "initializer_range": 0.02,
178
+ "intermediate_size": 4304,
179
+ "model_type": "qwen3_5_vision",
180
+ "num_heads": 16,
181
+ "num_position_embeddings": 2304,
182
+ "out_hidden_size": 5120,
183
+ "patch_size": 16,
184
+ "spatial_merge_size": 2,
185
+ "temporal_patch_size": 2
186
+ },
187
+ "vision_end_token_id": 248054,
188
+ "vision_start_token_id": 248053
189
+ }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16cc514d3d10b94e1ab78e66a6999c5a28c397ba133177dd09edb74c58b49eec
3
+ size 3516829256
model-00002-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0f1a190e1523e2486e5ca566c61dccde64660fe186faf6cfbbd8ffcc98e4c68
3
+ size 4268842872
model-00003-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80ed1f1707c9e5ce4d806e17c515fd23fa6aeebf25ae5f372b600fb8cf8cbc02
3
+ size 4270471840
model-00004-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:005690b2a21b01e3a17835efeb4b30e0c2f6b92683e42691fbc52469cd2d39a7
3
+ size 4280916456
model-00005-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f15ab7588f13349433716decc0b2d9f0948242a04c9e308fa414fef20de6628d
3
+ size 4265221120
model-00006-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2a108e6fdf6efa28a391e3eef661c5303056339e832e8e216ed6e09312811d9
3
+ size 4212755176
model-00007-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f0b1252b25bab91637c9d9ed916fbe5b5fac4d6d217d7cacbe6d0dd7a67d5c4
3
+ size 4270471904
model-00008-of-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3eec91156b0e2619b6f0c80aedd4ac04a10b047ada9e4821bafa5d373441b09b
3
+ size 2166188208
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
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
+ }
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
+ }
quant_log.csv ADDED
@@ -0,0 +1,401 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ layer,module,loss,samples,damp,time
2
+ 0,linear_attn.in_proj_qkv,fp8: 0.0002745,0.00000,0.000
3
+ 0,linear_attn.in_proj_z,fp8: 0.0002865,0.00000,0.000
4
+ 0,linear_attn.out_proj,fp8: 0.0002653,0.00000,0.000
5
+ 0,mlp.gate_proj,fp8: 0.0001814,0.00000,0.000
6
+ 0,mlp.up_proj,fp8: 0.0001756,0.00000,0.000
7
+ 0,mlp.down_proj,fp8: 0.0001881,0.00000,0.000
8
+ 1,linear_attn.in_proj_qkv,fp8: 0.0002750,0.00000,0.000
9
+ 1,linear_attn.in_proj_z,fp8: 0.0002766,0.00000,0.000
10
+ 1,linear_attn.out_proj,fp8: 0.0002792,0.00000,0.000
11
+ 1,mlp.gate_proj,fp8: 0.0001905,0.00000,0.000
12
+ 1,mlp.up_proj,fp8: 0.0001864,0.00000,0.000
13
+ 1,mlp.down_proj,fp8: 0.0001925,0.00000,0.000
14
+ 2,linear_attn.in_proj_qkv,fp8: 0.0002805,0.00000,0.000
15
+ 2,linear_attn.in_proj_z,fp8: 0.0002812,0.00000,0.000
16
+ 2,linear_attn.out_proj,fp8: 0.0002857,0.00000,0.000
17
+ 2,mlp.gate_proj,fp8: 0.0001964,0.00000,0.000
18
+ 2,mlp.up_proj,fp8: 0.0001902,0.00000,0.000
19
+ 2,mlp.down_proj,fp8: 0.0001960,0.00000,0.000
20
+ 3,self_attn.q_proj,fp8: 0.0003027,0.00000,0.000
21
+ 3,self_attn.k_proj,fp8: 0.0002804,0.00000,0.000
22
+ 3,self_attn.v_proj,fp8: 0.0002942,0.00000,0.000
23
+ 3,self_attn.o_proj,fp8: 0.0002758,0.00000,0.000
24
+ 3,mlp.gate_proj,fp8: 0.0001970,0.00000,0.000
25
+ 3,mlp.up_proj,fp8: 0.0001934,0.00000,0.000
26
+ 3,mlp.down_proj,fp8: 0.0001961,0.00000,0.000
27
+ 4,linear_attn.in_proj_qkv,fp8: 0.0002847,0.00000,0.000
28
+ 4,linear_attn.in_proj_z,fp8: 0.0002926,0.00000,0.000
29
+ 4,linear_attn.out_proj,fp8: 0.0002860,0.00000,0.000
30
+ 4,mlp.gate_proj,fp8: 0.0001982,0.00000,0.000
31
+ 4,mlp.up_proj,fp8: 0.0001953,0.00000,0.000
32
+ 4,mlp.down_proj,fp8: 0.0001963,0.00000,0.000
33
+ 5,linear_attn.in_proj_qkv,fp8: 0.0002793,0.00000,0.000
34
+ 5,linear_attn.in_proj_z,fp8: 0.0002903,0.00000,0.000
35
+ 5,linear_attn.out_proj,fp8: 0.0002835,0.00000,0.000
36
+ 5,mlp.gate_proj,fp8: 0.0002000,0.00000,0.000
37
+ 5,mlp.up_proj,fp8: 0.0001939,0.00000,0.000
38
+ 5,mlp.down_proj,fp8: 0.0001953,0.00000,0.000
39
+ 6,linear_attn.in_proj_qkv,fp8: 0.0002839,0.00000,0.000
40
+ 6,linear_attn.in_proj_z,fp8: 0.0002819,0.00000,0.000
41
+ 6,linear_attn.out_proj,fp8: 0.0002818,0.00000,0.000
42
+ 6,mlp.gate_proj,fp8: 0.0001991,0.00000,0.000
43
+ 6,mlp.up_proj,fp8: 0.0001927,0.00000,0.000
44
+ 6,mlp.down_proj,fp8: 0.0001924,0.00000,0.000
45
+ 7,self_attn.q_proj,fp8: 0.0002886,0.00000,0.000
46
+ 7,self_attn.k_proj,fp8: 0.0002703,0.00000,0.000
47
+ 7,self_attn.v_proj,fp8: 0.0002790,0.00000,0.000
48
+ 7,self_attn.o_proj,fp8: 0.0002721,0.00000,0.000
49
+ 7,mlp.gate_proj,fp8: 0.0002016,0.00000,0.000
50
+ 7,mlp.up_proj,fp8: 0.0001946,0.00000,0.000
51
+ 7,mlp.down_proj,fp8: 0.0001955,0.00000,0.000
52
+ 8,linear_attn.in_proj_qkv,fp8: 0.0002802,0.00000,0.000
53
+ 8,linear_attn.in_proj_z,fp8: 0.0002875,0.00000,0.000
54
+ 8,linear_attn.out_proj,fp8: 0.0002815,0.00000,0.000
55
+ 8,mlp.gate_proj,fp8: 0.0002016,0.00000,0.000
56
+ 8,mlp.up_proj,fp8: 0.0001954,0.00000,0.000
57
+ 8,mlp.down_proj,fp8: 0.0001965,0.00000,0.000
58
+ 9,linear_attn.in_proj_qkv,fp8: 0.0002803,0.00000,0.000
59
+ 9,linear_attn.in_proj_z,fp8: 0.0002824,0.00000,0.000
60
+ 9,linear_attn.out_proj,fp8: 0.0002824,0.00000,0.000
61
+ 9,mlp.gate_proj,fp8: 0.0002004,0.00000,0.000
62
+ 9,mlp.up_proj,fp8: 0.0001950,0.00000,0.000
63
+ 9,mlp.down_proj,fp8: 0.0001956,0.00000,0.000
64
+ 10,linear_attn.in_proj_qkv,fp8: 0.0002811,0.00000,0.000
65
+ 10,linear_attn.in_proj_z,fp8: 0.0002801,0.00000,0.000
66
+ 10,linear_attn.out_proj,fp8: 0.0002807,0.00000,0.000
67
+ 10,mlp.gate_proj,fp8: 0.0001974,0.00000,0.000
68
+ 10,mlp.up_proj,fp8: 0.0001932,0.00000,0.000
69
+ 10,mlp.down_proj,fp8: 0.0001933,0.00000,0.000
70
+ 11,self_attn.q_proj,fp8: 0.0002872,0.00000,0.000
71
+ 11,self_attn.k_proj,fp8: 0.0002746,0.00000,0.000
72
+ 11,self_attn.v_proj,fp8: 0.0002812,0.00000,0.000
73
+ 11,self_attn.o_proj,fp8: 0.0002715,0.00000,0.000
74
+ 11,mlp.gate_proj,fp8: 0.0001990,0.00000,0.000
75
+ 11,mlp.up_proj,fp8: 0.0001946,0.00000,0.000
76
+ 11,mlp.down_proj,fp8: 0.0001947,0.00000,0.000
77
+ 12,linear_attn.in_proj_qkv,fp8: 0.0002830,0.00000,0.000
78
+ 12,linear_attn.in_proj_z,fp8: 0.0002816,0.00000,0.000
79
+ 12,linear_attn.out_proj,fp8: 0.0002811,0.00000,0.000
80
+ 12,mlp.gate_proj,fp8: 0.0001985,0.00000,0.000
81
+ 12,mlp.up_proj,fp8: 0.0001943,0.00000,0.000
82
+ 12,mlp.down_proj,fp8: 0.0001946,0.00000,0.000
83
+ 13,linear_attn.in_proj_qkv,fp8: 0.0002865,0.00000,0.000
84
+ 13,linear_attn.in_proj_z,fp8: 0.0002770,0.00000,0.000
85
+ 13,linear_attn.out_proj,fp8: 0.0002836,0.00000,0.000
86
+ 13,mlp.gate_proj,fp8: 0.0001978,0.00000,0.000
87
+ 13,mlp.up_proj,fp8: 0.0001934,0.00000,0.000
88
+ 13,mlp.down_proj,fp8: 0.0001935,0.00000,0.000
89
+ 14,linear_attn.in_proj_qkv,fp8: 0.0002829,0.00000,0.000
90
+ 14,linear_attn.in_proj_z,fp8: 0.0002804,0.00000,0.000
91
+ 14,linear_attn.out_proj,fp8: 0.0002802,0.00000,0.000
92
+ 14,mlp.gate_proj,fp8: 0.0001968,0.00000,0.000
93
+ 14,mlp.up_proj,fp8: 0.0001926,0.00000,0.000
94
+ 14,mlp.down_proj,fp8: 0.0001926,0.00000,0.000
95
+ 15,self_attn.q_proj,fp8: 0.0002824,0.00000,0.000
96
+ 15,self_attn.k_proj,fp8: 0.0002809,0.00000,0.000
97
+ 15,self_attn.v_proj,fp8: 0.0002939,0.00000,0.000
98
+ 15,self_attn.o_proj,fp8: 0.0002727,0.00000,0.000
99
+ 15,mlp.gate_proj,fp8: 0.0001979,0.00000,0.000
100
+ 15,mlp.up_proj,fp8: 0.0001945,0.00000,0.000
101
+ 15,mlp.down_proj,fp8: 0.0001939,0.00000,0.000
102
+ 16,linear_attn.in_proj_qkv,fp8: 0.0002838,0.00000,0.000
103
+ 16,linear_attn.in_proj_z,fp8: 0.0002772,0.00000,0.000
104
+ 16,linear_attn.out_proj,fp8: 0.0002805,0.00000,0.000
105
+ 16,mlp.gate_proj,fp8: 0.0001988,0.00000,0.000
106
+ 16,mlp.up_proj,fp8: 0.0001953,0.00000,0.000
107
+ 16,mlp.down_proj,fp8: 0.0001939,0.00000,0.000
108
+ 17,linear_attn.in_proj_qkv,fp8: 0.0002901,0.00000,0.000
109
+ 17,linear_attn.in_proj_z,fp8: 0.0002687,0.00000,0.000
110
+ 17,linear_attn.out_proj,fp8: 0.0002816,0.00000,0.000
111
+ 17,mlp.gate_proj,fp8: 0.0001997,0.00000,0.000
112
+ 17,mlp.up_proj,fp8: 0.0001961,0.00000,0.000
113
+ 17,mlp.down_proj,fp8: 0.0001948,0.00000,0.000
114
+ 18,linear_attn.in_proj_qkv,fp8: 0.0002871,0.00000,0.000
115
+ 18,linear_attn.in_proj_z,fp8: 0.0002765,0.00000,0.000
116
+ 18,linear_attn.out_proj,fp8: 0.0002781,0.00000,0.000
117
+ 18,mlp.gate_proj,fp8: 0.0002003,0.00000,0.000
118
+ 18,mlp.up_proj,fp8: 0.0001963,0.00000,0.000
119
+ 18,mlp.down_proj,fp8: 0.0001934,0.00000,0.000
120
+ 19,self_attn.q_proj,fp8: 0.0002839,0.00000,0.000
121
+ 19,self_attn.k_proj,fp8: 0.0002703,0.00000,0.000
122
+ 19,self_attn.v_proj,fp8: 0.0002853,0.00000,0.000
123
+ 19,self_attn.o_proj,fp8: 0.0002802,0.00000,0.000
124
+ 19,mlp.gate_proj,fp8: 0.0002027,0.00000,0.000
125
+ 19,mlp.up_proj,fp8: 0.0001972,0.00000,0.000
126
+ 19,mlp.down_proj,fp8: 0.0001968,0.00000,0.000
127
+ 20,linear_attn.in_proj_qkv,fp8: 0.0002886,0.00000,0.000
128
+ 20,linear_attn.in_proj_z,fp8: 0.0002826,0.00000,0.000
129
+ 20,linear_attn.out_proj,fp8: 0.0002795,0.00000,0.000
130
+ 20,mlp.gate_proj,fp8: 0.0002042,0.00000,0.000
131
+ 20,mlp.up_proj,fp8: 0.0001966,0.00000,0.000
132
+ 20,mlp.down_proj,fp8: 0.0001968,0.00000,0.000
133
+ 21,linear_attn.in_proj_qkv,fp8: 0.0002820,0.00000,0.000
134
+ 21,linear_attn.in_proj_z,fp8: 0.0002942,0.00000,0.000
135
+ 21,linear_attn.out_proj,fp8: 0.0002769,0.00000,0.000
136
+ 21,mlp.gate_proj,fp8: 0.0002043,0.00000,0.000
137
+ 21,mlp.up_proj,fp8: 0.0001973,0.00000,0.000
138
+ 21,mlp.down_proj,fp8: 0.0001971,0.00000,0.000
139
+ 22,linear_attn.in_proj_qkv,fp8: 0.0002812,0.00000,0.000
140
+ 22,linear_attn.in_proj_z,fp8: 0.0002864,0.00000,0.000
141
+ 22,linear_attn.out_proj,fp8: 0.0002779,0.00000,0.000
142
+ 22,mlp.gate_proj,fp8: 0.0002086,0.00000,0.000
143
+ 22,mlp.up_proj,fp8: 0.0001965,0.00000,0.000
144
+ 22,mlp.down_proj,fp8: 0.0001954,0.00000,0.000
145
+ 23,self_attn.q_proj,fp8: 0.0002743,0.00000,0.000
146
+ 23,self_attn.k_proj,fp8: 0.0002669,0.00000,0.000
147
+ 23,self_attn.v_proj,fp8: 0.0002948,0.00000,0.000
148
+ 23,self_attn.o_proj,fp8: 0.0002796,0.00000,0.000
149
+ 23,mlp.gate_proj,fp8: 0.0002074,0.00000,0.000
150
+ 23,mlp.up_proj,fp8: 0.0001988,0.00000,0.000
151
+ 23,mlp.down_proj,fp8: 0.0001978,0.00000,0.000
152
+ 24,linear_attn.in_proj_qkv,fp8: 0.0002796,0.00000,0.000
153
+ 24,linear_attn.in_proj_z,fp8: 0.0002752,0.00000,0.000
154
+ 24,linear_attn.out_proj,fp8: 0.0002767,0.00000,0.000
155
+ 24,mlp.gate_proj,fp8: 0.0002091,0.00000,0.000
156
+ 24,mlp.up_proj,fp8: 0.0001999,0.00000,0.000
157
+ 24,mlp.down_proj,fp8: 0.0001987,0.00000,0.000
158
+ 25,linear_attn.in_proj_qkv,fp8: 0.0002838,0.00000,0.000
159
+ 25,linear_attn.in_proj_z,fp8: 0.0002710,0.00000,0.000
160
+ 25,linear_attn.out_proj,fp8: 0.0002800,0.00000,0.000
161
+ 25,mlp.gate_proj,fp8: 0.0002068,0.00000,0.000
162
+ 25,mlp.up_proj,fp8: 0.0002027,0.00000,0.000
163
+ 25,mlp.down_proj,fp8: 0.0002002,0.00000,0.000
164
+ 26,linear_attn.in_proj_qkv,fp8: 0.0002838,0.00000,0.000
165
+ 26,linear_attn.in_proj_z,fp8: 0.0002667,0.00000,0.000
166
+ 26,linear_attn.out_proj,fp8: 0.0002774,0.00000,0.000
167
+ 26,mlp.gate_proj,fp8: 0.0002030,0.00000,0.000
168
+ 26,mlp.up_proj,fp8: 0.0002039,0.00000,0.000
169
+ 26,mlp.down_proj,fp8: 0.0002007,0.00000,0.000
170
+ 27,self_attn.q_proj,fp8: 0.0002758,0.00000,0.000
171
+ 27,self_attn.k_proj,fp8: 0.0002682,0.00000,0.000
172
+ 27,self_attn.v_proj,fp8: 0.0002819,0.00000,0.000
173
+ 27,self_attn.o_proj,fp8: 0.0002739,0.00000,0.000
174
+ 27,mlp.gate_proj,fp8: 0.0002017,0.00000,0.000
175
+ 27,mlp.up_proj,fp8: 0.0002058,0.00000,0.000
176
+ 27,mlp.down_proj,fp8: 0.0002019,0.00000,0.000
177
+ 28,linear_attn.in_proj_qkv,fp8: 0.0002861,0.00000,0.000
178
+ 28,linear_attn.in_proj_z,fp8: 0.0002581,0.00000,0.000
179
+ 28,linear_attn.out_proj,fp8: 0.0002757,0.00000,0.000
180
+ 28,mlp.gate_proj,fp8: 0.0001989,0.00000,0.000
181
+ 28,mlp.up_proj,fp8: 0.0002055,0.00000,0.000
182
+ 28,mlp.down_proj,fp8: 0.0002016,0.00000,0.000
183
+ 29,linear_attn.in_proj_qkv,fp8: 0.0002881,0.00000,0.000
184
+ 29,linear_attn.in_proj_z,fp8: 0.0002548,0.00000,0.000
185
+ 29,linear_attn.out_proj,fp8: 0.0002764,0.00000,0.000
186
+ 29,mlp.gate_proj,fp8: 0.0001977,0.00000,0.000
187
+ 29,mlp.up_proj,fp8: 0.0002050,0.00000,0.000
188
+ 29,mlp.down_proj,fp8: 0.0002004,0.00000,0.000
189
+ 30,linear_attn.in_proj_qkv,fp8: 0.0002859,0.00000,0.000
190
+ 30,linear_attn.in_proj_z,fp8: 0.0002564,0.00000,0.000
191
+ 30,linear_attn.out_proj,fp8: 0.0002725,0.00000,0.000
192
+ 30,mlp.gate_proj,fp8: 0.0001951,0.00000,0.000
193
+ 30,mlp.up_proj,fp8: 0.0002051,0.00000,0.000
194
+ 30,mlp.down_proj,fp8: 0.0002010,0.00000,0.000
195
+ 31,self_attn.q_proj,fp8: 0.0002649,0.00000,0.000
196
+ 31,self_attn.k_proj,fp8: 0.0002704,0.00000,0.000
197
+ 31,self_attn.v_proj,fp8: 0.0003089,0.00000,0.000
198
+ 31,self_attn.o_proj,fp8: 0.0002754,0.00000,0.000
199
+ 31,mlp.gate_proj,fp8: 0.0001933,0.00000,0.000
200
+ 31,mlp.up_proj,fp8: 0.0002059,0.00000,0.000
201
+ 31,mlp.down_proj,fp8: 0.0002017,0.00000,0.000
202
+ 32,linear_attn.in_proj_qkv,fp8: 0.0002856,0.00000,0.000
203
+ 32,linear_attn.in_proj_z,fp8: 0.0002495,0.00000,0.000
204
+ 32,linear_attn.out_proj,fp8: 0.0002718,0.00000,0.000
205
+ 32,mlp.gate_proj,fp8: 0.0001918,0.00000,0.000
206
+ 32,mlp.up_proj,fp8: 0.0002057,0.00000,0.000
207
+ 32,mlp.down_proj,fp8: 0.0002018,0.00000,0.000
208
+ 33,linear_attn.in_proj_qkv,fp8: 0.0002894,0.00000,0.000
209
+ 33,linear_attn.in_proj_z,fp8: 0.0002445,0.00000,0.000
210
+ 33,linear_attn.out_proj,fp8: 0.0002743,0.00000,0.000
211
+ 33,mlp.gate_proj,fp8: 0.0001905,0.00000,0.000
212
+ 33,mlp.up_proj,fp8: 0.0002063,0.00000,0.000
213
+ 33,mlp.down_proj,fp8: 0.0002024,0.00000,0.000
214
+ 34,linear_attn.in_proj_qkv,fp8: 0.0002861,0.00000,0.000
215
+ 34,linear_attn.in_proj_z,fp8: 0.0002517,0.00000,0.000
216
+ 34,linear_attn.out_proj,fp8: 0.0002709,0.00000,0.000
217
+ 34,mlp.gate_proj,fp8: 0.0001879,0.00000,0.000
218
+ 34,mlp.up_proj,fp8: 0.0002068,0.00000,0.000
219
+ 34,mlp.down_proj,fp8: 0.0002025,0.00000,0.000
220
+ 35,self_attn.q_proj,fp8: 0.0002572,0.00000,0.000
221
+ 35,self_attn.k_proj,fp8: 0.0002670,0.00000,0.000
222
+ 35,self_attn.v_proj,fp8: 0.0003220,0.00000,0.000
223
+ 35,self_attn.o_proj,fp8: 0.0002888,0.00000,0.000
224
+ 35,mlp.gate_proj,fp8: 0.0001922,0.00000,0.000
225
+ 35,mlp.up_proj,fp8: 0.0002064,0.00000,0.000
226
+ 35,mlp.down_proj,fp8: 0.0002041,0.00000,0.000
227
+ 36,linear_attn.in_proj_qkv,fp8: 0.0002882,0.00000,0.000
228
+ 36,linear_attn.in_proj_z,fp8: 0.0002683,0.00000,0.000
229
+ 36,linear_attn.out_proj,fp8: 0.0002765,0.00000,0.000
230
+ 36,mlp.gate_proj,fp8: 0.0001997,0.00000,0.000
231
+ 36,mlp.up_proj,fp8: 0.0002013,0.00000,0.000
232
+ 36,mlp.down_proj,fp8: 0.0002007,0.00000,0.000
233
+ 37,linear_attn.in_proj_qkv,fp8: 0.0002817,0.00000,0.000
234
+ 37,linear_attn.in_proj_z,fp8: 0.0002796,0.00000,0.000
235
+ 37,linear_attn.out_proj,fp8: 0.0002714,0.00000,0.000
236
+ 37,mlp.gate_proj,fp8: 0.0002020,0.00000,0.000
237
+ 37,mlp.up_proj,fp8: 0.0002006,0.00000,0.000
238
+ 37,mlp.down_proj,fp8: 0.0002000,0.00000,0.000
239
+ 38,linear_attn.in_proj_qkv,fp8: 0.0002828,0.00000,0.000
240
+ 38,linear_attn.in_proj_z,fp8: 0.0002812,0.00000,0.000
241
+ 38,linear_attn.out_proj,fp8: 0.0002750,0.00000,0.000
242
+ 38,mlp.gate_proj,fp8: 0.0002112,0.00000,0.000
243
+ 38,mlp.up_proj,fp8: 0.0001966,0.00000,0.000
244
+ 38,mlp.down_proj,fp8: 0.0001953,0.00000,0.000
245
+ 39,self_attn.q_proj,fp8: 0.0002592,0.00000,0.000
246
+ 39,self_attn.k_proj,fp8: 0.0002561,0.00000,0.000
247
+ 39,self_attn.v_proj,fp8: 0.0003043,0.00000,0.000
248
+ 39,self_attn.o_proj,fp8: 0.0002818,0.00000,0.000
249
+ 39,mlp.gate_proj,fp8: 0.0002090,0.00000,0.000
250
+ 39,mlp.up_proj,fp8: 0.0001991,0.00000,0.000
251
+ 39,mlp.down_proj,fp8: 0.0001978,0.00000,0.000
252
+ 40,linear_attn.in_proj_qkv,fp8: 0.0002771,0.00000,0.000
253
+ 40,linear_attn.in_proj_z,fp8: 0.0002696,0.00000,0.000
254
+ 40,linear_attn.out_proj,fp8: 0.0002724,0.00000,0.000
255
+ 40,mlp.gate_proj,fp8: 0.0002111,0.00000,0.000
256
+ 40,mlp.up_proj,fp8: 0.0001988,0.00000,0.000
257
+ 40,mlp.down_proj,fp8: 0.0001973,0.00000,0.000
258
+ 41,linear_attn.in_proj_qkv,fp8: 0.0002781,0.00000,0.000
259
+ 41,linear_attn.in_proj_z,fp8: 0.0002689,0.00000,0.000
260
+ 41,linear_attn.out_proj,fp8: 0.0002751,0.00000,0.000
261
+ 41,mlp.gate_proj,fp8: 0.0002048,0.00000,0.000
262
+ 41,mlp.up_proj,fp8: 0.0002030,0.00000,0.000
263
+ 41,mlp.down_proj,fp8: 0.0002000,0.00000,0.000
264
+ 42,linear_attn.in_proj_qkv,fp8: 0.0002774,0.00000,0.000
265
+ 42,linear_attn.in_proj_z,fp8: 0.0002646,0.00000,0.000
266
+ 42,linear_attn.out_proj,fp8: 0.0002725,0.00000,0.000
267
+ 42,mlp.gate_proj,fp8: 0.0001993,0.00000,0.000
268
+ 42,mlp.up_proj,fp8: 0.0002050,0.00000,0.000
269
+ 42,mlp.down_proj,fp8: 0.0002012,0.00000,0.000
270
+ 43,self_attn.q_proj,fp8: 0.0002550,0.00000,0.000
271
+ 43,self_attn.k_proj,fp8: 0.0002452,0.00000,0.000
272
+ 43,self_attn.v_proj,fp8: 0.0003048,0.00000,0.000
273
+ 43,self_attn.o_proj,fp8: 0.0002760,0.00000,0.000
274
+ 43,mlp.gate_proj,fp8: 0.0001985,0.00000,0.000
275
+ 43,mlp.up_proj,fp8: 0.0002081,0.00000,0.000
276
+ 43,mlp.down_proj,fp8: 0.0002041,0.00000,0.000
277
+ 44,linear_attn.in_proj_qkv,fp8: 0.0002820,0.00000,0.000
278
+ 44,linear_attn.in_proj_z,fp8: 0.0002564,0.00000,0.000
279
+ 44,linear_attn.out_proj,fp8: 0.0002711,0.00000,0.000
280
+ 44,mlp.gate_proj,fp8: 0.0001971,0.00000,0.000
281
+ 44,mlp.up_proj,fp8: 0.0002083,0.00000,0.000
282
+ 44,mlp.down_proj,fp8: 0.0002043,0.00000,0.000
283
+ 45,linear_attn.in_proj_qkv,fp8: 0.0002825,0.00000,0.000
284
+ 45,linear_attn.in_proj_z,fp8: 0.0002575,0.00000,0.000
285
+ 45,linear_attn.out_proj,fp8: 0.0002753,0.00000,0.000
286
+ 45,mlp.gate_proj,fp8: 0.0001970,0.00000,0.000
287
+ 45,mlp.up_proj,fp8: 0.0002084,0.00000,0.000
288
+ 45,mlp.down_proj,fp8: 0.0002040,0.00000,0.000
289
+ 46,linear_attn.in_proj_qkv,fp8: 0.0002826,0.00000,0.000
290
+ 46,linear_attn.in_proj_z,fp8: 0.0002575,0.00000,0.000
291
+ 46,linear_attn.out_proj,fp8: 0.0002700,0.00000,0.000
292
+ 46,mlp.gate_proj,fp8: 0.0001946,0.00000,0.000
293
+ 46,mlp.up_proj,fp8: 0.0002083,0.00000,0.000
294
+ 46,mlp.down_proj,fp8: 0.0002043,0.00000,0.000
295
+ 47,self_attn.q_proj,fp8: 0.0002517,0.00000,0.000
296
+ 47,self_attn.k_proj,fp8: 0.0002600,0.00000,0.000
297
+ 47,self_attn.v_proj,fp8: 0.0003512,0.00000,0.000
298
+ 47,self_attn.o_proj,fp8: 0.0002894,0.00000,0.000
299
+ 47,mlp.gate_proj,fp8: 0.0001955,0.00000,0.000
300
+ 47,mlp.up_proj,fp8: 0.0002095,0.00000,0.000
301
+ 47,mlp.down_proj,fp8: 0.0002050,0.00000,0.000
302
+ 48,linear_attn.in_proj_qkv,fp8: 0.0002835,0.00000,0.000
303
+ 48,linear_attn.in_proj_z,fp8: 0.0002568,0.00000,0.000
304
+ 48,linear_attn.out_proj,fp8: 0.0002690,0.00000,0.000
305
+ 48,mlp.gate_proj,fp8: 0.0001946,0.00000,0.000
306
+ 48,mlp.up_proj,fp8: 0.0002098,0.00000,0.000
307
+ 48,mlp.down_proj,fp8: 0.0002053,0.00000,0.000
308
+ 49,linear_attn.in_proj_qkv,fp8: 0.0002922,0.00000,0.000
309
+ 49,linear_attn.in_proj_z,fp8: 0.0002513,0.00000,0.000
310
+ 49,linear_attn.out_proj,fp8: 0.0002746,0.00000,0.000
311
+ 49,mlp.gate_proj,fp8: 0.0001933,0.00000,0.000
312
+ 49,mlp.up_proj,fp8: 0.0002106,0.00000,0.000
313
+ 49,mlp.down_proj,fp8: 0.0002059,0.00000,0.000
314
+ 50,linear_attn.in_proj_qkv,fp8: 0.0002876,0.00000,0.000
315
+ 50,linear_attn.in_proj_z,fp8: 0.0002578,0.00000,0.000
316
+ 50,linear_attn.out_proj,fp8: 0.0002671,0.00000,0.000
317
+ 50,mlp.gate_proj,fp8: 0.0001939,0.00000,0.000
318
+ 50,mlp.up_proj,fp8: 0.0002104,0.00000,0.000
319
+ 50,mlp.down_proj,fp8: 0.0002047,0.00000,0.000
320
+ 51,self_attn.q_proj,fp8: 0.0002468,0.00000,0.000
321
+ 51,self_attn.k_proj,fp8: 0.0002511,0.00000,0.000
322
+ 51,self_attn.v_proj,fp8: 0.0003587,0.00000,0.000
323
+ 51,self_attn.o_proj,fp8: 0.0003088,0.00000,0.000
324
+ 51,mlp.gate_proj,fp8: 0.0001971,0.00000,0.000
325
+ 51,mlp.up_proj,fp8: 0.0002138,0.00000,0.000
326
+ 51,mlp.down_proj,fp8: 0.0002092,0.00000,0.000
327
+ 52,linear_attn.in_proj_qkv,fp8: 0.0002994,0.00000,0.000
328
+ 52,linear_attn.in_proj_z,fp8: 0.0002691,0.00000,0.000
329
+ 52,linear_attn.out_proj,fp8: 0.0002707,0.00000,0.000
330
+ 52,mlp.gate_proj,fp8: 0.0002078,0.00000,0.000
331
+ 52,mlp.up_proj,fp8: 0.0002105,0.00000,0.000
332
+ 52,mlp.down_proj,fp8: 0.0002077,0.00000,0.000
333
+ 53,linear_attn.in_proj_qkv,fp8: 0.0002996,0.00000,0.000
334
+ 53,linear_attn.in_proj_z,fp8: 0.0002731,0.00000,0.000
335
+ 53,linear_attn.out_proj,fp8: 0.0002746,0.00000,0.000
336
+ 53,mlp.gate_proj,fp8: 0.0002130,0.00000,0.000
337
+ 53,mlp.up_proj,fp8: 0.0002096,0.00000,0.000
338
+ 53,mlp.down_proj,fp8: 0.0002070,0.00000,0.000
339
+ 54,linear_attn.in_proj_qkv,fp8: 0.0002937,0.00000,0.000
340
+ 54,linear_attn.in_proj_z,fp8: 0.0002811,0.00000,0.000
341
+ 54,linear_attn.out_proj,fp8: 0.0002764,0.00000,0.000
342
+ 54,mlp.gate_proj,fp8: 0.0002204,0.00000,0.000
343
+ 54,mlp.up_proj,fp8: 0.0002107,0.00000,0.000
344
+ 54,mlp.down_proj,fp8: 0.0002075,0.00000,0.000
345
+ 55,self_attn.q_proj,fp8: 0.0002573,0.00000,0.000
346
+ 55,self_attn.k_proj,fp8: 0.0002382,0.00000,0.000
347
+ 55,self_attn.v_proj,fp8: 0.0003831,0.00000,0.000
348
+ 55,self_attn.o_proj,fp8: 0.0003147,0.00000,0.000
349
+ 55,mlp.gate_proj,fp8: 0.0002190,0.00000,0.000
350
+ 55,mlp.up_proj,fp8: 0.0002120,0.00000,0.000
351
+ 55,mlp.down_proj,fp8: 0.0002098,0.00000,0.000
352
+ 56,linear_attn.in_proj_qkv,fp8: 0.0003023,0.00000,0.000
353
+ 56,linear_attn.in_proj_z,fp8: 0.0002783,0.00000,0.000
354
+ 56,linear_attn.out_proj,fp8: 0.0002763,0.00000,0.000
355
+ 56,mlp.gate_proj,fp8: 0.0002242,0.00000,0.000
356
+ 56,mlp.up_proj,fp8: 0.0002130,0.00000,0.000
357
+ 56,mlp.down_proj,fp8: 0.0002108,0.00000,0.000
358
+ 57,linear_attn.in_proj_qkv,fp8: 0.0003027,0.00000,0.000
359
+ 57,linear_attn.in_proj_z,fp8: 0.0002825,0.00000,0.000
360
+ 57,linear_attn.out_proj,fp8: 0.0002800,0.00000,0.000
361
+ 57,mlp.gate_proj,fp8: 0.0002297,0.00000,0.000
362
+ 57,mlp.up_proj,fp8: 0.0002160,0.00000,0.000
363
+ 57,mlp.down_proj,fp8: 0.0002136,0.00000,0.000
364
+ 58,linear_attn.in_proj_qkv,fp8: 0.0002993,0.00000,0.000
365
+ 58,linear_attn.in_proj_z,fp8: 0.0002886,0.00000,0.000
366
+ 58,linear_attn.out_proj,fp8: 0.0002810,0.00000,0.000
367
+ 58,mlp.gate_proj,fp8: 0.0002336,0.00000,0.000
368
+ 58,mlp.up_proj,fp8: 0.0002197,0.00000,0.000
369
+ 58,mlp.down_proj,fp8: 0.0002176,0.00000,0.000
370
+ 59,self_attn.q_proj,fp8: 0.0002488,0.00000,0.000
371
+ 59,self_attn.k_proj,fp8: 0.0002242,0.00000,0.000
372
+ 59,self_attn.v_proj,fp8: 0.0004669,0.00000,0.000
373
+ 59,self_attn.o_proj,fp8: 0.0003433,0.00000,0.000
374
+ 59,mlp.gate_proj,fp8: 0.0002315,0.00000,0.000
375
+ 59,mlp.up_proj,fp8: 0.0002209,0.00000,0.000
376
+ 59,mlp.down_proj,fp8: 0.0002187,0.00000,0.000
377
+ 60,linear_attn.in_proj_qkv,fp8: 0.0003067,0.00000,0.000
378
+ 60,linear_attn.in_proj_z,fp8: 0.0002785,0.00000,0.000
379
+ 60,linear_attn.out_proj,fp8: 0.0002808,0.00000,0.000
380
+ 60,mlp.gate_proj,fp8: 0.0002298,0.00000,0.000
381
+ 60,mlp.up_proj,fp8: 0.0002228,0.00000,0.000
382
+ 60,mlp.down_proj,fp8: 0.0002195,0.00000,0.000
383
+ 61,linear_attn.in_proj_qkv,fp8: 0.0002927,0.00000,0.000
384
+ 61,linear_attn.in_proj_z,fp8: 0.0002879,0.00000,0.000
385
+ 61,linear_attn.out_proj,fp8: 0.0002862,0.00000,0.000
386
+ 61,mlp.gate_proj,fp8: 0.0002313,0.00000,0.000
387
+ 61,mlp.up_proj,fp8: 0.0002262,0.00000,0.000
388
+ 61,mlp.down_proj,fp8: 0.0002221,0.00000,0.000
389
+ 62,linear_attn.in_proj_qkv,fp8: 0.0002938,0.00000,0.000
390
+ 62,linear_attn.in_proj_z,fp8: 0.0002790,0.00000,0.000
391
+ 62,linear_attn.out_proj,fp8: 0.0002878,0.00000,0.000
392
+ 62,mlp.gate_proj,fp8: 0.0002313,0.00000,0.000
393
+ 62,mlp.up_proj,fp8: 0.0002273,0.00000,0.000
394
+ 62,mlp.down_proj,fp8: 0.0002191,0.00000,0.000
395
+ 63,self_attn.q_proj,fp8: 0.0002493,0.00000,0.000
396
+ 63,self_attn.k_proj,fp8: 0.0002248,0.00000,0.000
397
+ 63,self_attn.v_proj,fp8: 0.0004419,0.00000,0.000
398
+ 63,self_attn.o_proj,fp8: 0.0003066,0.00000,0.000
399
+ 63,mlp.gate_proj,fp8: 0.0002407,0.00000,0.000
400
+ 63,mlp.up_proj,fp8: 0.0002326,0.00000,0.000
401
+ 63,mlp.down_proj,fp8: 0.0002041,0.00000,0.000
quantization_log.json ADDED
The diff for this file is too large to render. See raw diff
 
quantization_provenance.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model": "Qwen/Qwen3.8-27B",
3
+ "base_revision": "1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0",
4
+ "target": "FP8",
5
+ "quantizer": "GPTQModel 7.3.4",
6
+ "quantizer_revision": "7df3d1e837cb5552512bf99b8729c334d0b2c010",
7
+ "quantization_config": {
8
+ "bits": 8,
9
+ "group_size": -1,
10
+ "desc_act": false,
11
+ "lm_head": false,
12
+ "method": "fp8",
13
+ "quant_method": "fp8",
14
+ "format": "float8_e4m3fn",
15
+ "checkpoint_format": "float8_e4m3fn",
16
+ "pack_dtype": "int32",
17
+ "meta": {
18
+ "fallback": {
19
+ "strategy": "rtn",
20
+ "threshold": "0.5%",
21
+ "smooth": null
22
+ },
23
+ "offload_to_disk": false,
24
+ "offload_to_disk_path": null,
25
+ "pack_impl": "cpu",
26
+ "gc_mode": "interval",
27
+ "wait_for_submodule_finalizers": false,
28
+ "auto_forward_data_parallel": true,
29
+ "dense_vram_strategy": "exclusive",
30
+ "dense_vram_strategy_devices": null,
31
+ "moe_vram_strategy": "exclusive",
32
+ "moe_vram_strategy_devices": null
33
+ },
34
+ "weight_scale_method": "row",
35
+ "weight_scale_semantics": "inverse",
36
+ "calibration_samples": 0,
37
+ "calibration_sequence_length": null,
38
+ "calibration_batch_size": null,
39
+ "calibration_sort": null,
40
+ "calibration_corpus_sha256": null
41
+ },
42
+ "created_utc": "2026-08-16T21:31:30+00:00",
43
+ "not_a_finetune": true
44
+ }
quantize_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 8,
3
+ "group_size": -1,
4
+ "desc_act": false,
5
+ "lm_head": false,
6
+ "method": "fp8",
7
+ "quant_method": "fp8",
8
+ "format": "float8_e4m3fn",
9
+ "checkpoint_format": "float8_e4m3fn",
10
+ "pack_dtype": "int32",
11
+ "meta": {
12
+ "quantizer": [
13
+ "gptqmodel:7.3.4"
14
+ ],
15
+ "uri": "https://github.com/modelcloud/gptqmodel",
16
+ "damp_percent": null,
17
+ "damp_auto_increment": null,
18
+ "static_groups": null,
19
+ "true_sequential": true,
20
+ "mse": null,
21
+ "gptaq": null,
22
+ "foem": null,
23
+ "act_group_aware": null,
24
+ "fallback": {
25
+ "strategy": "rtn",
26
+ "threshold": "0.5%",
27
+ "smooth": null
28
+ },
29
+ "offload_to_disk": false,
30
+ "offload_to_disk_path": null,
31
+ "pack_impl": "cpu",
32
+ "gc_mode": "interval",
33
+ "wait_for_submodule_finalizers": false,
34
+ "auto_forward_data_parallel": true,
35
+ "dense_vram_strategy": "exclusive",
36
+ "dense_vram_strategy_devices": null,
37
+ "moe_vram_strategy": "exclusive",
38
+ "moe_vram_strategy_devices": null
39
+ },
40
+ "weight_scale_method": "row",
41
+ "weight_scale_semantics": "inverse"
42
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0997f410c57a1f4e53b09e4be8f4a172d90edd9564368fb0847030937229b9f3
3
+ size 12809320
tokenizer_config.json ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "248044": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "248045": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "248046": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "248047": {
29
+ "content": "<|object_ref_start|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "248048": {
37
+ "content": "<|object_ref_end|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "248049": {
45
+ "content": "<|box_start|>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "248050": {
53
+ "content": "<|box_end|>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "248051": {
61
+ "content": "<|quad_start|>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "248052": {
69
+ "content": "<|quad_end|>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "248053": {
77
+ "content": "<|vision_start|>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "248054": {
85
+ "content": "<|vision_end|>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "248055": {
93
+ "content": "<|vision_pad|>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "248056": {
101
+ "content": "<|image_pad|>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "248057": {
109
+ "content": "<|video_pad|>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "248058": {
117
+ "content": "<tool_call>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": false
123
+ },
124
+ "248059": {
125
+ "content": "</tool_call>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": false
131
+ },
132
+ "248060": {
133
+ "content": "<|fim_prefix|>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": false
139
+ },
140
+ "248061": {
141
+ "content": "<|fim_middle|>",
142
+ "lstrip": false,
143
+ "normalized": false,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": false
147
+ },
148
+ "248062": {
149
+ "content": "<|fim_suffix|>",
150
+ "lstrip": false,
151
+ "normalized": false,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": false
155
+ },
156
+ "248063": {
157
+ "content": "<|fim_pad|>",
158
+ "lstrip": false,
159
+ "normalized": false,
160
+ "rstrip": false,
161
+ "single_word": false,
162
+ "special": false
163
+ },
164
+ "248064": {
165
+ "content": "<|repo_name|>",
166
+ "lstrip": false,
167
+ "normalized": false,
168
+ "rstrip": false,
169
+ "single_word": false,
170
+ "special": false
171
+ },
172
+ "248065": {
173
+ "content": "<|file_sep|>",
174
+ "lstrip": false,
175
+ "normalized": false,
176
+ "rstrip": false,
177
+ "single_word": false,
178
+ "special": false
179
+ },
180
+ "248066": {
181
+ "content": "<tool_response>",
182
+ "lstrip": false,
183
+ "normalized": false,
184
+ "rstrip": false,
185
+ "single_word": false,
186
+ "special": false
187
+ },
188
+ "248067": {
189
+ "content": "</tool_response>",
190
+ "lstrip": false,
191
+ "normalized": false,
192
+ "rstrip": false,
193
+ "single_word": false,
194
+ "special": false
195
+ },
196
+ "248068": {
197
+ "content": "<think>",
198
+ "lstrip": false,
199
+ "normalized": false,
200
+ "rstrip": false,
201
+ "single_word": false,
202
+ "special": false
203
+ },
204
+ "248069": {
205
+ "content": "</think>",
206
+ "lstrip": false,
207
+ "normalized": false,
208
+ "rstrip": false,
209
+ "single_word": false,
210
+ "special": false
211
+ },
212
+ "248070": {
213
+ "content": "<|audio_start|>",
214
+ "lstrip": false,
215
+ "normalized": false,
216
+ "rstrip": false,
217
+ "single_word": false,
218
+ "special": true
219
+ },
220
+ "248071": {
221
+ "content": "<|audio_end|>",
222
+ "lstrip": false,
223
+ "normalized": false,
224
+ "rstrip": false,
225
+ "single_word": false,
226
+ "special": true
227
+ },
228
+ "248072": {
229
+ "content": "<tts_pad>",
230
+ "lstrip": false,
231
+ "normalized": false,
232
+ "rstrip": false,
233
+ "single_word": false,
234
+ "special": true
235
+ },
236
+ "248073": {
237
+ "content": "<tts_text_bos>",
238
+ "lstrip": false,
239
+ "normalized": false,
240
+ "rstrip": false,
241
+ "single_word": false,
242
+ "special": true
243
+ },
244
+ "248074": {
245
+ "content": "<tts_text_eod>",
246
+ "lstrip": false,
247
+ "normalized": false,
248
+ "rstrip": false,
249
+ "single_word": false,
250
+ "special": true
251
+ },
252
+ "248075": {
253
+ "content": "<tts_text_bos_single>",
254
+ "lstrip": false,
255
+ "normalized": false,
256
+ "rstrip": false,
257
+ "single_word": false,
258
+ "special": true
259
+ },
260
+ "248076": {
261
+ "content": "<|audio_pad|>",
262
+ "lstrip": false,
263
+ "normalized": false,
264
+ "rstrip": false,
265
+ "single_word": false,
266
+ "special": true
267
+ }
268
+ },
269
+ "additional_special_tokens": [
270
+ "<|im_start|>",
271
+ "<|im_end|>",
272
+ "<|object_ref_start|>",
273
+ "<|object_ref_end|>",
274
+ "<|box_start|>",
275
+ "<|box_end|>",
276
+ "<|quad_start|>",
277
+ "<|quad_end|>",
278
+ "<|vision_start|>",
279
+ "<|vision_end|>",
280
+ "<|vision_pad|>",
281
+ "<|image_pad|>",
282
+ "<|video_pad|>"
283
+ ],
284
+ "bos_token": null,
285
+ "chat_template": "{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n {%- if content is string %}\n {{- content }}\n {%- elif content is iterable and content is not mapping %}\n {%- for item in content %}\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain images.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n {%- elif 'video' in item or item.type == 'video' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain videos.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Video ' ~ video_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n {%- elif 'text' in item %}\n {{- item.text }}\n {%- else %}\n {{- raise_exception('Unexpected item type in content.') }}\n {%- endif %}\n {%- endfor %}\n {%- elif content is none or content is undefined %}\n {{- '' }}\n {%- else %}\n {{- raise_exception('Unexpected content type.') }}\n {%- endif %}\n{%- endmacro %}\n{%- if not messages %}\n {{- raise_exception('No messages provided.') }}\n{%- endif %}\n{%- set reasoning_instructions = '' %}\n{%- if enable_thinking is undefined or enable_thinking is true %}\n {%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}\n {%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}\n {{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}\n {%- endif %}\n {%- if resolved_reasoning_effort == 'xhigh' %}\n {%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}\n {%- elif resolved_reasoning_effort == 'low' %}\n {%- set reasoning_instructions = 'Reasoning effort is set to low. Keep your thinking brief and focused, moving directly to the conclusion without unnecessary elaboration.' %}\n {%- endif %}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {%- if reasoning_instructions %}\n {{- reasoning_instructions + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\" }}\n {{- '\\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>' }}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '\\n\\n' + content }}\n {%- endif %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '<|im_start|>system\\n' + (reasoning_instructions + '\\n\\n' if reasoning_instructions else '') + content + '<|im_end|>\\n' }}\n {%- elif reasoning_instructions %}\n {{- '<|im_start|>system\\n' + reasoning_instructions + '<|im_end|>\\n' }}\n {%- endif %}\n {%- elif reasoning_instructions %}\n {{- '<|im_start|>system\\n' + reasoning_instructions + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" %}\n {%- set content = render_content(message.content, false)|trim %}\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n{%- for message in messages %}\n {%- set content = render_content(message.content, true)|trim %}\n {%- if message.role == \"system\" %}\n {%- if not loop.first %}\n {{- raise_exception('System message must be at the beginning.') }}\n {%- endif %}\n {%- elif message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if preserve_thinking is undefined or preserve_thinking is true or loop.index0 > ns.last_query_index %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {%- if loop.first %}\n {%- if content|trim %}\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- else %}\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- else %}\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- if tool_call.arguments is defined and tool_call.arguments != '' %}\n {%- for args_name, args_value in tool_call.arguments|items %}\n {{- '<parameter=' + args_name + '>\\n' }}\n {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}\n {{- args_value }}\n {{- '\\n</parameter>\\n' }}\n {%- endfor %}\n {%- endif %}\n {{- '</function>\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n {{- '<|im_end|>\\n' }}\n {%- elif loop.last %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- else %}\n {{- raise_exception('Unexpected message role.') }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- else %}\n {{- '<think>\\n' }}\n {%- endif %}\n{%- endif %}",
286
+ "clean_up_tokenization_spaces": false,
287
+ "eos_token": "<|im_end|>",
288
+ "errors": "replace",
289
+ "model_max_length": 262144,
290
+ "pad_token": "<|endoftext|>",
291
+ "split_special_tokens": false,
292
+ "tokenizer_class": "Qwen2Tokenizer",
293
+ "unk_token": null,
294
+ "add_bos_token": false,
295
+ "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+",
296
+ "extra_special_tokens": {
297
+ "audio_bos_token": "<|audio_start|>",
298
+ "audio_eos_token": "<|audio_end|>",
299
+ "audio_token": "<|audio_pad|>",
300
+ "image_token": "<|image_pad|>",
301
+ "video_token": "<|video_pad|>",
302
+ "vision_bos_token": "<|vision_start|>",
303
+ "vision_eos_token": "<|vision_end|>"
304
+ }
305
+ }
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