/ Модель

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

Контекст
1 048 576 токенов
Параметры
3,7 млрд
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Kimi-K3.1-Pro
Опубликована
4 ноя 2026

Kimi-K3.1-Dflash2-Preview

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

Черновая модель DFlash2 для ускорения генерации Kimi-K3.1-Pro с помощью спекулятивного декодирования в SGLang.

23 005скачиваний за 30 дней11лайковвеса обновлены6 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

RadixArk/Kimi-K3.1-Dflash2-Preview — черновая модель DFlash2 для ускорения вывода Kimi-K3.1-Pro методом спекулятивного декодирования в SGLang. Она предлагает блоки токенов параллельно по скрытым состояниям целевой модели, а та проверяет их за один проход. Модель предназначена для совместной работы с целевой моделью и не является самостоятельной языковой моделью.

В репозитории находятся BF16-веса в Safetensors. Архитектура черновой части — пятислойный стек MLA с блоково-причинным вниманием и окном 1 024 токена; конфигурация контекста выровнена с контекстом целевой модели в 1 048 576 токенов. Для работы нужны веса целевой модели: она предоставляет эмбеддинги, языковую голову и токенизатор. Карточка приводит измерения длины принятых блоков на GSM8K, AIME26 и GPQA Diamond, но эти результаты не измеряют точность ответов.

Модель разработана RadixArk на основе moonshotai/Kimi-K3.1-Pro; лицензия — Apache-2.0. Она подходит для ускорения генерации с целевой моделью при обслуживании через совместимую конфигурацию SGLang. Указанная длина контекста не подтверждает качество принятия черновых токенов на всей длине в миллион токенов; для использования требуется целевая модель и поддерживающая DFlash2 инфраструктура.

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

  • ускорение генерации текста с Kimi-K3.1-Pro
  • спекулятивное декодирование блоков токенов через SGLang
  • ускорение ответов на математические задачи при использовании целевой модели
  • ускорение генерации при решении задач уровня GPQA Diamond

Ограничения

Не является самостоятельной языковой моделью: для работы нужны целевая Kimi-K3.1-Pro и совместимая среда SGLang. Приведённые оценки измеряют принятие черновых токенов, а не точность ответов; качество на всём контексте в 1 048 576 токенов не установлено.

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

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

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

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

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

Открыть на Hugging Face

Kimi-K3.1-Dflash2-Preview

Overview

A DFlash2 speculator for Kimi-K3.1-Pro, designed to accelerate inference through speculative decoding with SGLang. In each step the draft proposes a block of tokens in parallel from the target's hidden states, and the target verifies the block in one forward pass.

This repository contains the BF16 draft weights and configuration. The target model supplies the embeddings, LM head, tokenizer, and native chat template. The draft is used alongside the target and is not a standalone language model.

The draft is a five-layer MLA stack. It reads hidden states from six target layers, fuses them through one projection, and runs block-causal sliding-window attention over the target's context. A low-rank candidate selector then picks each proposed token from the draft's top-k candidates, conditioned on the token before it, so the block is sampled as a path rather than position by position.

Model Specifications

  • Base model: moonshotai/Kimi-K3.1-Pro
  • Format: Single-file BF16 Safetensors, 2,784,811,008 parameters
  • Draft: 5 MLA layers (DeepSeek-style multi-head latent attention), hidden size 7168, 96 heads, q LoRA rank 1536, KV LoRA rank 512, QK head dim 192 (128 + 64 RoPE), V head dim 128, SwiGLU MLP 14336
  • Block convolutions: a learned convolution over the block (kernel 2, group size 16) in the attention and MLP branches of every layer
  • Attention: Block-causal sliding-window attention with a 1,024-token window
  • Verification width: 5 tokens (1 current token + 4 draft tokens) as configured; the same weights also serve at 8 (see below)
  • Selector: Rank 256, top-k 32
  • Auxiliary target layers: [7, 23, 51, 67, 83, 91]
  • Configured context length: 1,048,576 tokens (YaRN, factor 32), aligned with the target
  • Target weights: Embedding and unembedding weights are loaded from the target

The configured context limit is distinct from the attention window. The config alignment does not establish draft acceptance quality across the full 1M context.

Evaluation Results

acc_len is the per-request acceptance length L = C / V, where C is the number of completion tokens and V is the number of verification steps, averaged equally across successful requests. Completion-token-weighted AL is sum(C * L) / sum(C); pooled AL is sum(C) / sum(V). Every verification step commits the accepted draft tokens plus one token from the target, so AL is at most the verification width.

Verification width 5 (1 current token + 4 draft tokens, as configured)

DatasetSamplesacc_lenCompletion-token-weighted ALPooled AL
GSM8K1,3194.2594054.1039884.063391
AIME26240 (30 × 8)3.2315643.0398573.019893
GPQA Diamond1983.2759162.9792622.960371

Verification width 8 (1 current token + 7 draft tokens)

DatasetSamplesacc_lenCompletion-token-weighted ALPooled AL
GSM8K1,3195.7802775.4422835.287548
AIME26240 (30 × 8)3.6960363.3677643.320980
GPQA Diamond1983.7682803.2682783.227970

Measured with real DFlash2 and block verification enabled, thinking_effort max, temperature=1.0 and top_p=0.95, on one 8x B300 node (TP8) with FP8 target KV cache, FP8 draft KV cache and cutedsl_mla draft attention, using the command below. The three suites ran concurrently against one server, with 32 client workers per suite and at most 64 running requests at 5 tokens (32 at 8 tokens). These results are not from a single-request-at-a-time evaluation.

All 3,514 requests (1,757 per width) finished with an end-of-turn token. None was truncated (the longest used 104,938 of the 131,072-token context), and none needed a retry. Mean completion length at width 5: GSM8K 344, AIME26 9,806 and GPQA Diamond 5,761 tokens.

Prompts: each sample is one user turn rendered with the target's chat template. GSM8K and AIME26 append "Please reason step by step, and put your final answer within \boxed{}."; GPQA Diamond uses the simple-evals multiple-choice template with options shuffled per question. AIME26 is the 30 AIME 2026 problems from MathArena/aime_2026, sampled 8 times each with different seeds. Only acceptance length is measured here, not answer accuracy.

Serving with SGLang

The following example launches one TP8 replica with block verification, FP8 KV caches for the target and the draft, and cutedsl_mla draft attention:

python -m sglang.launch_server \
  --model-path moonshotai/Kimi-K3.1-Pro \
  --trust-remote-code \
  --tp-size 8 \
  --mem-fraction-static 0.85 \
  --mamba-full-memory-ratio 1.0 \
  --reasoning-parser kimi_k3 \
  --tool-call-parser kimi_k3 \
  --kv-cache-dtype fp8_e4m3 \
  --disable-radix-cache \
  --max-running-requests 64 \
  --context-length 131072 \
  --speculative-algorithm DFLASH \
  --speculative-draft-model-path RadixArk/Kimi-K3.1-Dflash2-Preview \
  --speculative-draft-attention-backend cutedsl_mla \
  --speculative-draft-kv-cache-dtype fp8_e4m3 \
  --speculative-num-draft-tokens 5 \
  --speculative-use-block-verification \
  --host 127.0.0.1 \
  --port 30000

For an 8-token verification width, pass --speculative-num-draft-tokens 8. It overrides the config's block_size of 5, and SGLang logs a warning. Also lower --max-running-requests to 32: the target's speculative Mamba state cache grows with verification width × running requests, and at 8 × 64 it leaves no memory for the KV cache at --mem-fraction-static 0.85 on B300.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей