/ Модель

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

Лицензия
Своя лицензия
Базовая модель
Kimi-K3-DSpark
Библиотека
gguf
Опубликована
31 июл 2026

kimi-k3-dspark-gguf

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

Черновая GGUF BF16-модель DSpark для ускорения генерации Kimi-K3 спекулятивным декодированием.

384скачиваний за 30 дней2лайкавеса обновлены31 июл 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

gaber/kimi-k3-dspark-gguf — конвертированная в GGUF BF16 версия черновой модели Inferact/Kimi-K3-DSpark для ускорения генерации moonshotai/Kimi-K3 методом спекулятивного декодирования. Модель предсказывает несколько следующих токенов, которые затем проверяет основная модель; автор README заявляет ускорение в 3–5 раз при сохранении того же распределения выходов. В GGUF оставлено около 2,4 млрд параметров: матрица эмбеддингов исключена, поскольку описанный runtime передаёт модели скрытые состояния целевой модели.

Архитектура включает пять трансформерных слоёв с Multi-head Latent Attention, блоковый предиктор на семь токенов и голову оценки уверенности. Модель предназначена для совместного использования с Kimi-K3 в speculative decoding, а не для самостоятельной генерации по обычному текстовому запросу. В README указано, что конверсия структурно корректна, но llama.cpp пока не поддерживает нужную MLA-реализацию для DFLASH; для этого runtime требуется патч. Лицензия в метаданных обозначена как other, конкретные условия в доступных данных не раскрыты.

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

  • ускорение генерации ответов Kimi-K3 через speculative decoding
  • ускорение вывода Kimi-K3 в совместимом inference-сервисе
  • проверка интеграции MLA-native черновой модели с целевой моделью Kimi-K3

Ограничения

По README, llama.cpp пока не поддерживает необходимый путь MLA для архитектуры DFLASH, поэтому модель в этом runtime не запускается без патча; заявлена работа через vLLM с исходной моделью. Модель предназначена для совместной работы с Kimi-K3, а не для автономного использования.

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

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

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

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

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

Открыть на Hugging Face

Kimi-K3 DSpark Draft Model — GGUF (BF16)

⚠️ Experimental — This GGUF was converted from a model that's only 2 days old (as of 2026-07-30). The file format is correct but upstream llama.cpp cannot run it yet — see Runtime status below.

A GGUF conversion of Inferact/Kimi-K3-DSpark, an MLA-native DSpark draft model designed to accelerate moonshotai/Kimi-K3 inference through speculative decoding.

What is this?

DSpark is a small draft model that predicts multiple tokens ahead of the main Kimi-K3 model. The main model then verifies those predictions in a single forward pass, accepting correct ones and rejecting mistakes. This gives you 3–5× faster generation without changing the output quality — the distribution is mathematically identical to running the target model alone.

This particular draft model is "MLA-native" — it uses the same Multi-head Latent Attention architecture as Kimi-K3 itself, which means the draft and target share one KV cache layout. No separate memory management needed.

How it works

  • 5 transformer layers with MLA attention (q_lora_rank=1536, kv_lora_rank=512)
  • Markov head — a semi-autoregressive block predictor that drafts 7 tokens per forward pass
  • Confidence head — decides when to draft and when to fall back to the target model
  • Trained on Kimi-K3's own hidden states from layers [2, 23, 47, 71, 89] of 93

GGUF vs original model

The original Inferact/Kimi-K3-DSpark is 4B params (7.12 GB) because it includes embed_tokens.weight — a 1.17B parameter embedding matrix shared with Kimi-K3's vocabulary. This GGUF is 2.4B params (4.45 GB) because we stripped that tensor.

Why? Because llama.cpp's DFlash runtime never loads it. The draft model only processes hidden states from the target — it never sees raw token IDs at inference time. The embed_tokens was used during training (TorchSpec needs it for the forward pass) but is dead weight at runtime.

