# Qwen3.6-35B-A3B-FP8

## Overview

FP8 MoE recipe with two-token MTP speculative decoding.

> [!TIP]
> Use this TP4 profile for small-batch serving of the FP8 checkpoint.

## At a glance

| Setting | Value |
|---|---|
| Hardware | 4x S5000 |
| Precision | FP8 |
| Architecture | MoE, 35B-A3B |
| Tensor parallelism | TP4 |
| Speculative decoding | MTP2 |
| Maximum context | 8,192 tokens |
| Maximum sequences | 64 |

## Validation

| Item | Value |
|---|---|
| Checkpoint | [`Qwen/Qwen3.6-35B-A3B-FP8`](https://modelscope.cn/models/Qwen/Qwen3.6-35B-A3B-FP8) (ModelScope) @ 62836cf634afbb2a90f3e0558ded9112afbf4660 |
| vLLM-MUSA | vLLM 0.28.0 @ 2cf0a69, vllm-musa 0.1.28 |
| MUSA driver | 5.2.0 |
| Hardware | 4x S5000 |
| Served request | 2K/1K, 3K/1K, 3.5K/1K, 4K/1K, 4K/1.5K, 500 prompts each |

## Launching the server

```bash

vllm serve /models/Qwen3.6-35B-A3B-FP8 \
  --trust-remote-code \
  --tensor-parallel-size 4 \
  --served-model-name Qwen3.6-35B-A3B-FP8 \
  --max-model-len 8192 \
  --max-num-seqs 64 \
  --max-num-batched-tokens 8192 \
  --gpu-memory-utilization 0.85 \
  --mamba-ssm-cache-dtype float32 \
  --no-enable-prefix-caching \
  --no-enable-chunked-prefill \
  --attention-config '{"backend":"FLASH_ATTN"}' \
  --compilation-config '{"mode":"NONE","cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,120,144,168,192]}' \
  --speculative-config '{"method":"qwen3_5_mtp","num_speculative_tokens":2}'
```

## Configuration notes

- MTP2 uses the FlashAttention backend for draft attention.
- Graph capture sizes are scaled for two draft tokens.
- Replace `/models/Qwen3.6-35B-A3B-FP8` if needed.

Return to the [Qwen recipe index](README.md).
