Instructions to use Anbeeld/Inkling-Small-DSpark-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anbeeld/Inkling-Small-DSpark-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Anbeeld/Inkling-Small-DSpark-GGUF", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Anbeeld/Inkling-Small-DSpark-GGUF", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Anbeeld/Inkling-Small-DSpark-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Anbeeld/Inkling-Small-DSpark-GGUF with Ollama:
ollama run hf.co/Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Anbeeld/Inkling-Small-DSpark-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Anbeeld/Inkling-Small-DSpark-GGUF with Docker Model Runner:
docker model run hf.co/Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
- Lemonade
How to use Anbeeld/Inkling-Small-DSpark-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Inkling-Small-DSpark-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Anbeeld/Inkling-Small-DSpark-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Anbeeld/Inkling-Small-DSpark-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Anbeeld/Inkling-Small-DSpark-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Inkling-Small-NVFP4 DSpark GGUF
GGUF quantizations of RadixArk DSpark draft model for Inkling-Small-NVFP4.
Use with BeeLlama.cpp, a llama.cpp fork with advanced quantization features.
Inkling-Small DSpark speculator
Overview
A DSpark speculator for the Inkling-Small NVFP4 target, enabling faster inference through speculative decoding. DSpark extends the DFlash parallel-draft backbone with a Markov logit-bias head and a per-position confidence head. This checkpoint was trained with SpecForge using hidden states from a live SGLang target engine.
Model Specifications
- Base model:
thinkingmachines/Inkling-Small-NVFP4; the exact matching target checkpoint and tokenizer are required. - Format: Safetensors (single-file BF16, 1.39B trainable parameters; draft weights only).
- Draft: 6 layers (Qwen3-style GQA), hidden 4096, 32 heads / 8 KV heads, head_dim 128, FFN 12288, rope_theta 8000000,
block_size=7. - RoPE: YaRN, factor 128,
original_max_position_embeddings=8192,max_position_embeddings=1048576(matches the target addressable range); config carries bothrope_scalingandrope_parametersschemas. - Vocabulary: 200,058 tokenizer entries and 201,024 padded weight rows;
mask_token_id=200064. - DSpark heads: Markov rank 256 (vanilla) and confidence head (with-Markov).
- Aux hidden-state layers:
[1, 6, 12, 17, 23, 28, 34, 39]. - Trained context: 8,192 native; long-context adaptation with sequences up to 65,536.
- Target weights: target embedding and unembedding weights are not included in this checkpoint.
Evaluation Results
Acceptance length over the full DeepSpec workload datasets. DSPARK block size 7, thinking effort 0.99, temperature 0 and temperature 1.0 / top-p 0.95:
| Dataset | n | acc_len @ T=0 | acc_len @ T=1 |
|---|---|---|---|
| GSM8K | 1,319 | 5.4254 | 5.2700 |
| MATH500 | 500 | 4.8009 | 4.6787 |
| MBPP | 257 | 4.1515 | 4.0105 |
| HumanEval | 164 | 3.9911 | 3.9084 |
| MT-Bench | 80 | 3.7309 | 3.6076 |
| LBPP | 162 | 3.6420 | 3.5093 |
| AIME24 | 30 | 3.5456 | 3.3864 |
| AIME25 | 30 | 3.4172 | 3.3192 |
| LiveCodeBench | 1,055 | 3.4154 | 3.3139 |
| Alpaca | 52,002 | 3.3504 | 3.2087 |
| Arena-Hard-v2 | 750 | 3.2091 | 3.0265 |
| SWE-Bench | 300 | 3.1914 | 2.9975 |
| Mean (12) | 3.8226 | 3.6864 |
RULER V2 at the 1M input configuration (50 prompts per partition, actual prompts 1,022,335–1,045,000 tokens):
| Partition | acc_len @ T=0 | acc_len @ T=1 |
|---|---|---|
| MK (multi-key) | 4.2665 | 3.9417 |
| MV (multi-value) | 4.2324 | 3.9666 |
| QA | 3.4938 | 3.2632 |
Long-context acceptance is flat on held-out 16K–64K agentic trajectories (67 rows, temperature 0): 3.592 (8–16K), 3.560 (16–32K), 3.534 (32K+).
Serving with SGLang
Requires a SGLang build with DSpark support
SGLANG_ENABLE_UNIFIED_RADIX_TREE=1 \
sglang serve --trust-remote-code \
--model-path thinkingmachines/Inkling-Small-NVFP4 --tp 8 \
--quantization modelopt_fp4 --attention-backend fa4 --page-size 128 \
--fp4-gemm-backend flashinfer_trtllm --moe-runner-backend flashinfer_trtllm_routed \
--enable-torch-symm-mem --mamba-radix-cache-strategy extra_buffer \
--mem-fraction-static 0.60 --swa-full-tokens-ratio 0.1 --mamba-full-memory-ratio 0.1 \
--max-running-requests 68 --reasoning-parser inkling --tool-call-parser inkling \
--skip-server-warmup --speculative-algorithm DSPARK \
--speculative-draft-model-path RadixArk/Inkling-Small-DSpark \
--speculative-draft-model-quantization unquant \
--speculative-dspark-block-size 7 \
--chunked-prefill-size 8192 --cuda-graph-max-bs-prefill 8192 \
--disable-flashinfer-autotune --host 0.0.0.0 --port 30000
Training Details
- Framework: SpecForge online distillation with hidden states captured from a frozen Inkling-Small target served by a colocated per-node TP4 SGLang engine; KV injection of fused target features into every draft layer with block-local bidirectional attention.
- Loss:
0.1 CE + 0.9 L1 distillation + 1.0 confidence BCE, 512 sampled anchors per sequence,block_size=7, within-block decay gamma4.
- Downloads last month
- -
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for Anbeeld/Inkling-Small-DSpark-GGUF
Base model
RadixArk/Inkling-Small-DSpark