/ Модель

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

Лицензия
Не указана
Базовая модель
Inkling-2-Mini-DFlash2
Библиотека
llama.cpp
Опубликована
24 ноя 2026

Inkling-2-Mini-Dflash2-GGUF

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

Черновая модель DFlash2 в формате GGUF для ускорения спекулятивного декодирования Inkling-2-Mini через совместимую сборку llama.cpp.

1 518скачиваний за 30 дней0лайковвеса обновлены24 ноя 2026

Бенчмарки

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

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

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

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

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

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

ufrik/Inkling-2-Mini-Dflash2-GGUF — GGUF-упаковка черновой модели DFlash2 для Inkling-2-Mini. Веса и архитектуру разработала incoai; автор репозитория выполнил конвертацию в GGUF и адаптацию для запуска в llama.cpp. Это не самостоятельная языковая модель: черновик предлагает токены для спекулятивного декодирования, а итоговый текст генерирует целевая Inkling-2-Mini. Модель рассчитана на ускорение генерации в паре с этой целевой моделью.

Архитектура — DFlash, пять блоков с размером чернового блока 8. В репозитории доступен один файл BF16 размером около 956 МиБ. README приводит результат 56,6 токена в секунду для конкретной конфигурации на M3 Ultra, но предупреждает, что сравнение с базовыми вариантами не контролировалось и скорость зависит от сборки и настроек runtime.

Для работы требуются Inkling-2-Mini и сборка llama.cpp с исправлениями Inkling DFlash2; стандартные сборки, указанные в README, аварийно завершаются при первом токене. Лицензия в метаданных указана как неизвестная, поэтому условия использования по этой карточке определить нельзя.

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

  • ускорение генерации текста Inkling-2-Mini
  • спекулятивное декодирование в llama.cpp
  • развёртывание сервера Inkling-2-Mini с DFlash2 на Apple Silicon

Ограничения

Модель не генерирует текст самостоятельно и работает только в паре с Inkling-2-Mini. Требуется сборка llama.cpp с исправлениями Inkling DFlash2; доступен только BF16, а альтернативная квантизация не проверена.

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

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

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

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

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

Открыть на Hugging Face

Inkling-2-Mini — DFlash2 draft (GGUF, BF16)

This is a converted GGUF of the DFlash2 draft published by incoai: incoai/Inkling-2-Mini-DFlash2. All model weights and the DFlash2 architecture are theirs; nothing here retrained or fine-tuned anything. The contribution in this repo is the GGUF packaging and the llama.cpp runtime work that makes their draft actually run against Inkling-2-Mini. Please cite / link the original repo if you use this.

A speculative-decoding draft model for Inkling-2-Mini (the target it drafts for), in GGUF, for llama-server's --spec-type draft-dflash2 path. It is not a standalone model: it has no usable vocabulary head of its own and only works paired with the Inkling-2-Mini target.

This is the first DFlash2 draft for Inkling that runs under llama.cpp. Upstream llama.cpp aborts on the first token with Inkling (see Runtime requirement).

Files

FileSizeTensorsNotes
Inkling-2-Mini-DFlash2-Draft-BF16.gguf1,002,166,976 B (955.7 MiB)8149 BF16 (990 MB) + 32 F32 (norm/scale vectors)

SHA-256: 2407193231dea04b7d874e1a2101d34ce97e07a40843e355939d123b4318c186

Runtime requirement (read this)

Requires a llama.cpp build that carries the Inkling DFlash2 fixes. Stock builds — including b12588 and b12675 — abort on the first completion:

common/common.cpp: get_sub_batch: failed to add token 200899 at index 3 (error -2, n = 4)
GGML_ABORT -> common_batch::get_sub_batch -> server_context_impl::decode

Cause: Inkling's LM head is padded (output.weight is [2304, 201024], real vocab 200058). The DFlash2 candidate path takes ggml_top_k over the full padded logits and casts the result straight to llama_token, so it emits ids in [200058, 201024) that the batch rejects. Three changes in src/models/dflash.cpp / src/models/dflash2.cpp, all gated on LLM_ARCH_INKLING2_LOOP, fix it:

  1. vocabulary clamp — view the logits as valid_vocab × n_tokens before ggml_top_k (vocab.n_tokens() of the target), mirroring the valid_vocab_size clamp in the vendor's SGLang DFlash;
  2. target token-embedding norm — apply the target's tok_norm (RMS) to the draft's token embeddings, which the draft does not carry;
  3. skip final logit soft-capping — Inkling does not use the softcap that dflash applies when final_logit_softcapping > 0.

Because of (2) and (3), this draft is Inkling-specific and should not be pointed at other targets. The build used here is llama-inkling-dflash-work (llama.cpp c212d25ad + those three patches); the target checkpoint is the ordinary padded Inkling-2-Mini-UD-Q8_K_XL.gguf — no repacked or unpadded target is needed.

Architecture

