justintong commited on
Commit
7b71922
·
0 Parent(s):

Qwen3.8-Flash-Next-NVFP4: NVFP4 routed experts + FP8 PLE (135GB)

Browse files

NVFP4 W4A4 quantization of the 48 routed-expert MoE layers of
Qwen/Qwen3.8-Flash-Next (Model Optimizer snapshot 87c9f8cf, group 16);
PLE n-gram embedding tables in FP8 from Qwen/Qwen3.8-Flash-Next-FP8;
all other tensors BF16 source-identical. GSM8K 97.27%, AIME26 pass@1
98.75% (previous PLE revision). Full integrity evidence included.

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +37 -0
  2. README.md +150 -0
  3. aime26_metrics.json +41 -0
  4. audit_unchanged_report.json +6 -0
  5. chat_template.jinja +170 -0
  6. config.json +197 -0
  7. conversion_environment.json +13 -0
  8. generation_config.json +12 -0
  9. gsm8k_metrics.json +33 -0
  10. hf_quant_config.json +25 -0
  11. layer-00000-experts-0000-0127.complete.json +252 -0
  12. layer-00000-experts-0000-0127.safetensors +3 -0
  13. layer-00000-experts-0128-0255.complete.json +252 -0
  14. layer-00000-experts-0128-0255.safetensors +3 -0
  15. layer-00000-experts-0256-0383.complete.json +252 -0
  16. layer-00000-experts-0256-0383.safetensors +3 -0
  17. layer-00000-experts-0384-0511.complete.json +252 -0
  18. layer-00000-experts-0384-0511.safetensors +3 -0
  19. layer-00001-experts-0000-0127.complete.json +252 -0
  20. layer-00001-experts-0000-0127.safetensors +3 -0
  21. layer-00001-experts-0128-0255.complete.json +252 -0
  22. layer-00001-experts-0128-0255.safetensors +3 -0
  23. layer-00001-experts-0256-0383.complete.json +252 -0
  24. layer-00001-experts-0256-0383.safetensors +3 -0
  25. layer-00001-experts-0384-0511.complete.json +252 -0
  26. layer-00001-experts-0384-0511.safetensors +3 -0
  27. layer-00002-experts-0000-0127.complete.json +252 -0
  28. layer-00002-experts-0000-0127.safetensors +3 -0
  29. layer-00002-experts-0128-0255.complete.json +252 -0
  30. layer-00002-experts-0128-0255.safetensors +3 -0
  31. layer-00002-experts-0256-0383.complete.json +252 -0
  32. layer-00002-experts-0256-0383.safetensors +3 -0
  33. layer-00002-experts-0384-0511.complete.json +252 -0
  34. layer-00002-experts-0384-0511.safetensors +3 -0
  35. layer-00003-experts-0000-0127.complete.json +252 -0
  36. layer-00003-experts-0000-0127.safetensors +3 -0
  37. layer-00003-experts-0128-0255.complete.json +252 -0
  38. layer-00003-experts-0128-0255.safetensors +3 -0
  39. layer-00003-experts-0256-0383.complete.json +252 -0
  40. layer-00003-experts-0256-0383.safetensors +3 -0
  41. layer-00003-experts-0384-0511.complete.json +252 -0
  42. layer-00003-experts-0384-0511.safetensors +3 -0
  43. layer-00004-experts-0000-0127.complete.json +252 -0
  44. layer-00004-experts-0000-0127.safetensors +3 -0
  45. layer-00004-experts-0128-0255.complete.json +252 -0
  46. layer-00004-experts-0128-0255.safetensors +3 -0
  47. layer-00004-experts-0256-0383.complete.json +252 -0
  48. layer-00004-experts-0256-0383.safetensors +3 -0
  49. layer-00004-experts-0384-0511.complete.json +252 -0
  50. layer-00004-experts-0384-0511.safetensors +3 -0
