/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Hy4-preview
Библиотека
transformers
Опубликована
16 авг 2026

Kimi-K3-speculator-dspark

Изображение и текст → текст3 профессии

Вспомогательная DSpark-модель для спекулятивного декодирования с Kimi-K3, предназначенная для ускорения генерации текста.

94скачиваний за 30 дней0лайковвеса обновлены17 сен 2026

Бенчмарки

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

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

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

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

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

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

AMAImedia выпустила эту модель в рамках платформы NOESIS как DSpark speculator для moonshotai/Kimi-K3. Это вспомогательная модель для спекулятивного декодирования: она предлагает токены, которые базовая модель проверяет, чтобы ускорить генерацию ответов. В README приведены показатели принятия черновых токенов на HumanEval, математических рассуждениях, вопросах и LongBench; для восьми токенов за шаг средняя длина принятой последовательности различается по наборам данных.

Модель предназначена для использования с Kimi-K3 и соответствующим шаблоном чата. Репозиторий содержит веса Safetensors и поддерживает обработку изображений согласно метаданным, однако README описывает прежде всего ускорение генерации. Модель выпущена под лицензией Apache-2.0. Это производная модель, объединяющая компоненты, связанные с AngelSlim/Hy4-preview-GGUF и tencent/Hy4-preview.

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

  • ускорение генерации ответов с Kimi-K3
  • ускорение генерации кода с Kimi-K3
  • ускорение математических рассуждений с Kimi-K3
  • ускорение ответов на вопросы по длинному контексту

Ограничения

Для работы требуется базовая модель Kimi-K3 и совместимый сценарий спекулятивного декодирования; скорость выигрыша зависит от набора данных и контекста. Приведённые показатели принятия черновых токенов не гарантируют одинаковое ускорение в конкретной среде.

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

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

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

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

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

Открыть на Hugging Face

NOESIS / AMAImedia

Released as part of the NOESIS Professional Multilingual Dubbing Automation Platform (framework: DHCF-FNO — Deterministic Hybrid Control Framework for Frozen Neural Operators).

RedHatAI/Kimi-K3-speculator.dspark

This is a DSpark speculator model for moonshotai/Kimi-K3.

Training Details

This model was trained using the Speculators library. Training compute for this model was generously provided by Verda, a leading cloud platform for AI training and inference. Verda runs its own data centers and offers on-demand NVIDIA GPU clusters with NVLink and InfiniBand interconnect, backed by an in-house AI Lab that works directly with open-source projects on large-scale training and inference optimization.

Kimi-K3 does not fit on a single GB300 node, so training used a multi-node setup with hidden-state extraction and draft training on disjoint node groups, streaming hidden states between them through a Mooncake store. Two separate virtual environments are required:

Prepare data

  # In virtual environment with speculators installed
  python scripts/prepare_data.py \
    --model moonshotai/Kimi-K3 \
    --trust-remote-code \
    --data ./data.jsonl \
    --output ./runs/kimi_k3_dspark/data \
    --seq-length 8192 \
    --num-preprocessing-workers 48 \
    --minimum-valid-tokens 16

Launch the Mooncake master

One per run, anywhere both node groups can reach.

  mooncake_master --rpc_port 50051 --metrics_port 9003 \
    --rpc_thread_num 8 --enable_disk_eviction=false --logtostderr=true

Launch extraction (both nodes of the TP8 pair)

