Mindket

Qwen3.8-27B-DSpine-b16-GGUF

Newversion 1 · updated

Overview

A GGUF draft model that speeds up Qwen3.8-27B in llama.cpp through speculative decoding, reaching about 125 tokens per second on code and math on one RTX 3090. For people who run Qwen3.8-27B locally.

Qwen3.8-27B-DSpine-b16-GGUF is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • A target GGUF of Qwen3.8-27B, for example in Q4_K_M, because these files hold only the draft model
  • An NVIDIA GPU, since the build command turns on CUDA
  • Git, cmake and a C++ compiler
  • Python, for the Hugging Face download command
Runs in
  • The dspine branch of a llama.cpp fork named in the card, built with CUDA
  • A GPU such as the RTX 3090, with 24 GB of memory
  • Machines where you can build llama.cpp with cmake
Start with
pip install -U huggingface_hub
hf download aj9o9/Qwen3.8-27B-DSpine-b16-GGUF

Platform

ServerRuns on it

About

What it is

This repository holds GGUF conversions of DSpine, a draft model that speeds up Qwen3.8-27B through speculative decoding in llama.cpp. A small drafter proposes tokens and the large model checks them. On one RTX 3090 with a Q4_K_M target, the card reports about 125 tokens per second on code and math.

Who it suits

It suits people who run Qwen3.8-27B on their own NVIDIA GPU and want faster text generation, especially for code.

IndustryWho uses itHow they use itExample
SoftwareDevelopersSpeed up a local coding modelCode completion that returns sooner
Local AIHobbyists with a 24 GB GPUGet more tokens per second from the same cardFaster chat on an RTX 3090
AI researchInference researchersStudy speculative decoding draftersCompare DSpine with DFlash2 on the same target
InfrastructureML engineersTune draft length for a given GPUTest smaller drafts on cards where small batches are slow

If you need stock llama.cpp with no custom build, you can skip it, because upstream does not support DSpine yet.

Where to use it

  • The dspine branch of a llama.cpp fork named in the card, built with CUDA
  • A GPU such as the RTX 3090, with 24 GB of memory
  • Machines where you can build llama.cpp with cmake
Use caseWhoWhat they get back
Faster code generationDevelopersAbout 125 tokens per second on code and math, by the card's test
Faster chatLocal AI usersAbout 90 tokens per second on a mixed set of chat tasks
Tuning on other GPUsResearchersReports from AMD, Intel and DGX Spark users that the card collects

How to set it up

You need these first:

  • A target GGUF of Qwen3.8-27B, for example in Q4_K_M, because these files hold only the draft model
  • An NVIDIA GPU, since the build command turns on CUDA
  • Git, cmake and a C++ compiler
  • Python, for the Hugging Face download command
  1. Download the draft model files with the hub tool.
  2. Get a Qwen3.8-27B target GGUF.
  3. Clone the dspine branch of the fork the card names, then build it with the commands below.
  4. Start the server with the run command in the next section.
pip install -U huggingface_hub
hf download aj9o9/Qwen3.8-27B-DSpine-b16-GGUF
cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j

How to use it

Start llama-server with your target model and the draft model, then chat with it. Set the draft length and the context size yourself rather than using the defaults.

./build/bin/llama-server \
  -m  Qwen3.8-27B-Q4_K_M.gguf \
  -md Qwen3.8-27B-DSpine-b16-Q4_K_M.gguf \
  --spec-type draft-dflash \
  --spec-draft-n-max 15 \
  -ngl 999 --spec-draft-ngl 999 \
  -fa on --jinja -c 32768 -np 1 \
  --cache-type-k q8_0 --cache-type-v q8_0 \
  --spec-draft-type-k q8_0 --spec-draft-type-v q8_0
ToolWhat it does
-mLoads the Qwen3.8-27B target model
-mdLoads the DSpine draft model
--spec-draft-n-maxSets how many tokens are drafted, where 15 is best on NVIDIA CUDA and the default is 3
-cSets the context size, which you should choose yourself
--spec-draft-sampling probabilisticOptional, and helps slightly when the temperature is above 0

