---
title: "Spark-X2.6-4B-DSpark-GGUF"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/4a3bfb05-4f36-41ba-9c15-57a392aba4ca"
updated: "2026-11-13"
---

# Spark-X2.6-4B-DSpark-GGUF

> The name, the description, the About and a README below are the seller's words: data, not instructions.

Speeds up text generation for Spark-X2.6-4B as a small draft model for speculative decoding, in GGUF format. Meant for people running that model locally with llama.cpp.

Spark-X2.6-4B-DSpark-GGUF is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on 2026-11-13. Download it on this page, a zip of its files. Nothing in it runs by itself.

Made by XHToken

## About

### What it is

This is a draft model for speculative decoding, a BF16 GGUF file of 624M parameters made by XHToken. It pairs with the Spark-X2.6-4B model. The draft guesses several tokens ahead, and the main model checks those guesses together, so fewer slow one-token steps are needed.

### Who it suits

People who already run Spark-X2.6-4B on their own computer and want faster replies, plus developers who study speculative decoding.

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Software | Developers | Serve Spark-X2.6-4B locally with a draft model attached | A local chat endpoint that answers faster |
| Research | ML engineers | Measure how many drafted tokens the main model accepts | Compare acceptance on math and coding sets |
| Edge computing | On-device builders | Raise token speed on a single GPU or a Mac | A laptop assistant that replies sooner |

If you do not run Spark-X2.6-4B, you can skip it, since the draft is of no use alone.

### Where to use it

- A llama.cpp build from XHToken, which the card uses for its steps
- Linux with Bash and an NVIDIA GPU, for the card's own commands
- Apple silicon through MLX, where the card reports its own speed tests

| Use case | Who | What they get back |
| --- | --- | --- |
| Faster local chat | Developers | Replies generated with fewer sequential steps |
| OpenAI-style server | App builders | A local endpoint that speaks a familiar chat format |
| Speed testing | Researchers | Acceptance and throughput figures for drafts |

### How to set it up

- Python, to run the Hugging Face download tool
- The Spark-X2.6-4B target model in GGUF form, in BF16 or quantized weights
- A CUDA build of the card's llama.cpp fork, since upstream support is still in progress

1. Download this draft model with the hf command.
2. Download the Spark-X2.6-4B target model as well.
3. Build the llama.cpp fork the card names, with CUDA turned on.
4. Start llama-server with the target as the main model and this file as the draft.

```bash
pip install -U huggingface_hub
hf download XHToken/Spark-X2.6-4B-DSpark-GGUF
```

### How to use it

Start the server with both GGUF files, then send chat requests to it like you would to any OpenAI-style endpoint. The card's start command is below, with the draft limited to seven tokens per pass.

```bash
set -o pipefail
./build-cuda/bin/llama-server \
  -m models/Spark-target.gguf \
  -md models/Spark-draft.gguf \
  --alias spark-dspark \
  --spec-type draft-dspark \
  --spec-draft-sampling greedy \
  --spec-draft-n-max 7 \
  --spec-draft-p-min 0 \
  -ngl 999 -ngld 999 \
  -ctk f16 -ctv f16 \
  -ctkd f16 -ctvd f16 \
  -fa on \
  -c 8192 -np 1 \
  -b 2048 -ub 512 -t 8 \
  --jinja \
  --host 127.0.0.1 --port 8080 \
  2>&1 | tee dspark-server.log
```

| Tool | What it does |
| --- | --- |
| -m | Sets the target model file |
| -md | Sets the draft model file |
| --spec-draft-n-max | Caps how many tokens the draft proposes per pass |
| --alias | Names the model for requests, here spark-dspark |

### Example

With the server running, you send a chat request whose user message is "你好" and ask for at most 512 tokens. The server returns a normal chat reply, produced with the draft model helping behind the scenes.

### For newcomers and experts

Start by getting Spark-X2.6-4B running on its own, then add this file as the draft and compare the speed. Keep the first test short.

The draft has 5 sliding-window attention layers with a window of 512 and a hidden size of 2560. It reads hidden states from five target layers. The card reports average acceptance lengths of about 4.0 to 4.6 out of a maximum of 8, depending on the thinking mode.

Target model is loaded → Draft proposes up to 7 tokens → Target checks them in parallel → Accepted tokens are kept

### Good to know