KeyValue
general.architecturedflash
dflash.block_count5
dflash.block_size8 (block-diffusion draft block)
dflash.embedding_length / feed_forward_length2304 / 6912
dflash.target_layers[6, 24, 42, 48] (1-based; layers whose hidden states the draft reads)
dflash.selector_rank / selector_top_k256 / 16
dflash.conv_kernel_size / conv_group_size2 / 16
dflash.attention.sliding_window2048 (all 5 layers)
dflash.context_length1,048,576
dflash.final_logit_softcapping30.0 (ignored — see requirement 3)
dflash.rope.freq_base10000.0
dflash.attention.layer_norm_rms_epsilon1e-6
tokenizer.ggml.tokens201024 (padded — matches the target's storage)
tokenizer.ggml.pre / modelinkling2 / gpt2
eos / eot / pad / mask200006 / 200006 / 199999 / 200056
chat templatepresent (inherited from the target)

Serve

Minimal

If you already have Inkling-2-Mini in GGUF and a patched build, this is all you need:

llama-server \
  -m Inkling-2-Mini-UD-Q8_K_XL.gguf \
  --spec-draft-model Inkling-2-Mini-DFlash2-Draft-BF16.gguf \
  --spec-type draft-dflash2 \
  --spec-draft-n-max 7

Then open http://localhost:8080 or POST to /completion. Everything else below is tuning.

Advanced — the configuration this draft was verified with

Served as a production service on an M3 Ultra (96 GB), alongside the target and its vision projector:

llama-server \
  -m  Inkling-2-Mini-UD-Q8_K_XL.gguf \
  --mmproj Inkling-2-Mini-GGUF-mmproj-BF16.gguf/mmproj-BF16.gguf \
  --spec-draft-model Inkling-2-Mini-DFlash2-Draft-BF16.gguf \
  --spec-type draft-dflash2 \
  --spec-draft-n-max 7 --spec-draft-n-min 0 \
  -c 368640 --parallel 3 -fa on -ngl 99 -ctk q8_0 -ctv q8_0 \
  --jinja --reasoning on --temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 --repeat-penalty 1.0

What the extra flags buy: --mmproj vision, -c 368640 --parallel 3 the full context with 3 concurrent slots, -ctk q8_0 -ctv q8_0 quantised KV/value cache (the reason 368 K fits in 96 GB), --jinja the target's chat template, --reasoning on Inkling's thinking mode, and the explicit sampling block so the server defaults match the served model. --metrics is worth adding if you want draft-acceptance numbers in the log.

Measured performance

Same machine (sun, M3 Ultra 96 GB), same server, --temp 0, 4 prompts × 2 reps (warm-up rep discarded), decode speed from the server's own timings.predicted_per_second:

Configtok/s
Inkling-2-Mini + this draft (draft-dflash2, n-max 7)56.6 mean (37.9 – 74.6)
Inkling-2-Mini + DSpark draft27.5
Inkling-2-Mini, no draft26.2

The DSpark / no-draft rows were measured on the Unsloth b12588-mix build at ctx 32768, 1 slot, so they are not a controlled baseline for the 56.6 row (c212d25ad + patches, ctx 368640, 3 slots). Treat 56.6 as the served-configuration figure and re-measure your own no-draft baseline before quoting a speedup ratio. For what it is worth as a caution: the same class of draft measured 15.8 tok/s on the mix build — slower than drafting nothing — so the engine matters far more than the draft file.

Provenance

Converted from incoai/Inkling-2-Mini-DFlash2 (model.safetensors, 990 MB, model_type: qwen3, DFlash2DraftModel) with convert_hf_to_gguf.py from llama.cpp c212d25ad, --outtype bf16. Upstream repo: https://huggingface.co/incoai/Inkling-2-Mini-DFlash2 — that is the source of every weight in this file and the place to go for the original safetensors, the authors' SGLang reference (sglang_inkling_dflash2.py) and any updated draft.

That repo ships no tokenizer, which makes the stock converter write tokenizer.ggml.eos_token_id = None and die in struct.pack. The tokenizer metadata was therefore taken from the Inkling-2-Mini target (201024-token vocab, pre = inkling2) and the special ids set to the values the target uses.

This file deliberately keeps the selector codebooks at their trained padded width ([256, 201024]) and writes no dflash.vocab_size key. That is the convention it was verified with, on the build named above. A second convention exists in the wild — trimmed codebooks ([256, 200058]) plus explicit dflash.vocab_size / vocab_size_unpadded keys and an unpadded tokenizer block — and it also loads. The two are not interchangeable; if your build rejects one, do not assume it will reject the other.

Limitations

  • Draft-only. Cannot generate on its own.
  • Inkling-specific (tok_norm + softcap behaviour come from the target).
  • Needs the patched runtime; on stock builds it aborts rather than degrades.
  • Only BF16 is provided. The draft is ~1 GB; Q8_0 is possible but untested for acceptance-rate loss.
  • Acceptance-rate telemetry requires starting the server with --metrics.

License

Unresolved — do not assume. The checkpoint is converted from incoai/Inkling-2-Mini-DFlash2, which publishes no license file, and its target is thinkingmachines/Inkling-2-Mini. Both need to be settled before this repo can carry a license. Until then treat the weights as "all rights reserved" by their respective upstreams; the conversion script and this README are the only parts authored here.

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

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

GPU в ailist

llama.cpp

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

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
ff37ba0

0 моделей