Install on a machine

Connect a computer with a GPU and you can install this model on it from here.

Connect a machine

Spark-X2.5-4B-GGUF#

Spark-X2.5 is a compact, general-purpose language model for conversation, writing, translation, reasoning, coding, tool use, and agentic workflows. It uses a hybrid attention architecture, supports a native context length of up to 1M tokens, and covers more than 200 languages. For its architecture, training methods, benchmark results, fine-tuning, and citation, see the Spark-X2.5-4B.

Local Deployment#

llama.cpp#

[!NOTE] Native spark2_5 support requires llama.cpp b10828 or later.

Run the model in the CLI:

bash
llama cli -m /path/to/Spark-X2.5-4B-GGUF

Launch the OpenAI-compatible API server:

bash
llama serve -m /path/to/Spark-X2.5-4B-GGUF

Ollama#

Download Ollama

[!NOTE] Native spark2_5 support requires Ollama v0.34.1 or later.

bash
ollama run SparkLLM/Spark-X2.5-4B

LM Studio#

Download LM Studio

[!NOTE] Native spark2_5 support requires runtime version 2.34.0 or later.

Unsloth#

Download Unsloth Studio

[!NOTE] The latest Unsloth Studio supports native Spark-X2.5 GGUF inference.

License#

Released under the Apache License 2.0.

XHToken/Spark-X2.5-4B-GGUF

by XHToken

286,258
292
View on HuggingFace

Details

Type
text-generation
Size
Unknown

Inference Providers

HF Inference APIServerless

Using gguf

View API

Inference Providers let you run inference on thousands of models using a simple, unified API.

Basic Information

Model ID

XHToken/Spark-X2.5-4B-GGUF

Author

XHToken

Pipeline

text-generation

SHA

9826e0be84e6...

Timeline

Created

August 28, 2026

Last Modified

September 20, 2026

Model Card

Pipeline
text-generation
Library
gguf

Tags

ggufllama.cppollamalm-studiosparkx2_5unslothpocketpal-aitext-generationenzh