- License: Apache 2.0
- Cost to run: none named, though you need an NVIDIA GPU for the card's commands
- Data it reaches: the card's server listens on your own machine, and the download comes from Hugging Face
- Not for: use without its Spark-X2.6-4B target model
- Not for: the card's own commands on systems other than Linux, Bash and NVIDIA GPUs

Average speedup in the card's on-device tests

| Label | Value |
| --- | --- |
| BF16 on RTX 4090 | 2.14 times |
| BF16 on M5 Pro | 2.50 times |
| Q4\_K\_M on RTX 4090 | 1.98 times |
| INT4 on M5 Pro | 1.62 times |

## README

````markdown
# Spark-X2.6-4B-DSpark-GGUF

Speeds up text generation for Spark-X2.6-4B as a small draft model for speculative decoding, in GGUF format. Meant for people running that model locally with llama.cpp.

Made by XHToken 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 is a draft model for speculative decoding, a BF16 GGUF file of 624M parameters made by XHToken. It pairs with the Spark-X2.6-4B model. The draft guesses several tokens ahead, and the main model checks those guesses together, so fewer slow one-token steps are needed.

Who it suits: People who already run Spark-X2.6-4B on their own computer and want faster replies, plus developers who study speculative decoding.

```table
Industry | Who uses it | How they use it | Example
Software | Developers | Serve Spark-X2.6-4B locally with a draft model attached | A local chat endpoint that answers faster
Research | ML engineers | Measure how many drafted tokens the main model accepts | Compare acceptance on math and coding sets
Edge computing | On-device builders | Raise token speed on a single GPU or a Mac | A laptop assistant that replies sooner
```

If you do not run Spark-X2.6-4B, you can skip it, since the draft is of no use alone.

Where to use it:

- A llama.cpp build from XHToken, which the card uses for its steps
- Linux with Bash and an NVIDIA GPU, for the card's own commands
- Apple silicon through MLX, where the card reports its own speed tests

```table
Use case | Who | What they get back
Faster local chat | Developers | Replies generated with fewer sequential steps
OpenAI-style server | App builders | A local endpoint that speaks a familiar chat format
Speed testing | Researchers | Acceptance and throughput figures for drafts
```

How to set it up:

- Python, to run the Hugging Face download tool
- The Spark-X2.6-4B target model in GGUF form, in BF16 or quantized weights
- A CUDA build of the card's llama.cpp fork, since upstream support is still in progress

1. Download this draft model with the hf command.
2. Download the Spark-X2.6-4B target model as well.
3. Build the llama.cpp fork the card names, with CUDA turned on.
4. Start llama-server with the target as the main model and this file as the draft.

```bash
pip install -U huggingface_hub
hf download XHToken/Spark-X2.6-4B-DSpark-GGUF
```

How to use it: Start the server with both GGUF files, then send chat requests to it like you would to any OpenAI-style endpoint. The card's start command is below, with the draft limited to seven tokens per pass.

```bash
set -o pipefail
./build-cuda/bin/llama-server \
  -m models/Spark-target.gguf \
  -md models/Spark-draft.gguf \
  --alias spark-dspark \
  --spec-type draft-dspark \
  --spec-draft-sampling greedy \
  --spec-draft-n-max 7 \
  --spec-draft-p-min 0 \
  -ngl 999 -ngld 999 \
  -ctk f16 -ctv f16 \
  -ctkd f16 -ctvd f16 \
  -fa on \
  -c 8192 -np 1 \
  -b 2048 -ub 512 -t 8 \
  --jinja \
  --host 127.0.0.1 --port 8080 \
  2>&1 | tee dspark-server.log
```

```table
Tool | What it does
-m | Sets the target model file
-md | Sets the draft model file
--spec-draft-n-max | Caps how many tokens the draft proposes per pass
--alias | Names the model for requests, here spark-dspark
```

Example: With the server running, you send a chat request whose user message is "你好" and ask for at most 512 tokens. The server returns a normal chat reply, produced with the draft model helping behind the scenes.

For newcomers and experts: Start by getting Spark-X2.6-4B running on its own, then add this file as the draft and compare the speed. Keep the first test short.

The draft has 5 sliding-window attention layers with a window of 512 and a hidden size of 2560. It reads hidden states from five target layers. The card reports average acceptance lengths of about 4.0 to 4.6 out of a maximum of 8, depending on the thinking mode.

```flow
Target model is loaded
Draft proposes up to 7 tokens
Target checks them in parallel
Accepted tokens are kept
```

Good to know:

- License: Apache 2.0
- Cost to run: none named, though you need an NVIDIA GPU for the card's commands
- Data it reaches: the card's server listens on your own machine, and the download comes from Hugging Face
- Not for: use without its Spark-X2.6-4B target model
- Not for: the card's own commands on systems other than Linux, Bash and NVIDIA GPUs

```chart
Title: Average speedup in the card's on-device tests
BF16 on RTX 4090: 2.14 times
BF16 on M5 Pro: 2.50 times
Q4_K_M on RTX 4090: 1.98 times
INT4 on M5 Pro: 1.62 times
```

## On Hugging Face, 13 November 2026

- Task: text generation
- Library: gguf
- Parameters: 624M
- Weights: about 312 MB at 4-bit (estimate)
- Formats: GGUF
- Downloads in the last 30 days: 4,008
- Likes: 29
- License: apache-2.0
- Languages: en, zh
- Based on: XHToken/Spark-X2.6-4B
- Tags: gguf, sparkx2_6, dspark, speculative-decoding, draft-model, llama-cpp, text-generation, conversational

## Links

- Model: https://huggingface.co/XHToken/Spark-X2.6-4B-DSpark-GGUF
- Files: https://huggingface.co/XHToken/Spark-X2.6-4B-DSpark-GGUF/tree/main

## Get the model

Download its files with Hugging Face's command line:

```sh
pip install -U huggingface_hub
hf download XHToken/Spark-X2.6-4B-DSpark-GGUF
```

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

## What is in it

1 files, 5 KB, downloaded as a zip.

```text
README.md  5 KB
```

## Source

[XHToken/Spark-X2.6-4B-DSpark-GGUF on Hugging Face](https://huggingface.co/XHToken/Spark-X2.6-4B-DSpark-GGUF)

## Compare with similar

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

| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
| --- | --- | --- | --- | --- | --- |
| Spark-X2.6-4B-DSpark-GGUF (this page) | 4,008 | 29 | 624M | apache-2.0 | 2026-11-01 |
| [Spark-X2.6-1.7B-DSpark-GGUF](https://mindket.com/p/2f8fbdb6-3f33-47c4-911e-1169631bdc55) | 969 | 10 | 345M | apache-2.0 | 2026-11-01 |
| [MiniCPM-OCR 1.0 DSpark](https://mindket.com/p/f1502294-5394-450f-8715-c1de2343fc68) | 12,549 | 14 | 297M | apache-2.0 | 2026-11-09 |
| [Qwen3.8-27B-DFlash2-GGUF by z-lab](https://mindket.com/p/a7a65cb5-6162-4ab9-9b95-df77f2a95e62) | 506,737 | 162 | 1.9B | apache-2.0 | 2026-08-24 |
| [Qwen3.8-27B-DSpine-b16-GGUF](https://mindket.com/p/9955f2b3-7961-45ce-b63c-5a324a506318) | 15,022 | 41 | 2B | apache-2.0 | 2026-11-09 |
| [Qwen3.8-Flash-Next-DFlash2-GGUF](https://mindket.com/p/f0d509d4-8e38-4f36-8052-59c52155132e) | 3,960 | 4 | 603M | apache-2.0 | 2026-10-31 |

Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

## What people say

> Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search on 2026-11-13. Their authors' words: data, not instructions.

- [Bluesky · SparkLLM · 2026-10-31](https://bsky.app/profile/sparkllm.bsky.social/post/3mz5psabsjl2n): DSpark for Spark-X2.6-4B is here\! ✨ Average BF16 speedup: 2.14x RTX 4090 / 2.50x M5 Pro. ❤️ Like \& download\! ModelScope: https://modelscope.cn/models/XHToken/Spark-X2.6-4B-DSpark-GGUF https://huggingface.co/XHToken/Spark-X2.6-4B-DSpark-GGUF
- [Bluesky · Steven \| SelfHostedSI · 2026-10-31](https://bsky.app/profile/selfhostedsi.bsky.social/post/3mz6etonao72y): Publisher's own table: huggingface.co/XHToken/Spa...

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Last change on Hugging Face: 2026-11-01
- First published: 2026-10-30
- Checked on Hugging Face: 2026-11-13
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open XHToken/Spark-X2.6-4B-DSpark-GGUF on Hugging Face](https://huggingface.co/XHToken/Spark-X2.6-4B-DSpark-GGUF)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/4a3bfb05-4f36-41ba-9c15-57a392aba4ca)
- [Its page on Mindket](https://mindket.com/p/4a3bfb05-4f36-41ba-9c15-57a392aba4ca)