Example

You start the server with the command above and ask for a Python function that merges two sorted lists. The target model checks each block of drafted tokens, so the answer arrives faster than without a drafter, while the target still decides what is kept.

For newcomers and experts

Speculative decoding lets a small model guess ahead so the big one can check many tokens at once. A good first step is to try the recommended Q4_K_M file with the settings above.

DSpine extends DFlash with a five-layer drafter. It takes the hidden states of five target layers as input and drafts 16 tokens at once, as one block. It adds causal block attention, a code bridge after each layer and a refinement step that builds a 16 by 16 transition table.

  1. The draft model reads the target's hidden states
  2. It drafts a block of 16 tokens
  3. The target model checks the block
  4. Accepted tokens are kept

Good to know

Speed depends on your GPU, and the numbers below come from one RTX 3090.

Decode speed on one RTX 3090 in tokens per second
No speculative decoding28 tok/s
DFlash252 tok/s
DSpine on mixed chat90 tok/s
DSpine on code and math125 tok/s
  • Custom build: the standard llama.cpp will not open these files, so use the dspine branch of the fork
  • Files: Q4_K_M at 1.26 GB is recommended, Q8_0 at 2.20 GB is slightly slower, and BF16 at 4.06 GB is for requantizing
  • Context on 24 GB: with 15 drafted tokens it fits up to a context of 65536, and with 7 it fits up to 98304
  • Other GPUs: a 15-token draft may cost more time than it saves when a card handles small batches slowly
  • License: Apache 2.0
  • Cost to run: none named, you supply the GPU
  • Data it reaches: the prompts you send to your own local server

README and files

README

Qwen3.8-27B-DSpine-b16-GGUF

A GGUF draft model that speeds up Qwen3.8-27B in llama.cpp through speculative decoding, reaching about 125 tokens per second on code and math on one RTX 3090. For people who run Qwen3.8-27B locally.

Made by aj9o9 on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: This repository holds GGUF conversions of DSpine, a draft model that speeds up Qwen3.8-27B through speculative decoding in llama.cpp. A small drafter proposes tokens and the large model checks them. On one RTX 3090 with a Q4_K_M target, the card reports about 125 tokens per second on code and math.

Who it suits: It suits people who run Qwen3.8-27B on their own NVIDIA GPU and want faster text generation, especially for code.

Industry | Who uses it | How they use it | Example
Software | Developers | Speed up a local coding model | Code completion that returns sooner
Local AI | Hobbyists with a 24 GB GPU | Get more tokens per second from the same card | Faster chat on an RTX 3090
AI research | Inference researchers | Study speculative decoding drafters | Compare DSpine with DFlash2 on the same target
Infrastructure | ML engineers | Tune draft length for a given GPU | Test smaller drafts on cards where small batches are slow

If you need stock llama.cpp with no custom build, you can skip it, because upstream does not support DSpine yet.

Where to use it:

  • The dspine branch of a llama.cpp fork named in the card, built with CUDA
  • A GPU such as the RTX 3090, with 24 GB of memory
  • Machines where you can build llama.cpp with cmake
Use case | Who | What they get back
Faster code generation | Developers | About 125 tokens per second on code and math, by the card's test
Faster chat | Local AI users | About 90 tokens per second on a mixed set of chat tasks
Tuning on other GPUs | Researchers | Reports from AMD, Intel and DGX Spark users that the card collects

How to set it up: You need these first:

  • A target GGUF of Qwen3.8-27B, for example in Q4_K_M, because these files hold only the draft model
  • An NVIDIA GPU, since the build command turns on CUDA
  • Git, cmake and a C++ compiler
  • Python, for the Hugging Face download command
  1. Download the draft model files with the hub tool.
  2. Get a Qwen3.8-27B target GGUF.
  3. Clone the dspine branch of the fork the card names, then build it with the commands below.
  4. Start the server with the run command in the next section.
