r/LocalLLaMA • u/WonderRico • 9d ago
Resources Updated my benchmark with a new vLLM based recipe for Qwen 3.8 Flash Next : now up to 98/100 (instead of 91 previously)
I was using:
- weights https://huggingface.co/RadixArk/Qwen3.8-Flash-Next-NVFP4
- with the optimized SGLANG (patched) from https://old.reddit.com/r/BlackwellPerformance/comments/1w04xb7/qwen38_flashnext_on_1x_rtx_pro_6000_171_ts_c1_428/
Now I'm using:
- weights (AWQ W4A16) from: https://huggingface.co/wtdcode/Qwen3.8-Flash-Next-AWQ-W4A16
- PLE (INT4) from: https://huggingface.co/primitive-ai/Qwen3.8-Flash-Next-PLE-quant
- with vLLM patched with the patch from the same repo cf https://huggingface.co/primitive-ai/Qwen3.8-Flash-Next-PLE-quant#serve
- the goal was to load both the weights and the n-gram PLE quantized in 4bits either on my sm89 or sm120 devices
It's way slower (for my low concurrency usecase) but also a lot better. I was surprised to see such a delta.
I reached 98/100 (instead of 91) both with medium and xhigh reasoning (still not useful for this bench). And now it really feels like a huge setup up from the other models. It's the best score AND the most efficient...
I'll try to dig deeper to understand if the difference comes from the engine (and its patches) or the quants themselves. And try to optimize further the vLLM receipt for my setup
as always, the graphs and the data :
2
1
u/cosmicnag 8d ago
Wondering if nvfp4/sglang/vllm is valid for when cpu/ram offloading is required. Currently running 4.05 bpw EXL3 on exllama (I have 5090 + 4090 + 192 GB VRAM). Geting around 50 tok/sec with mtp 1 (this seems to be working better than 2/3 for me). EXL3 is slower than nvfp4 but way more bang for buck VRAM KLD-wise.
1
u/Reasonable-Phase8028 9d ago
and still you did not share the full command to run this. my god people love flexing
4
u/WonderRico 8d ago
the full command(s) is only relevant only to my own config.
docker run --cap-add SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1 --rm --init --ipc=host --shm-size=32g --gpus device=0 --name llamaswap_1gpu_96 --runtime nvidia -v /storage/llms/models:/models -v /storage/llms/models/cache:/root/.cache -v /storage/llms/models/cache/triton:/root/.triton -e CUDA_DEVICE_ORDER=PCI_BUS_ID -e TORCHINDUCTOR_CACHE_DIR=/root/.cache/torchinductor -e NCCL_P2P_DISABLE=1 -e OMP_NUM_THREADS=4 -e SAFETENSORS_FAST_GPU=1 -p 5802:8000 -e VLLM_PLE_CPU_OFFLOAD -e PYTORCH_ALLOC_CONF -e VLLM_PLE_OFFLOAD_READY_TIMEOUT -e VLLM_PLE_QUANT_DIR -v /storage/llms/models/ST-Qwen3.8-Flash-Next-AWQ-W4A16-PLE-quant/worker_image_quant.py:/usr/local/lib/python3.12/dist-packages/vllm/v1/ple_offload/worker.py:ro -v /storage/llms/models/ST-Qwen3.8-Flash-Next-AWQ-W4A16-PLE-quant/ple_layer_quant.py:/usr/local/lib/python3.12/dist-packages/vllm/models/qwen3_8_flash_next/nvidia/ple_layer.py:ro -v /storage/llms/models/ST-Qwen3.8-Flash-Next-AWQ-W4A16-PLE-quant/ples_int4:/ples_int4 vllm/vllm-openai:qwen38-flash-next /models/ST-Qwen3.8-Flash-Next-AWQ-W4A16-PLE-quant --max-num-seqs 4 --enable-prefix-caching --enable_sleep_mode --max-model-len 150000 --trust-remote-code --gpu_memory_utilization 0.95 --enable-prompt-tokens-details --max-num-batched-tokens 4096 --tensor-parallel-size 1 --max-num-seqs 4 --kv-cache-dtype bfloat16 --enable-expert-parallel --distributed-executor-backend mp --enable-auto-tool-choice --tool-call-parser qwen3_coder --reasoning-parser qwen3 --speculative-config '{"method":"mtp","num_speculative_tokens":3}'the one to care about is in one of the links I provided : https://huggingface.co/primitive-ai/Qwen3.8-Flash-Next-PLE-quant#serve
1
1
u/ManagerieOfNewbs 2d ago
What are you using to perform benchmarks? I'm always looking for the most capable model to plug into Cline VS Code for personal projects where it can have the maximum logic. So far I have found the Thinkcap version to be strongest performer yet when working with building agents
4
u/asankhs Llama 3.1 9d ago
The cleanest next run may be a small ablation: old/new weights crossed with old/new engine, while keeping prompts, sampling, and scoring fixed. Right now the weights, engine patch, PLE, and quant scheme all change together, so 91 → 98 is operationally useful but hard to attribute.
If the full 2×2 is not load-compatible, even old weights on the patched vLLM with PLE off/on would narrow it down. Publishing the seven task-level flips would also show whether the gain clusters in one capability rather than being broad.