Instructions to use kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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 kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./llama-cli -hf kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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 kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama-cli -hf kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Use Docker
docker model run hf.co/kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- LM Studio
- Jan
- vLLM
How to use kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- Ollama
How to use kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF with Ollama:
ollama run hf.co/kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- Unsloth Studio
How to use kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF to start chatting
- Pi
How to use kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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": "kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF with Docker Model Runner:
docker model run hf.co/kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- Lemonade
How to use kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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 kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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 "kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP" \ --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"
Ling-3.0-flash-base โ ROCmFP4 for AMD Strix Halo (gfx1151)
โ the first ROCmFP4 build of Ling-3.0-flash-base, published with a measured MTP curve
Checked 2026-08-22 against every public GGUF of this checkpoint. The two other GGUF builds โ
mradermacher/Ling-3.0-flash-base-GGUF(Q2_KthroughQ5_K_S) andavar6/Ling-3.0-flash-base-gguf(Q5_K_M, uploaded 2026-08-22) โ both ship standard k-quants. ROCmFP4 is a runtime tensor format that exists only in the ROCmFPX fork of llama.cpp. Repository-content comparison only โ no third-party build was run or benchmarked here.
A 4-bit ROCmFP4 quantisation of Ling-3.0-flash-base for AMD Ryzen AI Max+ 395 / Radeon 8060S / gfx1151, with the multi-token-prediction (MTP) draft head preserved.
โ ๏ธ This is a base checkpoint, not an instruct model
Ling-3.0-flash-base is a pretrained / base checkpoint released by inclusionAI for continued
pretraining, domain adaptation and fine-tuning. It is not instruction-tuned. It ships a
chat_template.jinja, but that is a tokenizer asset โ it does not make the weights conversational.
Prompt it as a text continuation model. For chat, use inclusionAI/Ling-3.0-flash instead.
The file
| ftype | 102 โ Q4_0_ROCMFP4_COHERENT |
| size | 72,123,713,664 bytes (67.16 GiB) |
| parameters | 127.49 B (512 experts ร 3.9 B, 8 active) |
| architecture | bailing-hybrid โ hybrid KDA linear attention + MLA |
| tensors | 938 ยท block_count 43 (42 layers + 1 MTP layer) |
| context | 262,144 |
Head protection, verified in the finished file (not merely requested at quantise time):
output.weight Q6_K 2560 x 157184 402.4M params
token_embd.weight Q6_K 2560 x 157184 402.4M params
histogram: ROCmFP4(type 100) x545, F32 x390, Q6_K x2, Q8_0 x1
tie_word_embeddings is false on this model, so --output-tensor-type does real work here โ
the COHERENT tier on its own leaves output.weight at 4-bit. Both heads were forced to Q6_K and
audited on exact tensor names after the build.
Architecture notes
Ling-3.0-flash interleaves two attention types. head_count_kv is a per-layer array โ
[0,0,0,0,0,1,0,0,0,0,0,1,โฆ] โ where 0 marks a KDA linear-attention layer and 1 a full MLA
layer: 1 MLA layer in every 6. MLA uses a compressed KV path (kv_lora_rank 512) with a plain
wide query projection (q_lora_rank: null). The blk.42 MTP layer is retained in full, including
nextn.eh_proj, nextn.enorm, nextn.hnorm and nextn.shared_head_norm, with the unfused
attn_k_b / attn_v_b form that the MTP path requires.
Measured throughput
AMD Ryzen AI Max+ 395, Radeon 8060S (gfx1151), ROCm 7.2.4, 128 GB unified memory.
llama-cli, -dio -ngl 999 -st -c 2048 -n 512 --temp 0 --seed 1234, 5 repetitions per config.
| config | flags | generation (median) | range |
|---|---|---|---|
| no drafter | --spec-type none |
36.6 t/s | 36.6 โ 36.6 |
| MTP n-max 3 | --spec-type draft-mtp --spec-draft-ngl 999 --spec-draft-n-max 3 |
42.3 t/s | 42.3 โ 42.5 |
MTP is worth +15.6% on this model, with disjoint ranges and a 0.0% baseline spread across 5 repetitions.
The two sibling checkpoints measure the same baseline to the decimal on identical hardware and flags, which is the cross-check for this figure:
| checkpoint | no drafter | MTP n-max 3 | effect |
|---|---|---|---|
| Ling-3.0-flash-base (this file) | 36.6 t/s | 42.3 t/s | +15.6% |
| Ling-3.0-flash-base-30T | 36.6 t/s | 41.4 t/s | +13.1% |
| Ling-3.0-flash-base-midtrain | 36.6 t/s | 43.0 t/s | +17.5% |
MTP is reliably positive across the whole Ling-3.0-flash base family. It is not reliable on Ling-3.0-tiny, where the same measurement gives +7.5% / +5.1% / โ4.4% across the three checkpoints โ the draft head is trained with the model, so its value belongs to the specific (size, checkpoint) pair rather than to the architecture. Measure before enabling it.
n-max 3 is the recommended setting. Deeper speculation costs prefill throughput: prompt processing measures ~90โ98 t/s at n3 versus ~122โ130 t/s with no drafter.
โ ๏ธ MTP is not output-deterministic here
At --temp 0 with a fixed seed, the no-drafter arm produced byte-identical text across all 5
repetitions. Both MTP arms did not โ n-max 3 produced 3 distinct outputs across 5 runs, n-max 5
produced 4, and every MTP output differed from the no-drafter output. If bit-reproducible generation
matters more to you than +15.6%, run without the draft head.
Requirements
This file uses the ROCmFP4 tensor format and the bailing-hybrid architecture. It requires a build
of ROCmFPX that carries both. Stock llama.cpp will
not load it. Verify with strings libllama.so | grep bailing-hybrid โ the architecture table lives
in the shared library, not in the thin CLI binary.
llama-cli -m Ling-3.0-flash-base-Q4_0_ROCMFP4_COHERENT.gguf \
-dio -ngl 999 -c 2048 -n 512 \
--spec-type draft-mtp --spec-draft-ngl 999 --spec-draft-n-max 3 \
-p "The history of mathematics begins in ancient times. One of the earliest known"
-dio (direct I/O) is recommended. At -ngl 999 the HIP backend copies offloaded tensors out of
file-backed pages into device allocations, so without direct I/O the source pages and the device
buffer are resident simultaneously โ roughly twice the model size, which is tight on a 128 GB box.
Sample output
Continuation from "The history of mathematics begins in ancient times. One of the earliest known":
mathematical texts is the Rhind Mathematical Papyrus, which dates back to around 1650 BCE in ancient Egypt. This papyrus, named after the Scottish antiquarian Alexander Henry Rhind who purchased it in 1858, contains a collection of mathematical problems and solutions that provide insight into the mathematical knowledge of the time. The problems cover a range of topics, including arithmetic, geometry, and algebra, and demonstrate the Egyptians' practical approach to mathematics.
Not measured
Perplexity is not published for this build. No perplexity figure is quoted because none was completed on this hardware โ a 127 B model at this size exceeds a practical evaluation budget on a single Strix Halo box. Quality evidence here is limited to the coherence check above and the verified tensor-level audit.
Sibling quantisations
Also built but not published: Q4_0_ROCMFP4_LEAN (72.07 GB โ within 0.07% of COHERENT, since the
tiers differ only in token-embedding type, which is negligible on a 127 B model),
Q6_0_ROCMFPX (105.22 GB) and Q8_0_ROCMFPX (131.66 GB โ exceeds the addressable memory of a
128 GB Strix Halo box).
Provenance
Converted from inclusionAI/Ling-3.0-flash-base at revision
0a96b0a3c68f93e5565d6f2d56c98557bded74fb to BF16 GGUF (255.1 GB, 938 tensors), then quantised to
ftype 102 with --output-tensor-type q6_K. Licence MIT, inherited from the base model.
- Downloads last month
- 157
4-bit
Model tree for kingjones777/Ling-3.0-flash-base-ROCmFP4-COHERENT-GGUF
Base model
inclusionAI/Ling-3.0-flash-base