55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
|
|
model:
|
||
|
|
name: Qwen3-Next-80B-A3B-Instruct
|
||
|
|
model_type: qwen3_moe
|
||
|
|
|
||
|
|
paths:
|
||
|
|
checkpoint_dir: /data/model/Qwen3-Next-80B-A3B-Thinking
|
||
|
|
output_dir: /data/model/Qwen3-Next-80B-A3B-Thinking-w4a8
|
||
|
|
|
||
|
|
runtime:
|
||
|
|
num_workers: 8
|
||
|
|
mode: quant # dequant | dequant+quant | quant (only support bf16)
|
||
|
|
|
||
|
|
retry_files: ~
|
||
|
|
|
||
|
|
quant:
|
||
|
|
version: 2
|
||
|
|
format:
|
||
|
|
TN:
|
||
|
|
- "re:.*experts.*"
|
||
|
|
NN: ~
|
||
|
|
batch_size: 64
|
||
|
|
block_size: 128
|
||
|
|
group_size: -1
|
||
|
|
symmetric: True
|
||
|
|
class:
|
||
|
|
int4:
|
||
|
|
- "re:.*experts.*"
|
||
|
|
int8: ~
|
||
|
|
ignore:
|
||
|
|
- "re:.*linear_attn.*"
|
||
|
|
- "re:.*self_attn.*"
|
||
|
|
- "re:.*shared_expert.*"
|
||
|
|
- "re:.*linear_attn.in_proj_ba.*"
|
||
|
|
- "re:.*conv1d.*"
|
||
|
|
- "re:.*A_log.*"
|
||
|
|
- "re:.*shared_expert_gate.*"
|
||
|
|
- "re:.*bias.*"
|
||
|
|
- "re:.*norm.*"
|
||
|
|
- "re:.*mlp.gate.*"
|
||
|
|
- "re:.*embed_tokens.*"
|
||
|
|
- "re:.*lm_head.*"
|
||
|
|
- "re:.*mtp.*"
|
||
|
|
|
||
|
|
dequant:
|
||
|
|
ignore:
|
||
|
|
- "re:.*linear_attn.in_proj_ba*"
|
||
|
|
- "re:.*conv1d.*"
|
||
|
|
- "re:.*A_log.*"
|
||
|
|
- "re:.*shared_expert_gate.*"
|
||
|
|
- "re:.*bias.*"
|
||
|
|
- "re:.*norm.*"
|
||
|
|
- "re:.*mlp.gate.*"
|
||
|
|
- "re:.*embed_tokens.*"
|
||
|
|
- "re:.*lm_head.*"
|