NODE_RANK=0 on the head node, 1 on the other; rank 1 runs --headless.

  # In (separate) virtual environment with vllm installed
  vllm_venv/bin/python scripts/launch_vllm.py moonshotai/Kimi-K3 \
    --hidden-states-backend mooncake \
    --mooncake-master <host>:50051 \
    --mooncake-metadata-server P2PHANDSHAKE \
    --mooncake-protocol tcp \
    --mooncake-global-segment-gib 32 \
    --mooncake-local-buffer-gib 4 \
    --mooncake-writer-threads 4 \
    --target-layer-ids 24 48 72 88 92 \
    --trust-remote-code \
    -- \
    --served-model-name moonshotai/Kimi-K3 \
    --trust-remote-code \
    --load-format fastsafetensors \
    --moe-backend auto \
    --all2all-backend flashinfer_nvlink_one_sided \
    --enable-expert-parallel \
    --gpu-memory-utilization 0.95 \
    --compilation-config '{"pass_config":{"fuse_allreduce_rms":false}}' \
    --tensor-parallel-size 8 \
    --nnodes 2 \
    --node-rank <0|1> \
    --master-addr <head-fabric-ip> \
    --port 8000 \
    --max-model-len 8193 \
    --max-num-seqs 64 \
    --max-num-batched-tokens 32768 \
    --kv-cache-dtype auto \
    --attention-config '{"mla_prefill_backend":"TRTLLM_RAGGED","use_prefill_query_quantization":false}' \
    --no-enable-prefix-caching \
    --language-model-only

Launch training

Must be run once the extractor reports healthy on /health.

  # In virtual environment with speculators installed
  torchrun --standalone --nproc-per-node 4 \
    scripts/train.py \
    --verifier-name-or-path moonshotai/Kimi-K3 \
    --trust-remote-code \
    --draft-config k3_draft_layer_config.json \
    --data-path ./runs/kimi_k3_dspark/data \
    --save-path ./runs/kimi_k3_dspark/checkpoints \
    --draft-vocab-size 163840 \
    --mask-token-id 163837 \
    --epochs 1 \
    --checkpoint-freq 0.1 \
    --total-seq-len 8192 \
    --train-data-ratio 0.999 \
    --speculator-type dspark \
    --target-layer-ids 24 48 72 88 92 \
    --block-size 8 \
    --max-anchors 1024 \
    --dflash-decay-gamma 4.0 \
    --markov-rank 256 \
    --markov-head-type vanilla \
    --enable-confidence-head \
    --confidence-head-with-markov \
    --confidence-head-alpha 1.0 \
    --loss-fn '{"ce":0.1,"tv":0.9}' \
    --optimizer muon \
    --lr 1e-4 \
    --scheduler-type cosine \
    --scheduler-warmup-ratio 0.03 \
    --hidden-states-backend mooncake \
    --mooncake-master <host>:50051 \
    --mooncake-metadata-server P2PHANDSHAKE \
    --mooncake-protocol tcp \
    --mooncake-global-segment-gib 0 \
    --mooncake-local-buffer-gib 4 \
    --mooncake-writer-threads 4 \
    --vllm-endpoint http://<head-fabric-ip>:8000/v1 \
    --on-missing generate \
    --on-generate delete \
    --request-timeout 900 \
    --max-retries 5 \
    --generation-validation-retries 2 \
    --max-consecutive-generation-failures 20 \
    --num-workers 2 \
    --prefetch-factor 2 \
    --log-freq 20

All four components can be run together on a 3-node Slurm allocation with run.sbatch from the example directory.

Model Specifications

Base Modelmoonshotai/Kimi-K3
Chat Templatemoonshotai/Kimi-K3 (use /chat/completions endpoint)
FormatSafetensors
LicenseApache 2.0
Draft Layers5
Target Layer IDs24, 48, 72, 88, 92
Draft Vocab Size163840
Training Sequence Length8192
Validation HardwareNVIDIA B300 NVL72 (4 GPUs per node)

Deployment

  # Deploy with speculative decoding on vLLM latest main
  vllm serve moonshotai/Kimi-K3 --spec-method dspark --spec-model RedHatAI/Kimi-K3-speculator.dspark --spec-tokens 8 --trust-remote-code --gpu-memory-utilization 0.95 --tensor-parallel-size 8 --load-format fastsafetensors --no-enable-flashinfer-autotune --max-model-len 131072 --kv-cache-dtype fp8 --attention-config '{"use_prefill_query_quantization":true,"mla_prefill_backend":"flashinfer"}' --enable-auto-tool-choice --tool-call-parser kimi_k3 --reasoning-parser kimi_k3

Acceptance Rates

Per-position token acceptance rates across datasets, at 8 draft tokens per step:

