CoolFace
Modelpublic

bloomer010/Ling-3.0-tiny-GGUF

sourceHugging Facemitupdated 2d agoView on Hugging Face
105likes156kdownloads
Model Card

Ling-3.0-tiny GGUF

GGUF conversions of inclusionAI/Ling-3.0-tiny, converted directly from the released BF16 safetensors.

๐Ÿฆ™๐Ÿšจ llama.cpp ๐Ÿฆ™๐Ÿšจ

Consistent agentic use (tool calling, reasoning split) currently requires two unmerged llama.cpp PRs:

  • โ€”Dedicated Ling parser: #28682 (โœ… Merged as of 9/19)
  • โ€”Invalid UTF-8 handling in the PEG parser: #29161 (โœ… Merged as of 9/20)

Without both, tool calls inside an unclosed think block are dropped and some turns fail with a 500. Will update this note as they merge.

The model does occasionally terminate its response, mid-think, without any sort of closing. This is inherent in the weights, even at full precision.

To run with llama-server:

bash
llama-server -hf bloomer010/Ling-3.0-tiny-GGUF:Q4_K_M

Quant Sizing

For tiny models, precision is especially crucial.

Generally... <BR> Larger files = More precision.<BR> Smaller files = More compression = More slop and misbehavin'.

Use UD-Q8KXL for near-full precision performance.

QuantSizeyour memory
BF1615.8 GB16 GB+
UD-Q8KXL11.19 GB12 GB+
Q8_08.41 GB10 GB+
UD-Q6KXL7.27 GB8 GB+
Q6_K6.50 GB8 GB+
Q5KM5.64 GB7 GB+
Q5KS5.48 GB6 GB+
Q5_05.48 GB6 GB+
Q4KM4.82 GB6 GB+
Q4KS4.55 GB6 GB+
Q4_04.53 GB6 GB+
MXFP4_MOE4.72 GB6 GB+ ยน
IQ4_XS4.29 GB5 GB+
Q3KM3.84 GB5 GB+
Q3KS3.51 GB5 GB+
IQ3_S3.51 GB4 GB+
IQ3_XXS3.13 GB4 GB+
Q2_K2.99 GB4 GB+
IQ2_M2.70 GB3 GB+
IQ2_S2.48 GB3 GB+
IQ2_XS2.43 GB3 GB+
IQ2_XXS2.21 GB3 GB+
IQ1_M1.93 GB3 GB+
IQ1_S1.76 GB2 GB+
Q1_01.30 GB2 GB+

ยน MXFP4_MOE runs its native path on MXFP4-capable GPUs (Blackwell RTX 50-series, GB10/DGX Spark). Elsewhere it falls back to a slower dequant path โ€” prefer a K-quant on older hardware.

Importance Matrix

The IQ-quant rungs (IQ1_S through IQ4_XS) were generated with a model-specific importance matrix:

  • โ€”Wikitext-2 raw training text
  • โ€”100 chunks
  • โ€”512 tokens per chunk
  • โ€”51,200 calibration tokens total
  • โ€”332 matrix entries

XL Quantization Recipes

UD-Q8_K_XL uses Q8_0 for the main expert gate and up tensors. Token embeddings, expert down projections, attention and Q-LoRA projections, and KDA projections remain BF16.

UD-Q6_K_XL uses Q6K for the main expert gate and up tensors. Token embeddings, output weights, expert down projections, attention and Q-LoRA projections, and KDA projections use Q80. It was generated with the importance matrix described above.

Architecture

  • โ€”7.9B total parameters and 1.3B active parameters per token
  • โ€”24 layers: 18 KDA layers and 6 MLA layers
  • โ€”128 routed experts, 8 active per token, plus 1 shared expert
  • โ€”Q-LoRA rank 256 and KV-LoRA rank 512
  • โ€”131,072-token context in the released configuration
  • โ€”No bundled MTP block for this model (num_nextn_predict_layers: 0)

Validation

  • โ€”BF16 conversion completed with 526 tensors, including all 18 Q-LoRA tensors
  • โ€”CPU and CUDA architecture tests passed
  • โ€”BF16, Q80, Q6K, Q4KM, and MXFP4_MOE loaded and generated tokens with CUDA
  • โ€”Q10, IQ2M, Q3KM, Q5KS, and Q5KM passed CPU-only prompt processing and token generation tests
  • โ€”UD-Q6KXL and UD-Q8KXL passed CPU-only prompt processing and token generation tests
  • โ€”IQ1S, IQ1M, IQ2S, IQ2XS, IQ2XXS, IQ3XXS, IQ3S, IQ4XS, Q2K, Q3KS, Q4KS, Q40, and Q5_0 passed load and generation tests
  • โ€”CUDA testing used an RTX 4070 and RTX 3060

Build

bash
git clone https://github.com/ggml-org/llama.cpp.git   # bailingmoe3 merged 2026-08-17
# pre-merge builds:
# git clone --branch bailingmoe3-support https://github.com/aetherbird/llama.cpp.git
cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j --target llama-cli llama-server

Usage

bash
./build/bin/llama-server \
  -m Ling-3.0-tiny-Q4_K_M.gguf \
  -c 131072 \
  -ngl auto \
  --flash-attn auto \
  --temp 1.0 --top-p 0.95 --top-k 20 \
  --jinja

Thinking is enabled by default; disable per request with "chat_template_kwargs": {"enable_thinking": false}. Recommended sampling parameters from the source model card are temperature=1.0, top_p=0.95, and top_k=20.