Verified: We compared the embed_tokens tensors from both models and confirmed they are not identical — DSpark was trained with its own embeddings, optimized for its 5-layer architecture. This is expected: a shallow model benefits from different embedding geometry than a 93-layer one.

vLLM vs llama.cpp

This same model runs on two engines, with different assumptions:

vLLM (works today):

vllm serve moonshotai/Kimi-K3 \
  --speculative-config '{"method": "dspark", "model": "Inferact/Kimi-K3-DSpark", ...}'
  • Loads the full 4B-param safetensors (with embed_tokens)
  • Draft runs as a standalone model with its own embedding layer
  • Both share MLA KV layout — draft's pages unify with target's cache
  • Native FLASHINFER_MLA backend, dedicated dspark spec decode worker
  • Achieves 464 tok/s on 4× GB300 at bs=1

llama.cpp (needs runtime patch):

llama-server -m kimi-k3.gguf -md dspark-draft.gguf --spec-type draft-dspark
  • Loads stripped 2.4B-param GGUF (no embed_tokens)
  • Draft is a lightweight extension of the target
  • Target handles tokenization/embedding, passes hidden states directly
  • Needs MLA support ported from kimi_linear.cpp to dflash.cpp

Both approaches are lossless — the output distribution is identical to running the target model alone.

GGUF metadata

KeyValue
Architecturedflash
Block size7
Target layers[3, 4, 5, 6, 7, 8, 9]
Embedding dim7168
Vocab size163,840
KV lora rank512
Q lora rank1536
QuantizationBF16
Tensors72
File size4.45 GB

Runtime status

The GGUF file is structurally correct — architecture, tensor names, MLA parameters, DSpark heads, and tokenizer are all properly encoded.

However, upstream llama.cpp cannot run it yet. The C++ runtime's DFLASH model implementation (src/models/dflash.cpp) currently only loads standard multi-head attention tensors (attn_q, attn_k, attn_v). This GGUF uses MLA tensors (attn_q_a, attn_kv_a_mqa, attn_k_b, attn_v_b) which require a patch to the runtime's tensor loading and attention graph.

In other words: the file format is right, but the engine doesn't know how to read the MLA tensors inside the DFLASH architecture yet. The code even acknowledges this with a TODO comment:

"only Qwen3-style backbones are supported for now; other backbones need their own conversion path and graph tweaks"

What's needed from llama.cpp

  1. src/models/dflash.cpp — Add MLA tensor loading (attn_q_a, attn_kv_a_mqa, attn_k_b, attn_v_b) to the DFLASH architecture, similar to how src/models/kimi_linear.cpp handles them
  2. Attention graph — Build the MLA decompression graph (compressed KV → full K/V via kv_b_proj) inside the DFLASH forward pass
  3. Rope handling — MLA uses split rope dimensions (qk_nope_head_dim + qk_rope_head_dim) which the standard DFLASH path doesn't support

These changes exist in kimi_linear.cpp already — they need to be ported to dflash.cpp. Once upstream adds MLA support to DFLASH, this GGUF should work with:

llama-server \
  -m kimi-k3-target.gguf \
  -md Kimi-K3-DSpark-draft-bf16.gguf \
  --spec-type draft-dspark \
  -ngld 99

Conversion details

Converted from Inferact/Kimi-K3-DSpark (safetensors) using a patched convert_hf_to_gguf.py. The converter needed three patches:

  1. Register K3DSparkModel architecture in conversion/__init__.py
  2. Add K3DSparkModel converter class in conversion/kimi_linear.py with MLA parameter handling and tensor name remapping
  3. Add MLA tensor definitions to the DFLASH arch in gguf-py/gguf/constants.py

The patches and conversion script are saved in the modal_agent project under converters/.

Links

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

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

GPU в ailist

llama.cpp

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

Подбираем GPU…

Ревизия весов
8bcf778

0 моделей