Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
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 . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download XHToken/Spark-X2.6-4B-DSpark-GGUF
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.
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.
| 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 |
pip install -U huggingface_hub hf download XHToken/Spark-X2.6-4B-DSpark-GGUF
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.
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 |
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.
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.
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.
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:
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:
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.
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:
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
Download its files with Hugging Face's command line:
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.
README.md 5 KB
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 | |
| Spark-X2.6-1.7B-DSpark-GGUFShares sparkx2_6 · dspark · draft-model | 969 | 10 | 345M | apache-2.0 | |
| MiniCPM-OCR 1.0 DSparkShares dspark · draft-model · speculative-decoding | 12,549 | 14 | 297M | apache-2.0 | |
| Qwen3.8-27B-DFlash2-GGUF by z-labShares draft-model · speculative-decoding · gguf | 506,737 | 162 | 1.9B | apache-2.0 | |
| Qwen3.8-27B-DSpine-b16-GGUFShares draft-model · speculative-decoding · gguf | 15,022 | 41 | 2B | apache-2.0 | |
| Qwen3.8-Flash-Next-DFlash2-GGUFShares draft-model · speculative-decoding · gguf | 3,960 | 4 | 603M | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
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…
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…
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.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…