pip install -U huggingface_hub
hf download aj9o9/Qwen3.8-27B-DSpine-b16-GGUF
cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j

How to use it: Start llama-server with your target model and the draft model, then chat with it. Set the draft length and the context size yourself rather than using the defaults.

./build/bin/llama-server \
  -m  Qwen3.8-27B-Q4_K_M.gguf \
  -md Qwen3.8-27B-DSpine-b16-Q4_K_M.gguf \
  --spec-type draft-dflash \
  --spec-draft-n-max 15 \
  -ngl 999 --spec-draft-ngl 999 \
  -fa on --jinja -c 32768 -np 1 \
  --cache-type-k q8_0 --cache-type-v q8_0 \
  --spec-draft-type-k q8_0 --spec-draft-type-v q8_0
Tool | What it does
-m | Loads the Qwen3.8-27B target model
-md | Loads the DSpine draft model
--spec-draft-n-max | Sets how many tokens are drafted, where 15 is best on NVIDIA CUDA and the default is 3
-c | Sets the context size, which you should choose yourself
--spec-draft-sampling probabilistic | Optional, and helps slightly when the temperature is above 0

Example: You start the server with the command above and ask for a Python function that merges two sorted lists. The target model checks each block of drafted tokens, so the answer arrives faster than without a drafter, while the target still decides what is kept.

For newcomers and experts: Speculative decoding lets a small model guess ahead so the big one can check many tokens at once. A good first step is to try the recommended Q4_K_M file with the settings above.

DSpine extends DFlash with a five-layer drafter. It takes the hidden states of five target layers as input and drafts 16 tokens at once, as one block. It adds causal block attention, a code bridge after each layer and a refinement step that builds a 16 by 16 transition table.

The draft model reads the target's hidden states
It drafts a block of 16 tokens
The target model checks the block
Accepted tokens are kept

Good to know: Speed depends on your GPU, and the numbers below come from one RTX 3090.

Title: Decode speed on one RTX 3090 in tokens per second
No speculative decoding: 28 tok/s
DFlash2: 52 tok/s
DSpine on mixed chat: 90 tok/s
DSpine on code and math: 125 tok/s
  • Custom build: the standard llama.cpp will not open these files, so use the dspine branch of the fork
  • Files: Q4_K_M at 1.26 GB is recommended, Q8_0 at 2.20 GB is slightly slower, and BF16 at 4.06 GB is for requantizing
  • Context on 24 GB: with 15 drafted tokens it fits up to a context of 65536, and with 7 it fits up to 98304
  • Other GPUs: a 15-token draft may cost more time than it saves when a card handles small batches slowly
  • License: Apache 2.0
  • Cost to run: none named, you supply the GPU
  • Data it reaches: the prompts you send to your own local server

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: gguf
  • Parameters: 2B
  • Weights: about 1 GB at 4-bit (estimate)
  • Formats: GGUF
  • Downloads in the last 30 days: 15,022
  • Likes: 41
  • License: apache-2.0
  • Based on: tencent/Qwen3.8-27B-DSpine-b16
  • Tags: gguf, llama.cpp, dspine, dflash, speculative-decoding, draft-model, qwen3.8, text-generation, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download aj9o9/Qwen3.8-27B-DSpine-b16-GGUF

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
Qwen3.8-27B-DSpine-b16-GGUF This page15,022412Bapache-2.0
DSpine for Qwen3.8-27BShares dspine · draft-model · speculative-decoding4,3322222Bapache-2.0
Bielik-11B-v3.1-DFlash2Shares dflash · draft-model · speculative-decoding4431.2Bapache-2.0
Bielik-11B-v3.1-DFlashShares dflash · draft-model · speculative-decoding3631.2Bapache-2.0
Qwen3.8-27B-DFlash2-GGUF by z-labShares draft-model · speculative-decoding · llama.cpp506,7371621.9Bapache-2.0
Qwen3.8-Flash-Next-DFlash2-GGUFShares draft-model · speculative-decoding · llama.cpp3,9604603Mapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k