z-lab / Qwen3.6-35B-A3B-DFlash

huggingface.co
Total runs: 27.3K
24-hour runs: -1.6K
7-day runs: -21.7K
30-day runs: -147.1K
Model's Last Updated: June 20 2026
text-generation

Introduction of Qwen3.6-35B-A3B-DFlash

Model Details of Qwen3.6-35B-A3B-DFlash

Qwen3.6-35B-A3B-DFlash

Paper | GitHub | Blog

This Draft model is still under training (2000 steps) . Feel free to try it out and leave feedback, which will be very helpful for us to continue improving this DFlash draft model.

DFlash is a speculative decoding method that uses a lightweight block diffusion model to draft multiple tokens in parallel. This is the drafter model, which must be paired with Qwen/Qwen3.6-35B-A3B .

DFlash Architecture
Quick Start
Installation

vLLM:

uv pip install vllm
uv pip install -U vllm --torch-backend=auto --extra-index-url https://wheels.vllm.ai/nightly

SGLang:

uv pip install "git+https://github.com/sgl-project/sglang.git@refs/pull/20547/head#subdirectory=python"
Launch Server

vLLM:

vllm serve Qwen/Qwen3.6-35B-A3B \
  --speculative-config '{"method": "dflash", "model": "z-lab/Qwen3.6-35B-A3B-DFlash", "num_speculative_tokens": 15}' \
  --attention-backend flash_attn \
  --max-num-batched-tokens 32768

SGLang:

# Optional: enable schedule overlapping (experimental, may not be stable)
# export SGLANG_ENABLE_SPEC_V2=1
# export SGLANG_ENABLE_DFLASH_SPEC_V2=1
# export SGLANG_ENABLE_OVERLAP_PLAN_STREAM=1

python -m sglang.launch_server \
    --model-path Qwen/Qwen3.6-35B-A3B \
    --speculative-algorithm DFLASH \
    --speculative-draft-model-path z-lab/Qwen3.6-35B-A3B-DFlash \
    --speculative-num-draft-tokens 16 \
    --tp-size 1 \
    --attention-backend fa3 \
    --mem-fraction-static 0.75 \
    --mamba-scheduler-strategy extra_buffer \
    --trust-remote-code

Tip: For long-context or agentic workloads, add --speculative-dflash-draft-window-size WINDOW_SIZE to enable sliding-window attention for the drafter.

Usage
from openai import OpenAI

client = OpenAI(base_url="http://localhost:30000/v1", api_key="EMPTY")

response = client.chat.completions.create(
    model="Qwen/Qwen3.6-35B-A3B",
    messages=[{"role": "user", "content": "Write a quicksort in Python."}],
    max_tokens=4096,
    temperature=0.0
)
print(response.choices[0].message.content)
Early Results
  • Thinking: enabled
  • Max new tokens: 4096
  • Block size: 16
  • SGLang results. vLLM results might be different.
    Dataset Accept Length
    GSM8K 5.8
    Math500 6.3
    HumanEval 5.2
    MBPP 4.8
    MT-Bench 4.4
Acknowledgements

Special thanks to David Wang for his outstanding engineering support on this project. We are also grateful to Modal , InnoMatrix , and Yotta Labs for providing the compute resources used to train this draft model.

Citation

If you find DFlash useful, please cite our work. To share feedback on DFlash or request new model support, please fill out this form: DFlash Feedback .

@article{chen2026dflash,
  title   = {{DFlash: Block Diffusion for Flash Speculative Decoding}},
  author  = {Chen, Jian and Liang, Yesheng and Liu, Zhijian},
  journal = {arXiv preprint arXiv:2602.06036},
  year    = {2026}
}

Runs of z-lab Qwen3.6-35B-A3B-DFlash on huggingface.co

27.3K
Total runs
-1.6K
24-hour runs
-8.3K
3-day runs
-21.7K
7-day runs
-147.1K
30-day runs

More Information About Qwen3.6-35B-A3B-DFlash huggingface.co Model

More Qwen3.6-35B-A3B-DFlash license Visit here:

https://choosealicense.com/licenses/apache-2.0

Qwen3.6-35B-A3B-DFlash huggingface.co

Qwen3.6-35B-A3B-DFlash huggingface.co is an AI model on huggingface.co that provides Qwen3.6-35B-A3B-DFlash's model effect (), which can be used instantly with this z-lab Qwen3.6-35B-A3B-DFlash model. huggingface.co supports a free trial of the Qwen3.6-35B-A3B-DFlash model, and also provides paid use of the Qwen3.6-35B-A3B-DFlash. Support call Qwen3.6-35B-A3B-DFlash model through api, including Node.js, Python, http.

Qwen3.6-35B-A3B-DFlash huggingface.co Url

https://huggingface.co/z-lab/Qwen3.6-35B-A3B-DFlash

z-lab Qwen3.6-35B-A3B-DFlash online free

Qwen3.6-35B-A3B-DFlash huggingface.co is an online trial and call api platform, which integrates Qwen3.6-35B-A3B-DFlash's modeling effects, including api services, and provides a free online trial of Qwen3.6-35B-A3B-DFlash, you can try Qwen3.6-35B-A3B-DFlash online for free by clicking the link below.

z-lab Qwen3.6-35B-A3B-DFlash online free url in huggingface.co:

https://huggingface.co/z-lab/Qwen3.6-35B-A3B-DFlash

Qwen3.6-35B-A3B-DFlash install

Qwen3.6-35B-A3B-DFlash is an open source model from GitHub that offers a free installation service, and any user can find Qwen3.6-35B-A3B-DFlash on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3.6-35B-A3B-DFlash install, users can directly use Qwen3.6-35B-A3B-DFlash installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Qwen3.6-35B-A3B-DFlash install url in huggingface.co:

https://huggingface.co/z-lab/Qwen3.6-35B-A3B-DFlash

Url of Qwen3.6-35B-A3B-DFlash

Qwen3.6-35B-A3B-DFlash huggingface.co Url

Provider of Qwen3.6-35B-A3B-DFlash huggingface.co

z-lab
ORGANIZATIONS

Other API from z-lab

huggingface.co

Total runs: 1.9K
Run Growth: -15.0K
Growth Rate: -800.00%
Updated:May 08 2026
huggingface.co

Total runs: 339
Run Growth: -20
Growth Rate: -5.90%
Updated:May 08 2026
huggingface.co

Total runs: 311
Run Growth: -42
Growth Rate: -13.50%
Updated:May 08 2026
huggingface.co

Total runs: 242
Run Growth: -111
Growth Rate: -45.87%
Updated:May 08 2026
huggingface.co

Total runs: 9
Run Growth: 0
Growth Rate: 0.00%
Updated:June 23 2025