Test di velocità
Qwen3.6-27B-NVFP4
GB10 Grace Blackwell 128GB · vllm · v0.24.0 · NVFP4
Decodifica
40.1tok/s
Prefill
440tok/s
Tempo al primo token
312ms
Totale
93.5tok/s
VRAM di picco
—
Lunghezza del contesto
2K
Profondità KV
—
Dimensione batch
1
Consumo energetico
—
Verifica
Non verificata — risultato sperimentale
Le esecuzioni verificate usano un prompt di test standard e registrano dati sufficienti per controllare il risultato.
Comando di avvio
```
export CUTE_DSL_ARCH="${CUTE_DSL_ARCH:-sm_121a}"
# Prevent OpenBLAS/MKL from spawning too many threads (crashes under systemd)
export OPENBLAS_NUM_THREADS="${OPENBLAS_NUM_THREADS:-1}"
export OMP_NUM_THREADS="${OMP_NUM_THREADS:-1}"
export MKL_NUM_THREADS="${MKL_NUM_THREADS:-1}"
export RAYON_NUM_THREADS="${RAYON_NUM_THREADS:-1}"
export TOKENIZERS_PARALLELISM="${TOKENIZERS_PARALLELISM:-false}"
# --- Paths ---
VENV_DIR="${VENV_DIR:-./<local-dir>}" # see unsloth recipe (https://unsloth.ai/docs/models/qwen3.6#dgx-spark-with-nvfp4-quants)
VLLM_BIN="$VENV_DIR/bin/vllm"
MODEL_PATH="${MODEL_PATH:-$HOME/models/Qwen3.6-27B-NVFP4}"
SERVED_NAME="${SERVED_NAME:-qwen36-27b}"
# --- Speculative decoding ---
SPEC_METHOD="${SPEC_METHOD:-mtp}"
DFLASH_MODEL="${DFLASH_MODEL:-$HOME/models/Qwen3.6-27B-DFlash}"
if [ "$SPEC_METHOD" = "dflash" ]; then
SPEC_TOKENS="${SPEC_TOKENS:-15}"
SPEC_CONFIG="{\"method\":\"dflash\",\"model\":\"$DFLASH_MODEL\",\"num_speculative_tokens\":${SPEC_TOKENS}}"
else
SPEC_TOKENS="${SPEC_TOKENS:-2}"
SPEC_CONFIG="{\"method\":\"mtp\",\"num_speculative_tokens\":${SPEC_TOKENS}}"
fi
# --- Thinking mode ---
ENABLE_THINKING="${ENABLE_THINKING:-1}"
if [ "$ENABLE_THINKING" = "1" ]; then
THINK_KWARGS='{"enable_thinking": true}'
REASONING_FLAG="--reasoning-parser qwen3"
else
THINK_KWARGS='{"enable_thinking": false}'
REASONING_FLAG=""
fi
# --- Serving ---
MAX_MODEL_LEN="${MAX_MODEL_LEN:-262144}"
MAX_NUM_SEQS="${MAX_NUM_SEQS:-8}"
MAX_BATCH_TOKENS="${MAX_BATCH_TOKENS:-4096}"
GPU_MEM_UTIL="${GPU_MEM_UTIL:-0.92}"
# --- Optional flags ---
EXTRA_FLAGS=()
if [ "${LANGUAGE_ONLY:-1}" = "1" ]; then
EXTRA_FLAGS+=(--language-model-only)
fi
if [ "${CHUNKED_PREFILL:-1}" = "1" ] && [ "$MAX_NUM_SEQS" -gt 1 ]; then
EXTRA_FLAGS+=(--enable-chunked-prefill)
fi
# --- Launch ---
exec "$VLLM_BIN" serve "$MODEL_PATH" \
--served-model-name "$SERVED_NAME" \
--host 0.0.0.0 --port 8000 \
--tensor-parallel-size 1 \
--gpu-memory-utilization "$GPU_MEM_UTIL" \
--max-model-len "$MAX_MODEL_LEN" \
--max-num-batched-tokens "$MAX_BATCH_TOKENS" \
--max-num-seqs "$MAX_NUM_SEQS" \
--trust-remote-code \
--speculative-config "$SPEC_CONFIG" \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder \
$REASONING_FLAG \
--default-chat-template-kwargs "$THINK_KWARGS" \
${OVERRIDE_GENERATION_CONFIG:+--override-generation-config "$OVERRIDE_GENERATION_CONFIG"} \
"${EXTRA_FLAGS[@]}" \
--seed 0
```Theoretical memory ceiling
19.1–19.1 tok/s
273 GB/s memory bandwidth (spec sheet) · 14.00 GB model weights · 16-bit KV cache · 1–128 tokens of context
210–210%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from unsloth/Qwen3.6-27B-NVFP4; size from NVFP4 estimate. Hardware source · Open calculator
Hardware
- Chip
- GB10 Grace Blackwell
- Memoria
- 128 GB
- OS
- Ubuntu 24.04
Motore
- Motore
- vllm
- Versione
- 0.24.0
- Quant
- NVFP4
- Backend
- cuda
- TP
- 1
- KV cache
- auto
- GPU mem util
- 0.92
Configurazione run
- Contesto
- 2048 token
- Dimensione batch
- 1
- Token prompt
- 128
- Prefill tok/s
- 440.4 tok/s
- Token output
- 128
- Note
- Caveat: The benchmark measured the streaming decode rate (time between first and last token). On llama-benchy which uses --exact-tg which measures differently (it counts the full request latency divided by output tokens) the numbers were more conservative PP: 772.7 tok/s (±46.4), TG: 18.0 tok/s (±4.1), Peak TG: 29.7 tok/s (±11.2), TTFT: 311.9 ms (±9.4)
Evidenze acquisite
- Hash del prompt (SHA-256)
- —
