Views
No views yet
Qwen/Qwen3-Coder-30B-A3B-Instruct, built end-to-end from the upstream BF16 base.S_{L,E} = Σ_t (gate_t_E × ||down_proj_E(x_t)||₂) accumulated over 1024 code-mix calibration samples; top-96 experts per layer kept.moe_calibrate_all_experts=True so every expert sees every token (eliminates the rare-routed-expert zero-scale failure mode).ignore list); only the per-expert Linears are INT4-packed.| Field | Value |
|---|---|
| Class | Qwen3MoeForCausalLM |
| Hidden layers | 48 |
| Experts | 96 per layer (pruned from 128) |
| Active experts per token | 8 |
| Hidden size | 2048 |
| Quant format | AWQ 4-bit, group_size=128 |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained(
4 "mattbucci/Qwen3-Coder-30B-A3B-REAP-AWQ",
5 torch_dtype="bfloat16",
6 device_map="auto",
7)
8tok = AutoTokenizer.from_pretrained("mattbucci/Qwen3-Coder-30B-A3B-REAP-AWQ")
9
10messages = [{"role": "user", "content": "Write a Python function that returns the nth Fibonacci number using memoization."}]
11text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
12inputs = tok(text, return_tensors="pt").to(model.device)
13out = model.generate(**inputs, max_new_tokens=300, temperature=0.1)
14print(tok.decode(out[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))<function=NAME>...):1python -m sglang.launch_server \
2 --model-path mattbucci/Qwen3-Coder-30B-A3B-REAP-AWQ \
3 --quantization moe_wna16 \
4 --dtype bfloat16 \
5 --tool-call-parser qwen3_coder \
6 --tensor-parallel-size 2 \
7 --context-length 32768 \
8 --disable-cuda-graphfinish_reason: stop.moe_calibrate_all_experts=True which forces every token through every kept expert during the Hessian collection phase, removing the rare-routed-expert blind spot that caused zero-scale failures in earlier MoE AWQ ships.Qwen/Qwen3-Coder-30B-A3B-Instruct.