Views
No views yet
Qwen3_5MoeForConditionalGeneration, base model Qwen/Qwen3.6-35B-A3B) —
a 35B-A3B MoE roleplay finetune.joyfox/JoyFox-Qwen3.6-35B-A3B-RP-Aggressivelm_head, embeddings,
the vision tower (model.visual.*), the Gated DeltaNet linear-attention layers
(linear_attn.*), MoE routers (mlp.gate), the shared-expert gate
(shared_expert_gate) and the MTP head (mtp.*). The ignore list matches the
reference RedHatAI/Qwen3.6-35B-A3B-FP8-dynamic quantization.1from transformers import AutoProcessor, Qwen3_5MoeForConditionalGeneration
2from llmcompressor import oneshot
3from llmcompressor.modifiers.quantization import QuantizationModifier
4
5MODEL_ID = "joyfox/JoyFox-Qwen3.6-35B-A3B-RP-Aggressive"
6model = Qwen3_5MoeForConditionalGeneration.from_pretrained(MODEL_ID, dtype="auto")
7processor = AutoProcessor.from_pretrained(MODEL_ID)
8
9recipe = QuantizationModifier(
10 targets="Linear",
11 scheme="FP8_DYNAMIC",
12 ignore=[
13 "re:.*lm_head",
14 "re:visual.*",
15 "re:model.visual.*",
16 "re:.*mlp.gate$",
17 "re:.*embed_tokens$",
18 "re:.*shared_expert_gate$",
19 "re:.*linear_attn.*",
20 "re:^mtp.*",
21 ],
22)
23oneshot(model=model, recipe=recipe)
24model.save_pretrained("out")
25processor.save_pretrained("out")1vllm serve cloud19/JoyFox-Qwen3.6-35B-A3B-RP-Aggressive-FP8-Dynamic \
2 --served-model-name joyfox \
3 --enable-chunked-prefill \
4 --max-model-len 16384 --kv-cache-dtype fp8 \
5 --limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}' \
6 --default-chat-template-kwargs '{"enable_thinking": false}'align; passing
--no-enable-chunked-prefill makes the engine refuse to start.model_mtp.safetensors, but speculative decoding
is intentionally not used here.<think>) is disabled at the chat-template level via
enable_thinking: false.