Instructions to use bloomer010/Ling-3.0-flash-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use bloomer010/Ling-3.0-flash-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 bloomer010/Ling-3.0-flash-gguf:IQ1_S # Run inference directly in the terminal: llama cli -hf bloomer010/Ling-3.0-flash-gguf:IQ1_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bloomer010/Ling-3.0-flash-gguf:IQ1_S # Run inference directly in the terminal: llama cli -hf bloomer010/Ling-3.0-flash-gguf:IQ1_S
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 bloomer010/Ling-3.0-flash-gguf:IQ1_S # Run inference directly in the terminal: ./llama-cli -hf bloomer010/Ling-3.0-flash-gguf:IQ1_S
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 bloomer010/Ling-3.0-flash-gguf:IQ1_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf bloomer010/Ling-3.0-flash-gguf:IQ1_S
Use Docker
docker model run hf.co/bloomer010/Ling-3.0-flash-gguf:IQ1_S
- LM Studio
- Jan
- Ollama
How to use bloomer010/Ling-3.0-flash-gguf with Ollama:
ollama run hf.co/bloomer010/Ling-3.0-flash-gguf:IQ1_S
- Unsloth Studio
How to use bloomer010/Ling-3.0-flash-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bloomer010/Ling-3.0-flash-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bloomer010/Ling-3.0-flash-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bloomer010/Ling-3.0-flash-gguf to start chatting
- Pi
How to use bloomer010/Ling-3.0-flash-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bloomer010/Ling-3.0-flash-gguf:IQ1_S
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "bloomer010/Ling-3.0-flash-gguf:IQ1_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use bloomer010/Ling-3.0-flash-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 bloomer010/Ling-3.0-flash-gguf:IQ1_S
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 bloomer010/Ling-3.0-flash-gguf:IQ1_S
Run Hermes
hermes
- OpenClaw new
How to use bloomer010/Ling-3.0-flash-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bloomer010/Ling-3.0-flash-gguf:IQ1_S
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 "bloomer010/Ling-3.0-flash-gguf:IQ1_S" \ --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"
- Docker Model Runner
How to use bloomer010/Ling-3.0-flash-gguf with Docker Model Runner:
docker model run hf.co/bloomer010/Ling-3.0-flash-gguf:IQ1_S
- Lemonade
How to use bloomer010/Ling-3.0-flash-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bloomer010/Ling-3.0-flash-gguf:IQ1_S
Run and chat with the model
lemonade run user.Ling-3.0-flash-gguf-IQ1_S
List all available models
lemonade list
- Atomic Chat
Compatibility
โ ๏ธ Ling-3.0-flash uses the new bailingmoe3 GGUF architecture. While waiting on upstream support, use the following fork:
https://github.com/aetherbird/llama.cpp/tree/bailingmoe3-support
Stock llama.cpp builds without bailingmoe3 support will not load the model.
Conversion and Quantization
Taken directly from the released inclusionAI/Ling-3.0-flash BF16 safetensors.
Conversion-specific tensor transformations include:
A_logstored asexp(A_log)- MLA
kv_b_projsplit into separate K and V tensors, with the K tensor transposed - KDA convolution weights reshaped for llama.cpp
- Per-expert tensors stacked into GGUF expert tensors
- KDA and MLA
g_projtensors mapped separately
Norms, routing tensors, expert routing bias, KDA state scalars, dt_bias, and convolution weights remain F32.
Importance Matrix
Importance matrix generated from the Q8_0 model:
wiki.train.raw- 100 chunks
- 512 tokens per chunk
- 51,200 calibration tokens total
- 573 matrix entries
Quants
MXFP4_MOE:
- Quantized using llama.cpp's MXFP4_MOE quantization type
Q8_0:
- 8.51 BPW
- 126.3 GiB
- Includes MTP block
UD-Q2_K_XL:
- Model-specific Unsloth-style mixed tensor recipe
- Main expert gate/up tensors: IQ2_XS
- Main expert down tensors: IQ3_XXS
- Final target layer experts: IQ3_XXS and IQ4_XS
- Attention, shared experts, and KDA projections retained at higher precision
- MTP experts: Q3_K and Q4_K
IQ1_S:
- Expected size: approximately 24.9 GiB
- Preserves MTP functionality
Notes
The GGUF contains 43 blocks:
- 42 target-model layers
- 35 KDA layers
- 7 gated MLA layers at zero-based indices 5, 11, 17, 23, 29, 35, and 41
- One MTP/NextN block at index 42
The first two target layers use dense FFNs. The remaining target layers use 512 routed experts with top-8 selection plus one shared expert. Routing uses sigmoid scoring, expert bias, eight expert groups, and four selected groups.
The KDA safe gate is implemented as:
lower_bound * sigmoid(exp(A_log) * (f_proj(x) + dt_bias))
The lower bound is -5.0. The GGUF stores the positive exp(A_log) value, while the sign is supplied by the negative lower bound.
MTP Support
The MTP block is bundled inside every GGUF.
During ordinary inference, llama.cpp skips the MTP tensors and may report them as unused. They occupy disk space but are not loaded into the ordinary target-model buffer.
With --spec-type draft-mtp, the same GGUF is opened as an MTP draft model and block 42 is loaded and executed. No separate drafter
file is required.
Validation Completed
- BF16 architecture load and tensor round-trip
- CPU and CUDA execution on a reduced-size BailingMoE3 fixture
- Target next-token parity against the Hugging Face implementation
- First three recursive MTP proposals matched the Hugging Face implementation
- Full MXFP4_MOE target and MTP graph smoke test
- Q8_0 conversion completed successfully with all 938 tensors
Build
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
./build/bin/llama-server \
-m Ling-3.0-flash-Q8_0.gguf \
-c 131072 \
-ngl auto \
--flash-attn auto
Enable the bundled MTP drafter:
./build/bin/llama-server \
-m Ling-3.0-flash-Q8_0.gguf \
-c 131072 \
-ngl auto \
--flash-attn auto \
--spec-type draft-mtp
MoE placement can be adjusted for available VRAM with -ncmoe N. Draft-model placement can be controlled separately with -ncmoed N and -ngld N.
Supports up to 256K context. Reasoning is enabled by default.
Upstream PR: https://github.com/ggml-org/llama.cpp/pull/26608
- Downloads last month
- -
1-bit
4-bit
8-bit
Model tree for bloomer010/Ling-3.0-flash-gguf
Base model
inclusionAI/Ling-3.0-flash