/ Модель

Характеристики

Контекст
262 144 токена
Параметры
798 млн
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3.6-35B-A3B
Библиотека
transformers
Опубликована
17 апр 2026

Qwen3.6-35B-A3B-DFlash

Генерация текстаТекст → текст3 профессии

Черновая модель DFlash для ускорения инференса Qwen/Qwen3.6-35B-A3B посредством спекулятивного декодирования.

32 264скачиваний за 30 дней296лайковвеса обновлены19 июн 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Qwen3.6-35B-A3B-DFlash — черновая модель для спекулятивного декодирования, совместно переобученная Z-Lab и Modal для целевой модели Qwen/Qwen3.6-35B-A3B. Она не предназначена для самостоятельной генерации текста: модель подключают к целевой модели через сервер инференса с поддержкой DFlash, например SGLang.

Модель использует облегчённый блоковый диффузионный подход, чтобы параллельно предлагать несколько токенов; целевая модель проверяет предложения, сохраняя своё распределение выходов и потенциально повышая пропускную способность. В README описаны обучение с последовательностями до 40 тыс. токенов и скользящим окном внимания; метаданные указывают размер 798 млн параметров и контекст 262 144 токена. Бенчмарки на одной NVIDIA B200 показывают ускорение до 3,61 раза при низкой конкурентности и до 2,89 раза при высокой, но результаты относятся к указанной конфигурации и наборам задач.

Репозиторий содержит веса Safetensors и использует библиотеку Transformers; для работы требуется совместимый сервер спекулятивного декодирования и базовая модель Qwen/Qwen3.6-35B-A3B. Лицензия — Apache-2.0. Модель сама по себе не является чат-моделью и не выдает готовые ответы без целевой модели.

Сценарии применения

  • ускорение генерации текста на сервере с Qwen3.6-35B-A3B
  • повышение пропускной способности пакетного инференса Qwen
  • спекулятивное декодирование в SGLang с проверкой токенов целевой моделью

Ограничения

Не работает как самостоятельная языковая модель: для генерации требуется совместимая целевая модель и сервер с поддержкой DFlash. Заявленные показатели ускорения получены на NVIDIA B200 в конкретной конфигурации и могут отличаться на других серверах и нагрузках.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Qwen3.6-35B-A3B-DFlash

Paper | Github | Blog

This DFlash draft model is a joint retrain from Z-Lab and Modal, trained with 40k sequence length and sliding-window attention for improved long-context performance. It is mirrored across the following Hugging Face repositories:

This repository contains a DFlash draft model for Qwen/Qwen3.6-35B-A3B. It is not a standalone language model. It is intended to be paired with the target model in a speculative decoding server.

DFlash uses a lightweight block diffusion draft model to propose multiple tokens in parallel. The target model verifies those proposals, improving serving throughput while preserving the target model's output distribution.

Quick Start

Installation

SGLang

Install a recent SGLang build with DFlash support:

uv pip install --upgrade "sglang[all]"

For best performance on Blackwell GPUs, use an SGLang build that includes DFlash, FA4/TRT-LLM attention, and FlashInfer support.

vLLM

For vLLM support, please refer to vllm-project/vllm#40898. We will update the PR to make it merge-ready soon.

Launch Server

This model should be used with an inference server that supports DFlash speculative decoding. An example SGLang deployment is:

export SGLANG_ENABLE_OVERLAP_PLAN_STREAM=1

python -m sglang.launch_server \
  --model-path Qwen/Qwen3.6-35B-A3B \
  --trust-remote-code \
  --speculative-algorithm DFLASH \
  --speculative-draft-model-path z-lab/Qwen3.6-35B-A3B-DFlash \
  --speculative-dflash-block-size 8 \
  --speculative-draft-attention-backend fa4 \
  --attention-backend trtllm_mha \
  --linear-attn-prefill-backend flashinfer \
  --linear-attn-decode-backend flashinfer \
  --mamba-scheduler-strategy extra_buffer \
  --tp-size 1 \
  --max-running-requests 32 \
  --cuda-graph-max-bs-decode 32 \
  --cuda-graph-backend-prefill tc_piecewise \
  --enable-flashinfer-allreduce-fusion \
  --mem-fraction-static 0.8 \
  --host 0.0.0.0 \
  --port 30000