DatasetPos 0Pos 1Pos 2Pos 3Pos 4Pos 5Pos 6Pos 7Acceptance Length
HumanEval81.3%67.3%56.9%48.6%42.2%37.3%33.0%29.4%4.96
math_reasoning92.3%84.3%76.7%69.8%63.4%57.2%51.6%47.0%6.42
qa72.9%51.2%35.2%24.3%17.0%12.0%8.6%6.2%3.28
question70.6%48.4%33.1%23.2%16.6%12.3%9.3%7.2%3.21
rag77.9%58.9%44.1%33.4%25.4%19.6%15.2%11.8%3.86
summarization82.5%64.8%49.9%38.4%28.5%20.3%14.9%10.7%4.10
tool_call71.5%50.2%35.6%25.4%18.6%13.8%10.4%7.9%3.33
translation82.7%67.2%54.6%45.7%38.2%31.3%25.3%20.0%4.65
writing69.4%46.8%32.1%22.3%16.0%11.8%8.9%7.0%3.14

Long-context acceptance

Acceptance rates on LongBench dataset by sub-domain and input context length, from 2K to 20K tokens.

Sub-domainContextPos 0Pos 1Pos 2Pos 3Pos 4Pos 5Pos 6Pos 7Acceptance Length
Academic2,00073.9%47.5%33.8%22.9%13.4%7.7%5.5%4.0%3.09
Academic4,00070.8%49.7%29.9%17.8%9.7%5.6%3.6%1.6%2.89
Academic6,00073.6%48.6%28.8%17.1%9.7%5.6%3.6%2.5%2.90
Academic8,00077.6%54.8%33.6%16.5%10.6%4.9%2.6%1.4%3.02
Academic10,00077.3%52.3%31.0%17.6%11.3%5.1%3.0%1.9%3.00
Academic12,00079.2%59.6%35.2%22.1%11.4%6.5%4.5%1.7%3.20
Academic14,00071.6%47.6%25.2%13.8%8.6%3.9%1.9%0.6%2.73
Academic16,00072.3%51.7%30.2%16.0%8.0%4.0%2.0%1.1%2.85
Academic18,00074.4%47.9%28.6%16.6%8.8%3.5%2.8%1.8%2.84
Academic20,00078.1%52.4%29.4%15.9%8.9%3.9%2.5%1.4%2.92
Agent history QA2,00076.4%59.2%46.0%31.9%21.0%14.1%11.2%7.2%3.67
Agent history QA4,00080.7%68.8%55.3%35.4%26.0%16.1%11.3%6.1%4.00
Agent history QA6,00080.0%69.3%54.8%38.3%32.4%24.5%19.3%11.7%4.30
Agent history QA8,00082.3%67.1%50.6%31.7%19.5%14.4%8.4%5.7%3.80
Agent history QA10,00079.7%64.9%48.7%33.5%24.1%15.8%13.0%8.2%3.88
Agent history QA12,00081.4%62.8%46.0%31.7%20.4%12.5%8.5%4.0%3.67
Agent history QA12,00077.1%60.0%42.7%26.7%17.3%9.9%7.2%4.5%3.45
Agent history QA14,00076.9%53.2%38.2%26.5%16.9%10.4%6.5%4.2%3.33
Agent history QA16,00074.5%54.0%34.3%20.2%12.9%7.5%4.6%2.7%3.11
Agent history QA18,00078.6%55.5%34.9%22.6%14.3%7.8%5.0%2.5%3.21
Agent history QA20,00075.9%57.4%36.0%23.6%14.7%9.6%6.3%3.8%3.27
Code repo QA2,00071.3%43.3%25.8%16.9%10.4%5.6%3.6%1.8%2.79
Code repo QA4,00074.8%43.4%25.4%15.8%9.1%3.0%1.5%0.9%2.74
Code repo QA6,00077.8%47.1%26.2%13.0%7.5%1.5%0.9%0.7%2.75
Code repo QA8,00074.5%45.6%26.9%15.3%7.9%3.6%2.0%1.1%2.77
Code repo QA10,00073.5%48.2%26.0%13.5%6.5%1.9%1.5%0.4%2.72
Code repo QA12,00079.5%51.0%31.0%16.9%9.0%4.6%1.3%0.3%2.94
Code repo QA14,00073.0%45.7%26.1%15.6%7.2%3.3%0.9%0.2%2.72
Code repo QA16,00073.5%45.6%26.1%17.1%8.6%4.6%2.0%0.4%2.78
Code repo QA18,00076.9%50.6%29.9%16.4%8.9%3.6%1.9%0.7%2.89
Code repo QA20,00076.1%45.2%24.4%12.7%6.5%2.9%0.7%0.2%2.69
Detective2,00074.5%51.4%31.5%21.4%13.2%6.7%3.6%1.4%3.04
Detective4,00079.7%57.7%38.0%23.0%14.4%7.8%3.0%1.0%3.25
Detective6,00080.1%57.0%37.6%21.6%12.4%5.7%2.2%1.2%3.18
Detective8,00080.5%56.0%35.6%19.0%9.1%5.0%1.7%1.0%3.08
Detective10,00074.7%51.0%31.8%18.3%11.1%5.8%3.5%2.6%2.99
Detective12,00077.8%52.9%30.7%16.0%8.0%3.4%1.6%1.1%2.92
Detective14,00076.3%53.2%32.8%17.3%9.6%4.4%3.0%1.2%2.98
Detective16,00073.9%52.2%30.8%14.7%6.2%4.5%2.7%1.1%2.86
Detective18,00076.2%48.2%28.1%18.1%11.1%4.5%3.2%0.5%2.90
Detective20,00077.4%54.8%30.8%15.6%9.3%6.1%3.0%2.6%3.00
Event ordering2,00075.6%48.8%32.8%20.9%13.3%7.4%3.4%1.5%3.04
Event ordering4,00076.2%53.1%34.8%21.4%10.0%5.0%2.9%1.4%3.05
Event ordering6,00077.4%48.6%28.6%14.3%7.0%3.7%0.7%0.2%2.80
Event ordering8,00078.9%54.6%33.3%20.4%10.0%5.6%2.7%1.5%3.07
Event ordering10,00076.5%51.4%30.4%18.0%9.0%4.6%3.0%0.9%2.94
Event ordering12,00077.9%56.5%36.3%20.6%12.4%6.0%3.0%1.2%3.14
Event ordering14,00073.6%52.1%31.9%18.5%9.0%4.4%2.1%0.9%2.93
Event ordering16,00072.3%51.8%31.8%17.3%7.9%4.1%2.0%1.4%2.89
Event ordering18,00075.8%55.7%34.4%16.8%10.7%5.7%2.1%1.2%3.02
Event ordering20,00074.9%50.2%32.9%16.7%8.4%4.1%2.5%1.4%2.91
Financial2,00082.1%62.4%39.6%27.7%18.4%11.3%6.9%4.1%3.52
Financial4,00080.3%59.1%40.9%26.0%14.4%8.4%5.2%3.1%3.38
Financial6,00081.1%60.0%36.0%22.1%12.9%6.7%2.2%2.0%3.23
Financial8,00080.5%59.7%40.5%26.3%15.3%9.3%6.0%3.0%3.41
Financial10,00082.7%58.8%36.7%22.9%13.3%7.2%3.7%1.6%3.27
Financial12,00078.1%51.4%30.7%20.1%11.8%6.4%2.7%2.2%3.03
Financial14,00082.0%60.8%40.3%26.7%17.7%12.0%7.4%3.5%3.50
Financial16,00079.3%56.6%40.1%24.0%14.2%9.0%5.4%3.1%3.32
Financial18,00084.7%60.4%37.7%23.5%14.5%8.4%5.8%2.6%3.38
Financial20,00079.6%55.4%36.0%22.4%12.6%6.3%3.8%1.5%3.18
Governmental2,00078.2%59.1%45.0%28.2%21.2%14.1%8.8%6.8%3.61
Governmental4,00079.4%57.2%38.6%23.0%15.1%10.7%6.8%4.2%3.35
Governmental6,00080.5%62.1%39.5%24.5%16.3%9.6%5.1%3.2%3.41
Governmental8,00082.4%59.9%36.3%21.9%10.6%6.5%3.3%2.0%3.23
Governmental10,00081.5%57.9%39.9%26.2%15.9%10.1%5.8%2.1%3.39
Governmental12,00082.0%57.6%32.4%21.4%11.5%7.5%5.2%2.7%3.20
Governmental14,00081.6%53.7%30.5%18.9%11.2%6.4%2.6%1.4%3.06
Governmental16,00083.2%57.1%37.0%22.4%11.7%6.9%4.8%3.3%3.27
Governmental18,00083.0%59.7%35.9%22.8%12.4%7.3%3.0%1.3%3.26
Governmental20,00080.6%55.1%34.3%21.6%10.3%6.1%3.2%1.5%3.13
Legal2,00081.8%59.9%44.3%31.9%21.3%12.9%8.1%4.5%3.65
Legal4,00077.1%55.0%36.8%23.7%15.5%10.0%6.3%4.2%3.29
Legal6,00079.7%57.1%38.2%23.4%13.2%9.5%3.9%2.1%3.27
Legal8,00083.9%56.8%36.2%23.2%16.1%8.9%4.4%2.9%3.32
Legal10,00080.1%54.1%35.1%19.7%11.5%6.6%3.7%2.0%3.13
Legal12,00079.1%55.5%37.4%22.6%11.8%6.0%3.5%2.0%3.18
Legal14,00079.2%56.2%34.7%19.3%11.1%6.7%2.5%1.2%3.11
Legal16,00081.3%55.1%33.9%21.7%12.2%7.7%3.7%2.5%3.18
Legal18,00081.3%57.7%37.4%22.3%12.6%7.4%4.9%3.6%3.27
Legal20,00084.2%56.3%35.4%21.9%13.1%6.3%3.3%1.8%3.22
Literary2,00081.1%54.0%37.0%24.4%16.7%11.2%6.6%4.4%3.35
Literary4,00078.8%49.1%31.9%18.3%9.6%5.2%2.0%1.2%2.96
Literary6,00077.4%53.8%32.4%19.7%11.1%5.7%2.7%0.7%3.03
Literary8,00078.9%53.6%32.5%17.5%9.9%6.9%3.6%1.5%3.04
Literary10,00079.7%52.4%30.4%17.9%9.2%5.7%3.5%1.2%3.00
Literary12,00078.3%51.8%29.7%17.3%9.7%4.6%2.8%0.9%2.95
Literary14,00078.2%51.2%31.8%17.2%10.2%5.0%2.0%1.0%2.97
Literary16,00080.2%53.5%35.7%17.8%9.0%5.6%2.9%1.2%3.06
Literary18,00081.4%56.4%35.9%20.0%11.6%5.4%2.2%1.2%3.14
Literary20,00075.8%54.8%34.4%17.3%9.2%4.3%2.3%1.0%2.99
Multi-news2,00085.1%64.4%45.8%34.4%25.1%15.5%11.8%9.3%3.91
Multi-news4,00080.3%58.1%40.0%25.3%16.8%10.1%6.1%2.9%3.40
Multi-news6,00080.7%62.2%42.9%25.2%15.0%7.2%5.6%3.8%3.43
Multi-news8,00079.3%58.2%40.4%27.7%16.2%9.6%6.6%4.5%3.43
Multi-news10,00083.7%56.1%39.8%24.3%15.0%10.1%4.4%2.6%3.36
Multi-news12,00078.0%56.1%34.6%21.2%12.0%7.1%3.4%2.0%3.14
Multi-news14,00080.2%60.6%41.3%26.3%14.7%9.7%5.6%2.9%3.41
Multi-news16,00080.4%60.7%40.3%25.9%13.1%8.6%5.2%2.6%3.37
Multi-news18,00078.8%56.3%37.1%21.5%12.5%6.6%3.6%2.0%3.18
Multi-news20,00082.4%55.6%35.7%24.8%12.4%5.9%3.6%2.3%3.23

Performance Eval

speedup_math_reasoning_itl

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

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

GPU в ailist

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

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
DSparkDraftModel
Ревизия весов
7f833ac

0 моделей