.gitattributes ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz 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
README.md ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: image-text-to-text
3
+ base_model:
4
+ - Qwen/Qwen3.8-Flash-Next
5
+ license: other
6
+ library_name: Model Optimizer
7
+ tags:
8
+ - ModelOpt
9
+ - Qwen3.8
10
+ - quantized
11
+ - FP4
12
+ - fp4
13
+ - sglang
14
+ ---
15
+
16
+ # Model Overview
17
+
18
+ ## Description:
19
+ RadixArk Qwen3.8-Flash-Next-NVFP4 is the quantized version of
20
+ [Qwen/Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next),
21
+ a hybrid-architecture multimodal Mixture-of-Experts model. Quantization was
22
+ performed with [NVIDIA Model Optimizer](https://github.com/NVIDIA/TensorRT-Model-Optimizer)
23
+ (snapshot `87c9f8cf`) using the NVFP4 W4A4 recipe, scoped to the routed
24
+ experts only.
25
+
26
+ This checkpoint is a private candidate release.
27
+
28
+ ## References
29
+ NVIDIA Model Optimizer: https://github.com/NVIDIA/TensorRT-Model-Optimizer
30
+
31
+ ### License/Terms of Use:
32
+ See the [source model](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) for
33
+ license terms.
34
+
35
+ ### Use Case:
36
+ Developers evaluating NVFP4-quantized serving of Qwen3.8-Flash-Next for
37
+ agentic systems, chat, coding, and multimodal reasoning workloads.
38
+
39
+ ### Release Date:
40
+ Hugging Face on 08/25/2026 via https://huggingface.co/RadixArk/Qwen3.8-Flash-Next-NVFP4
41
+
42
+ ## Model Architecture:
43
+ **Architecture Type:** Transformer (hybrid GDN + QSA sparse attention,
44
+ multi-hyperconnection streams, PLE n-gram injection) <br>
45
+ **Network Architecture:** Multimodal MoE — 48 decoder layers, 512 routed
46
+ experts per MoE layer (top-10 routing) + shared expert, 1 MTP layer <br>
47
+ **Number of Model Parameters:** ~180B in total (360 GB BF16 source) <br>
48
+
49
+ ## Input:
50
+ **Input Type(s):** Text, Image, Video <br>
51
+ **Input Format(s):** String, RGB, Video <br>
52
+ **Other Properties Related to Input:** Context length up to 262K <br>
53
+
54
+ ## Output:
55
+ **Output Type(s):** Text <br>
56
+ **Output Format:** String <br>
57
+
58
+ ## Software Integration:
59
+ **Supported Runtime Engine(s):** <br>
60
+ * SGLang (with `qwen4_exp` model support) <br>
61
+
62
+ **Supported Hardware Microarchitecture Compatibility:** <br>
63
+ * NVIDIA Blackwell (validated on GB300 and B300) <br>
64
+
65
+ **Preferred Operating System(s):** <br>
66
+ * Linux <br>
67
+
68
+ ## Model Version(s):
69
+ NVFP4 candidate 1.0, quantized with nvidia-modelopt v0.46.0 (snapshot
70
+ `87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c`).
71
+
72
+ ## Calibration Dataset:
73
+ **Link:** [cnn_dailymail](https://huggingface.co/datasets/abisee/cnn_dailymail)
74
+ (config 3.0.0, train split) <br>
75
+ **Properties:** 128 articles (seed 1234), truncated to 512 tokens; MoE-block
76
+ input activations captured from live SGLang serving (prefill only),
77
+ 62,139 rows per layer; activation scales by max calibration over 8 seeded
78
+ sampled batches per part. Representativeness probe: GSM8K train [0:16] x2. <br>
79
+
80
+ ## Post Training Quantization
81
+ This model was obtained by quantizing Qwen3.8-Flash-Next to NVFP4, ready for
82
+ inference with SGLang. **Only the routed experts of the 48 main-model MoE
83
+ layers are quantized** (fused `gate_up_proj` / `down_proj`; 294,912 quantized
84
+ tensor entries) to NVFP4 W4A4 (E2M1, group size 16, FP8 E4M3 block scales,
85
+ FP32 global scales, dynamic NVFP4 activations). Attention, QSA, GDN, mHC,
86
+ shared experts, routers, embeddings, LM head, vision, and **all 31 MTP
87
+ tensors remain BF16 and byte-identical to the source**. **The PLE n-gram
88
+ embedding tables use the FP8-quantized versions from the updated
89
+ `Qwen/Qwen3.8-Flash-Next-FP8` revision** (128 shards F8_E4M3 + per-table
90
+ scalar scale, dequantized to BF16 at load time); the remaining PLE weights
91
+ stay BF16. No KV-cache quantization metadata. Checkpoint size is reduced
92
+ from 360 GB to 135 GB (~2.7x).
93
+
94
+ ## Usage
95
+
96
+ Serve with SGLang (requires a build with `qwen4_exp` support):
97
+
98
+ ```sh
99
+ python -m sglang.launch_server \
100
+ --model-path RadixArk/Qwen3.8-Flash-Next-NVFP4 \
101
+ --tp 2 \
102
+ --quantization modelopt_fp4 \
103
+ --fp4-gemm-backend flashinfer_cutlass \
104
+ --page-size 64 \
105
+ --mamba-scheduler-strategy extra_buffer \
106
+ --mamba-track-interval 64 \
107
+ --chunked-prefill-size 4096 \
108
+ --max-running-requests 36 \
109
+ --context-length 262144 \
110
+ --mem-fraction-static 0.80 \
111
+ --allow-auto-truncate \
112
+ --port 30000
113
+ ```
114
+
115
+ ## Evaluation
116
+ Results attributed to this exact checkpoint unless noted otherwise:
117
+
118
+ | Eval | Protocol | BF16 reference¹ | NVFP4 (this checkpoint) |
119
+ |---|---|---|---|
120
+ | GSM8K | full 1319, t0.6 / top-p 0.95 / max 8192 | 97.12–97.50² | **97.27** (stop 98.86, err 0) |
121
+ | AIME26 | 30 problems x 8, t1.0 / max 130k | 100 (240/240) | **98.75 pass@1** (majority@8 100, stop 99.17) ³ |
122
+
123
+ ¹ BF16 reference runs were recorded on an earlier checkpoint revision of the
124
+ same model line; the two revisions' weight deltas are not established, so
125
+ treat comparisons as indicative, not exact.
126
+ ² Range across three independent BF16 runs on the earlier revision.
127
+ ³ Measured on the previous revision of this checkpoint, whose weights differ
128
+ from the current revision only in the PLE embedding tables.
129
+
130
+ **Behavioral note:** this quantization preserves single-turn accuracy
131
+ (GSM8K/AIME in-band); long agentic generations tend to run longer than BF16.
132
+
133
+ ## Integrity Evidence
134
+ All audits pass on this exact checkpoint: structural audit (294,912 routed +
135
+ 1,562 unchanged + 31 MTP tensors), scale audit (221,184 finite positive
136
+ scales, min 2.13e-05, max 448.0), unchanged-content byte-equality audit
137
+ (1,562 tensors / 118.4 GB), deterministic serving smoke. Raw metrics:
138
+ `gsm8k_metrics.json`, `aime26_metrics.json`;
139
+ audit reports and details: `qualification-notes.md`,
140
+ `validate_checkpoint_report.json`, `validate_scales_report.json`,
141
+ `audit_unchanged_report.json`.
142
+
143
+ ## Model Limitations:
144
+ The base model was trained on data that contains toxic language and societal
145
+ biases originally crawled from the internet. Therefore, the model may amplify
146
+ those biases and return toxic responses especially when prompted with toxic
147
+ prompts. The model may generate answers that may be inaccurate, omit key
148
+ information, or include irrelevant or redundant text producing socially
149
+ unacceptable or undesirable text, even if the prompt itself does not include
150
+ anything explicitly offensive.
aime26_metrics.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "aggregate": {
3
+ "error_rate": 0.0,
4
+ "majority@8": 1.0,
5
+ "no_answer": 0.004166666666666667,
6
+ "pass@1": 0.9875,
7
+ "pass@1_sem": 0.0060993754559283304,
8
+ "pass@1_std": 0.017251638983558852,
9
+ "pass@8": 1.0,
10
+ "score": 0.9875,
11
+ "stop_rate": 0.9916666666666667,
12
+ "truncated_rate": 0.008333333333333333
13
+ },
14
+ "base_url": "http://127.0.0.1:30000/v1",
15
+ "gen": {
16
+ "chat_template_kwargs": {
17
+ "thinking": true
18
+ },
19
+ "extra_body": null,
20
+ "max_tokens": 130000,
21
+ "min_p": 0.0,
22
+ "reasoning_effort": null,
23
+ "repetition_penalty": 1.0,
24
+ "seed": 0,
25
+ "system_message": null,
26
+ "temperature": 1.0,
27
+ "top_p": 0.95
28
+ },
29
+ "latency_seconds": 11196.289524045998,
30
+ "model": "qwen38next-nvfp4",
31
+ "n_repeats": 8,
32
+ "name": "aime26",
33
+ "ns_commit_sha": "645cf567ff08c0ae9cc3fc8e1edbb975b3067816",
34
+ "num_examples": 30,
35
+ "num_threads": 8,
36
+ "output_throughput_tps": 440.48262501681074,
37
+ "sgl_eval_version": "0.0.1",
38
+ "timestamp": "20260825-064808",
39
+ "total_completion_tokens": 4931771,
40
+ "total_prompt_tokens": 48104
41
+ }
audit_unchanged_report.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "unchanged_compared": 1562,
3
+ "unchanged_bytes": 118408052728,
4
+ "mtp_compared": 31,
5
+ "verdict": "pass"
6
+ }
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,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen4ExpForConditionalGeneration"
4
+ ],
5
+ "image_token_id": 248056,
6
+ "language_model_only": false,
7
+ "model_type": "qwen4_exp",
8
+ "quantization_config": {
9
+ "config_groups": {
10
+ "group_0": {
11
+ "input_activations": {
12
+ "dynamic": false,
13
+ "group_size": 16,
14
+ "num_bits": 4,
15
+ "type": "float"
16
+ },
17
+ "targets": [
18
+ "Linear"
19
+ ],
20
+ "weights": {
21
+ "dynamic": false,
22
+ "group_size": 16,
23
+ "num_bits": 4,
24
+ "type": "float"
25
+ }
26
+ }
27
+ },
28
+ "ignore": [
29
+ "model.embed_tokens",
30
+ "mtp.*",
31
+ "model.mtp.*",
32
+ "*.self_attn.*",
33
+ "*.linear_attn.*",
34
+ "*.mlp.gate*",
35
+ "*.mlp.shared_expert.*",
36
+ "*.mlp.shared_expert_gate*",
37
+ "*hyper_connection*",
38
+ "*.ple.*",
39
+ "model.visual.*",
40
+ "model.language_model.embed_tokens",
41
+ "lm_head"
42
+ ],
43
+ "producer": {
44
+ "name": "modelopt",
45
+ "version": "0.46.0"
46
+ },
47
+ "quant_algo": "NVFP4",
48
+ "quant_method": "modelopt"
49
+ },
50
+ "text_config": {
51
+ "attention_bias": false,
52
+ "attention_dropout": 0.0,
53
+ "bos_token_id": 248044,
54
+ "dtype": "bfloat16",
55
+ "eos_token_id": 248044,
56
+ "full_attention_interval": 4,
57
+ "hc_count": 4,
58
+ "hc_lowrank": 320,
59
+ "head_dim": 256,
60
+ "heads_per_ngram": 8,
61
+ "hidden_act": "silu",
62
+ "hidden_size": 2560,
63
+ "indexer_budget": 2048,
64
+ "indexer_compress_ratio": 4,
65
+ "indexer_head_dim": 128,
66
+ "indexer_kv_heads": 1,
67
+ "indexer_n_heads": 4,
68
+ "initializer_range": 0.02,
69
+ "layer_types": [
70
+ "linear_attention",
71
+ "linear_attention",
72
+ "linear_attention",
73
+ "full_attention",
74
+ "linear_attention",
75
+ "linear_attention",
76
+ "linear_attention",
77
+ "full_attention",
78
+ "linear_attention",
79
+ "linear_attention",
80
+ "linear_attention",
81
+ "full_attention",
82
+ "linear_attention",
83
+ "linear_attention",
84
+ "linear_attention",
85
+ "full_attention",
86
+ "linear_attention",
87
+ "linear_attention",
88
+ "linear_attention",
89
+ "full_attention",
90
+ "linear_attention",
91
+ "linear_attention",
92
+ "linear_attention",
93
+ "full_attention",
94
+ "linear_attention",
95
+ "linear_attention",
96
+ "linear_attention",
97
+ "full_attention",
98
+ "linear_attention",
99
+ "linear_attention",
100
+ "linear_attention",
101
+ "full_attention",
102
+ "linear_attention",
103
+ "linear_attention",
104
+ "linear_attention",
105
+ "full_attention",
106
+ "linear_attention",
107
+ "linear_attention",
108
+ "linear_attention",
109
+ "full_attention",
110
+ "linear_attention",
111
+ "linear_attention",
112
+ "linear_attention",
113
+ "full_attention",
114
+ "linear_attention",
115
+ "linear_attention",
116
+ "linear_attention",
117
+ "full_attention"
118
+ ],
119
+ "linear_conv_kernel_dim": 4,
120
+ "linear_key_head_dim": 128,
121
+ "linear_num_key_heads": 16,
122
+ "linear_num_value_heads": 48,
123
+ "linear_value_head_dim": 128,
124
+ "make_ngram_vocab_size_divisible_by": 128,
125
+ "mamba_ssm_dtype": "float32",
126
+ "max_position_embeddings": 262144,
127
+ "model_type": "qwen4_exp_text",
128
+ "moe_intermediate_size": 640,
129
+ "mtp": {
130
+ "hybrid": true,
131
+ "layer_types": [
132
+ "full_attention"
133
+ ],
134
+ "mtp_use_hidden_state_from_layer": null,
135
+ "num_hidden_layers": 1,
136
+ "rope_theta": 10000000
137
+ },
138
+ "mtp_num_hidden_layers": 1,
139
+ "mtp_use_dedicated_embeddings": false,
140
+ "ngram_size": 3,
141
+ "ngram_vocab_size_base": 20000000,
142
+ "num_attention_heads": 24,
143
+ "num_experts": 512,
144
+ "num_experts_per_tok": 10,
145
+ "num_hidden_layers": 48,
146
+ "num_key_value_heads": 2,
147
+ "output_gate_type": "sigmoid",
148
+ "output_router_logits": false,
149
+ "pad_token_id": null,
150
+ "partial_rotary_factor": 0.25,
151
+ "ple_conv_kernel_size": 4,
152
+ "ple_embed_dim": 2560,
153
+ "ple_layer_ids": [
154
+ 2
155
+ ],
156
+ "rms_norm_eps": 1e-06,
157
+ "rope_parameters": {
158
+ "mrope_interleaved": true,
159
+ "mrope_section": [
160
+ 11,
161
+ 11,
162
+ 10
163
+ ],
164
+ "partial_rotary_factor": 0.25,
165
+ "rope_theta": 10000000,
166
+ "rope_type": "default"
167
+ },
168
+ "router_aux_loss_coef": 0.001,
169
+ "shared_expert_intermediate_size": 640,
170
+ "split_ngram_parts": 128,
171
+ "tie_word_embeddings": false,
172
+ "use_cache": true,
173
+ "vocab_size": 248320,
174
+ "ple_embedding_dtype": "float8_e4m3fn"
175
+ },
176
+ "tie_word_embeddings": false,
177
+ "transformers_version": "5.8.0.dev0",
178
+ "video_token_id": 248057,
179
+ "vision_config": {
180
+ "deepstack_visual_indexes": [],
181
+ "depth": 27,
182
+ "hidden_act": "gelu_pytorch_tanh",
183
+ "hidden_size": 1152,
184
+ "in_channels": 3,
185
+ "initializer_range": 0.02,
186
+ "intermediate_size": 4304,
187
+ "model_type": "qwen4_exp",
188
+ "num_heads": 16,
189
+ "num_position_embeddings": 2304,
190
+ "out_hidden_size": 2560,
191
+ "patch_size": 16,
192
+ "spatial_merge_size": 2,
193
+ "temporal_patch_size": 2
194
+ },
195
+ "vision_end_token_id": 248054,
196
+ "vision_start_token_id": 248053
197
+ }
conversion_environment.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accelerate": "1.14.0",
3
+ "cuda": "13.0",
4
+ "datasets": "5.0.1",
5
+ "modelopt_clean": true,
6
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
7
+ "modelopt_distribution": "nvidia-modelopt",
8
+ "modelopt_version": "0.46.0",
9
+ "python": "3.12.3",
10
+ "pytorch": "2.13.0+cu130",
11
+ "safetensors": "0.8.0",
12
+ "transformers": "5.12.1"
13
+ }
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
+ }
gsm8k_metrics.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "aggregate": {
3
+ "error_rate": 0.0,
4
+ "score": 0.9727065959059894,
5
+ "stop_rate": 0.9886277482941622,
6
+ "truncated_rate": 0.011372251705837756
7
+ },
8
+ "base_url": "http://127.0.0.1:30001/v1",
9
+ "gen": {
10
+ "chat_template_kwargs": null,
11
+ "extra_body": null,
12
+ "max_tokens": 8192,
13
+ "min_p": 0.0,
14
+ "reasoning_effort": null,
15
+ "repetition_penalty": 1.0,
16
+ "seed": 0,
17
+ "system_message": null,
18
+ "temperature": 0.6,
19
+ "top_p": 0.95
20
+ },
21
+ "latency_seconds": 829.4909560070373,
22
+ "model": "qwen38next-nvfp4-plefp8",
23
+ "n_repeats": 1,
24
+ "name": "gsm8k",
25
+ "ns_commit_sha": "645cf567ff08c0ae9cc3fc8e1edbb975b3067816",
26
+ "num_examples": 1319,
27
+ "num_threads": 16,
28
+ "output_throughput_tps": 687.4095442158896,
29
+ "sgl_eval_version": "0.0.1",
30
+ "timestamp": "20260826-083046",
31
+ "total_completion_tokens": 570200,
32
+ "total_prompt_tokens": 179677
33
+ }
hf_quant_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "producer": {
3
+ "name": "modelopt",
4
+ "version": "0.46.0"
5
+ },
6
+ "quantization": {
7
+ "exclude_modules": [
8
+ "model.embed_tokens",
9
+ "mtp.*",
10
+ "model.mtp.*",
11
+ "*.self_attn.*",
12
+ "*.linear_attn.*",
13
+ "*.mlp.gate*",
14
+ "*.mlp.shared_expert.*",
15
+ "*.mlp.shared_expert_gate*",
16
+ "*hyper_connection*",
17
+ "*.ple.*",
18
+ "model.visual.*",
19
+ "model.language_model.embed_tokens",
20
+ "lm_head"
21
+ ],
22
+ "group_size": 16,
23
+ "quant_algo": "NVFP4"
24
+ }
25
+ }
layer-00000-experts-0000-0127.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 0,
20
+ 128
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 0,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "0ac37cbedf1a8c6c4f9838500399bf77a4292649baa60df1a2fca446fc69724f",
69
+ "output_size": 354075168,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00000-experts-0000-0127.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d367f9ed6570543e49a99db0a8f88fe12ed94117f9bb3db0d90624937cb56457
3
+ size 354098208
layer-00000-experts-0128-0255.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 128,
20
+ 256
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 0,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "b402b6bbf71176ea630ff3ebff6f012062effe9884d3fb0d203be8acf1a5721b",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00000-experts-0128-0255.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e24ede1ac5e0341608da8ada2989bc92981ff6286e2f1601025ccb8c8d8b36ee
3
+ size 354099528
layer-00000-experts-0256-0383.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 256,
20
+ 384
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 0,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "23adf1ec6cf108474eb393ecd89371efa66a851d69c05ac00af8afb9afdae9f8",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00000-experts-0256-0383.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ab7f14e3072a3073079701c721c05aca111c365336294d9eb78651355565bd3
3
+ size 354099528
layer-00000-experts-0384-0511.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 384,
20
+ 512
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 0,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "dfdbe7c9814f9bd8690894e6137ef46330b87dab3a0705473ab31c543532e8d4",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00000-experts-0384-0511.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d91a60f90dbc44655c37d97d7eb37c93d5a8a872b92efed20f77d0705277045
3
+ size 354099528
layer-00001-experts-0000-0127.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 0,
20
+ 128
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 1,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "bda2dc2dcfb2c93cd4a1cbed9203201cbbf7c02fc76579eaec163c024fdcbb47",
69
+ "output_size": 354075168,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00001-experts-0000-0127.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f987d5b4bf0a09f933e77230a7155917caeccd684a9c2af65ae055e7ba2f5841
3
+ size 354098208
layer-00001-experts-0128-0255.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 128,
20
+ 256
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 1,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "c5394fbed9d0bf80b7fc67d7863d6df34e5e58ef3c3358b5901b7eed241f980a",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00001-experts-0128-0255.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bfd3aa965124674ef499f5e33e842ef6e012755dfa659da1e09a2f689a3257d
3
+ size 354099528
layer-00001-experts-0256-0383.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 256,
20
+ 384
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 1,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "065a3fceb73e32644195a430b20e2370ba4379298a26bd80d7e2c11280f1d6f1",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00001-experts-0256-0383.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e38e9e9a79a96cad1473f129897ff2fa79593b65cc9dd1d7416370b96675040
3
+ size 354099528
layer-00001-experts-0384-0511.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 384,
20
+ 512
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 1,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "b6946721baf07acfc4c538a0fcfd07a51392561b4a3871ff210a2f4d957267c6",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00001-experts-0384-0511.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f277f27504d22712822fb711071a212dd695841c9cbf4be7d3719d78f64d3db
3
+ size 354099528
layer-00002-experts-0000-0127.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 0,
20
+ 128
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 2,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "bd453f47991175249ce5bdc61fb790a1f16a77763e98edd1fbf7a497dd56b045",
69
+ "output_size": 354075168,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00002-experts-0000-0127.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e50f19bc1547c83a18d278b5b7c1cb544d76ee1a9487ee16be6e2af7a5135244
3
+ size 354098208
layer-00002-experts-0128-0255.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 128,
20
+ 256
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 2,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "7c2bb9b39e38874fa33f2becd00621ef21eb3ca216401178d918c86349a0f57f",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00002-experts-0128-0255.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76671caa9d6bef00bdead734b3b325aa08091ba3ff10df802ab3a8299cb4380e
3
+ size 354099528
layer-00002-experts-0256-0383.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 256,
20
+ 384
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 2,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "2cd7e8c074d7b3001277a97d283b0a673a3de15a439896a21a9dc54635e11f7c",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00002-experts-0256-0383.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21170bf6d48641a8deb3b72c91a92386361ac15071cb96bc8c3ec60dd4c1428c
3
+ size 354099528
layer-00002-experts-0384-0511.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 384,
20
+ 512
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 2,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "4c0d043d6e05bb59abb8fe2c61c9b838c4ce84b1dca486b335e41d24e4a750b4",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00002-experts-0384-0511.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc02c5de9f8be6cc33c8b9426022ab3af2e8de71665d75b49863e3c4243fd3f6
3
+ size 354099528
layer-00003-experts-0000-0127.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 0,
20
+ 128
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 3,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "9a436059eafd9119f41fcf4985db0d862d94f26774c73913c321aa694ead99a5",
69
+ "output_size": 354075168,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00003-experts-0000-0127.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a41d71d0405ce057ea78c81fe967cda0e4df89b70eca587306798007aae674
3
+ size 354098208
layer-00003-experts-0128-0255.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 128,
20
+ 256
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 3,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "90f03bf3846affea237f3a74061cf16bba5c6fc86ba1b3cded647c9832b05520",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00003-experts-0128-0255.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13d153729652cba5f9f33eb5f7cbc4c2696453d5d7c125b451a5b04319cf8c02
3
+ size 354099528
layer-00003-experts-0256-0383.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 256,
20
+ 384
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 3,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "aa50ccb55772ba8db52fdae7a8c21040dd23c7db48f791e3122aa876205fb090",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00003-experts-0256-0383.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:000bb3a3a9148a08cd12ecfb308fc9dc565026aff9fa3f6a39e300a91d21e463
3
+ size 354099528
layer-00003-experts-0384-0511.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 384,
20
+ 512
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 3,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "a16f1c45e87454acd6a0400af11c59b419238b5ede64b319de8091e52f431806",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00003-experts-0384-0511.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e27cb3b27f029ec5c18d78cea549f7939336894c2ae01b0b4c174626f639201b
3
+ size 354099528
layer-00004-experts-0000-0127.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 0,
20
+ 128
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 4,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "05b5a3d5b9fb0e3b29cea7fefd2b0bf096b7d6d6bf76c71b7679fde4b72760dd",
69
+ "output_size": 354075168,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00004-experts-0000-0127.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e784a5b42e35615d3f2eb8ab264ab6d1498e3e8791076b3b0a1c34f3eac9c8c6
3
+ size 354098208
layer-00004-experts-0128-0255.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 128,
20
+ 256
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 4,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "6292f7cbf49b01607831f36bdec1ab2ea4bb30c7df9d19e96f4641715b8f2e3d",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00004-experts-0128-0255.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2479cc9a39ff2648f9c225ade0ce635ab7393662793f7097ff0f502a9b0e44b2
3
+ size 354099528
layer-00004-experts-0256-0383.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 256,
20
+ 384
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 4,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "f73819f3e4464a2df5a924c4414fa6f07b70d6dd197eefc65a0f92aaf7b4879f",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00004-experts-0256-0383.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4926bf02da40ce2adfb2c2e06325b81340d91589aa7c383a8d047bc499c8f573
3
+ size 354099528
layer-00004-experts-0384-0511.complete.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calibration_contract": {
3
+ "activation_pool_rows": 62139,
4
+ "base_seed": 1234,
5
+ "batch_seed": "base_seed + layer * 16 + batch",
6
+ "batch_size": 1,
7
+ "batches_per_part": 8,
8
+ "capture_dataset": "cnn_dailymail train (abisee/cnn_dailymail 3.0.0)",
9
+ "capture_manifest_sha256": "5c2a769728dde49a592036768c8efad1d0488b1342a36ca46f1a5eff0a52727f",
10
+ "capture_samples": 128,
11
+ "capture_seed": 1234,
12
+ "capture_seq_len": 512,
13
+ "hidden_state_source": "sglang port forward pre-hook on each MoE block input, tp=2 rank0, prefill only",
14
+ "model_seed": "base_seed + layer",
15
+ "sequence_length": 512,
16
+ "type": "captured_real_activations"
17
+ },
18
+ "expert_range": [
19
+ 384,
20
+ 512
21
+ ],
22
+ "exported_quantization_config": {
23
+ "config_groups": {
24
+ "group_0": {
25
+ "input_activations": {
26
+ "dynamic": false,
27
+ "group_size": 16,
28
+ "num_bits": 4,
29
+ "type": "float"
30
+ },
31
+ "targets": [
32
+ "Linear"
33
+ ],
34
+ "weights": {
35
+ "dynamic": false,
36
+ "group_size": 16,
37
+ "num_bits": 4,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "ignore": [
43
+ "model.embed_tokens"
44
+ ],
45
+ "producer": {
46
+ "name": "modelopt",
47
+ "version": "0.46.0"
48
+ },
49
+ "quant_algo": "NVFP4",
50
+ "quant_method": "modelopt"
51
+ },
52
+ "layer": 4,
53
+ "legacy_quantization_config": {
54
+ "producer": {
55
+ "name": "modelopt",
56
+ "version": "0.46.0"
57
+ },
58
+ "quantization": {
59
+ "exclude_modules": [
60
+ "model.embed_tokens"
61
+ ],
62
+ "group_size": 16,
63
+ "kv_cache_quant_algo": null,
64
+ "quant_algo": "NVFP4"
65
+ }
66
+ },
67
+ "modelopt_commit": "87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c",
68
+ "output_sha256": "06c3e95bc1bc721ff9cc40bc155ea0b5afa857ca037cfc154b76bd142593b050",
69
+ "output_size": 354076488,
70
+ "quantization_recipe": {
71
+ "algorithm": "max",
72
+ "quant_cfg": [
73
+ {
74
+ "enable": false,
75
+ "quantizer_name": "*"
76
+ },
77
+ {
78
+ "cfg": {
79
+ "block_sizes": {
80
+ "-1": 16,
81
+ "scale_bits": [
82
+ 4,
83
+ 3
84
+ ],
85
+ "type": "dynamic"
86
+ },
87
+ "effective_bits": 4.5,
88
+ "num_bits": [
89
+ 2,
90
+ 1
91
+ ]
92
+ },
93
+ "quantizer_name": "*block_sparse_moe*weight_quantizer"
94
+ },
95
+ {
96
+ "cfg": {
97
+ "block_sizes": {
98
+ "-1": 16,
99
+ "scale_bits": [
100
+ 4,
101
+ 3
102
+ ],
103
+ "type": "dynamic"
104
+ },
105
+ "effective_bits": 4.5,
106
+ "num_bits": [
107
+ 2,
108
+ 1
109
+ ]
110
+ },
111
+ "quantizer_name": "*block_sparse_moe*input_quantizer"
112
+ },
113
+ {
114
+ "cfg": {
115
+ "block_sizes": {
116
+ "-1": 16,
117
+ "scale_bits": [
118
+ 4,
119
+ 3
120
+ ],
121
+ "type": "dynamic"
122
+ },
123
+ "effective_bits": 4.5,
124
+ "num_bits": [
125
+ 2,
126
+ 1
127
+ ]
128
+ },
129
+ "quantizer_name": "*.experts.*weight_quantizer"
130
+ },
131
+ {
132
+ "cfg": {
133
+ "block_sizes": {
134
+ "-1": 16,
135
+ "scale_bits": [
136
+ 4,
137
+ 3
138
+ ],
139
+ "type": "dynamic"
140
+ },
141
+ "effective_bits": 4.5,
142
+ "num_bits": [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ "quantizer_name": "*.experts.*input_quantizer"
148
+ },
149
+ {
150
+ "enable": false,
151
+ "quantizer_name": "*block_sparse_moe.gate*"
152
+ },
153
+ {
154
+ "enable": false,
155
+ "quantizer_name": "*linear_attn.conv1d*"
156
+ },
157
+ {
158
+ "enable": false,
159
+ "quantizer_name": "*linear_attn.in_proj_a*"
160
+ },
161
+ {
162
+ "enable": false,
163
+ "quantizer_name": "*linear_attn.in_proj_b*"
164
+ },
165
+ {
166
+ "enable": false,
167
+ "quantizer_name": "*lm_head*"
168
+ },
169
+ {
170
+ "enable": false,
171
+ "quantizer_name": "*mixer.conv1d*"
172
+ },
173
+ {
174
+ "enable": false,
175
+ "quantizer_name": "*mlp.gate.*"
176
+ },
177
+ {
178
+ "enable": false,
179
+ "quantizer_name": "*mlp.shared_expert_gate.*"
180
+ },
181
+ {
182
+ "enable": false,
183
+ "quantizer_name": "*output_layer*"
184
+ },
185
+ {
186
+ "enable": false,
187
+ "quantizer_name": "*proj_out.*"
188
+ },
189
+ {
190
+ "enable": false,
191
+ "quantizer_name": "*router*"
192
+ },
193
+ {
194
+ "enable": false,
195
+ "quantizer_name": "output.*"
196
+ },
197
+ {
198
+ "enable": false,
199
+ "quantizer_name": "*embed_vision*"
200
+ },
201
+ {
202
+ "enable": false,
203
+ "quantizer_name": "*vision_tower*"
204
+ },
205
+ {
206
+ "enable": false,
207
+ "quantizer_name": "*visual*"
208
+ },
209
+ {
210
+ "enable": false,
211
+ "quantizer_name": "*vision_model*"
212
+ },
213
+ {
214
+ "enable": false,
215
+ "quantizer_name": "*multi_modal_projector*"
216
+ },
217
+ {
218
+ "enable": false,
219
+ "parent_class": "nn.BatchNorm1d",
220
+ "quantizer_name": "*"
221
+ },
222
+ {
223
+ "enable": false,
224
+ "parent_class": "nn.BatchNorm2d",
225
+ "quantizer_name": "*"
226
+ },
227
+ {
228
+ "enable": false,
229
+ "parent_class": "nn.BatchNorm3d",
230
+ "quantizer_name": "*"
231
+ },
232
+ {
233
+ "enable": false,
234
+ "parent_class": "nn.LeakyReLU",
235
+ "quantizer_name": "*"
236
+ },
237
+ {
238
+ "enable": false,
239
+ "parent_class": "nn.Embedding",
240
+ "quantizer_name": "*"
241
+ },
242
+ {
243
+ "enable": false,
244
+ "quantizer_name": "*mtp*"
245
+ }
246
+ ]
247
+ },
248
+ "reference_config_sha256": "11a62dc500ac8575f281019a9468ddb3114e75729874cfc5fd5115ee3b32a0ae",
249
+ "source_config_sha256": "889658f2508e8c61d409b02e70e0d78d8d4452ec65aaafbe129805d213d2e74b",
250
+ "source_index_sha256": "99e815241ef03325536b0aaa4441deea45174c17fae31e10f0bb456410c590de",
251
+ "tensor_entries": 1536
252
+ }
layer-00004-experts-0384-0511.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a05a14cd5e08b38074b35b39e4c961402827d3b9e4737df4b76fc338483859ab
3
+ size 354099528