Block size 8 is the recommended default for higher-concurrency serving. Block size 16 gives longer accept lengths and strong concurrency-1 throughput in most workloads.

Benchmark Results

We benchmarked DFlash against the autoregressive baseline and Qwen's built-in MTP draft path. DFlash reaches up to 3.61x speedup at concurrency 1 and 2.89x at concurrency 32. Across the benchmark suite, DFlash delivers higher throughput than MTP at every matched setting where both completed.

Setup

  • Runtime: SGLang on 1x NVIDIA B200 GPU, tensor parallel size 1, bfloat16
  • Backends: trtllm_mha target attention, fa4 DFlash draft attention, flashinfer linear-attention prefill and decode
  • Workloads: GSM8K, MATH500, HumanEval, MBPP, and MT-Bench with the Qwen chat template
  • Decoding: greedy, thinking enabled, max output length 4096 tokens
  • Measurement: 5 independent runs per configuration at concurrency 1 and 32 with continuous batching
  • Throughput: generated output tokens / wall-clock benchmark time, including prefill and scheduling
  • Accept length: completion_tokens / spec_verify_ct per generation turn, averaged across generation turns

Throughput and Speedup

Each cell is output tok/s (speedup). Bold marks the fastest speculative configuration in each row.

Concurrency 1

WorkloadBaselineMTP steps=3DFlash block=4MTP steps=7DFlash block=8MTP steps=15DFlash block=16
gsm8k308.6 (1.00x)610.5 (1.98x)688.7 (2.23x)632.6 (2.05x)895.0 (2.90x)485.9 (1.57x)914.6 (2.96x)
math500309.3 (1.00x)641.8 (2.08x)726.2 (2.35x)699.8 (2.26x)1011.6 (3.27x)561.8 (1.82x)1116.3 (3.61x)
humaneval306.4 (1.00x)607.7 (1.98x)709.0 (2.31x)631.6 (2.06x)943.2 (3.08x)488.7 (1.60x)1008.9 (3.29x)
mbpp307.1 (1.00x)597.3 (1.94x)696.5 (2.27x)594.4 (1.94x)889.3 (2.90x)443.5 (1.44x)912.8 (2.97x)
mt-bench306.2 (1.00x)555.3 (1.81x)614.4 (2.01x)526.9 (1.72x)711.5 (2.32x)381.4 (1.25x)686.5 (2.24x)

Concurrency 32

WorkloadBaselineMTP steps=3DFlash block=4MTP steps=7DFlash block=8MTP steps=15DFlash block=16
gsm8k3495.1 (1.00x)6271.3 (1.79x)7196.1 (2.06x)6769.7 (1.94x)8786.4 (2.51x)5439.1 (1.56x)8168.1 (2.34x)
math5003494.8 (1.00x)6745.6 (1.93x)7582.3 (2.17x)7751.9 (2.22x)9991.2 (2.86x)6516.8 (1.86x)10106.8 (2.89x)
humaneval3507.0 (1.00x)6417.9 (1.83x)7494.7 (2.14x)6976.1 (1.99x)9511.1 (2.71x)5575.9 (1.59x)9055.4 (2.58x)
mbpp3570.1 (1.00x)6248.7 (1.75x)7403.6 (2.07x)6546.8 (1.83x)9074.6 (2.54x)5112.1 (1.43x)8274.1 (2.32x)
mt-bench3244.8 (1.00x)5428.4 (1.67x)5933.1 (1.83x)5435.0 (1.67x)6591.7 (2.03x)4213.6 (1.30x)5692.0 (1.75x)

Accept Length

Mean accept length at concurrency 1. Bold marks the higher value in each matched MTP/DFlash pair.

WorkloadMTP steps=3DFlash block=4MTP steps=7DFlash block=8MTP steps=15DFlash block=16
gsm8k3.4743.4555.2885.4046.4536.954
math5003.5593.5535.5225.7436.8407.629
humaneval3.3693.4594.9525.3525.8786.797
mbpp3.2803.3584.6134.9735.2926.052
mt-bench3.1353.0754.3654.3265.0615.118

Citation

If you find DFlash useful, please cite the original paper:

@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}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
DFlashDraftModel
Ревизия весов
f181eec

0 моделей