first commit

This commit is contained in:
2026-10-23 15:00:59 +08:00
commit 4627899899
156 changed files with 398139 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
model:
name: Qwen3-30B-A3B-Instruct-2507
model_type: qwen3_moe
paths:
checkpoint_dir: /home/mashun/vllm_project/checkpoints/Qwen3-30B-A3B-Instruct-2507
output_dir: /home/mashun/vllm_project/checkpoints/Qwen3-30B-A3B-Instruct-2507-w4a8
runtime:
num_workers: 8
mode: quant # dequant | dequant+quant | quant (only support bf16)
retry_files: ~
quant:
version: 2
format:
TN:
- "re:model.layers.\\d+.mlp.experts.\\d+.down_proj"
- "re:model.layers.\\d+.mlp.experts.\\d+.gate_proj"
- "re:model.layers.\\d+.mlp.experts.\\d+.up_proj"
- "re:model.layers.\\d+.self_attn.q_proj.*"
- "re:model.layers.\\d+.self_attn.v_proj.*"
- "re:model.layers.\\d+.self_attn.o_proj.*"
- "re:model.layers.\\d+.self_attn.k_proj.*"
NN: ~
batch_size: 64
block_size: 128
group_size: -1
symmetric: True
class:
int4:
- "re:model.layers.\\d+.mlp.experts.\\d+.down_proj"
- "re:model.layers.\\d+.mlp.experts.\\d+.gate_proj"
- "re:model.layers.\\d+.mlp.experts.\\d+.up_proj"
int8:
- "re:model.layers.\\d+.self_attn.q_proj.*"
- "re:model.layers.\\d+.self_attn.v_proj.*"
- "re:model.layers.\\d+.self_attn.o_proj.*"
- "re:model.layers.\\d+.self_attn.k_proj.*"
ignore:
- "re:lm_head.*"
- "re:model.norm.*"
- "re:model.embed_tokens.*"
- "re:model.layers.\\d+.input_layernorm.*"
- "re:model.layers.\\d+.mlp.gate.*"
- "re:model.layers.\\d+.post_attention_layernorm.*"
- "re:model.layers.\\d+.self_attn.k_norm.*"
- "re:model.layers.\\d+.self_attn.q_norm.*"
dequant:
ignore:
- "re:lm_head.*"
- "re:model.embed_tokens.*"
- "re:model.layers.\\d+.input_layernorm.*"
- "re:model.layers.\\d+.mlp.gate.*"
- "re:model.layers.\\d+.post_attention_layernorm.*"
- "re:model.layers.\\d+.self_attn.k_norm.*"
- "re:model.layers.\\d+.self_attn.q_norm.*"
- "re:model.norm.*"