Instructions to use kingjones777/Ling-3.0-flash-base-midtrain-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-midtrain-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-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Ling-3.0-flash-base-midtrain-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-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Ling-3.0-flash-base-midtrain-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-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./llama-cli -hf kingjones777/Ling-3.0-flash-base-midtrain-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-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama-cli -hf kingjones777/Ling-3.0-flash-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Use Docker
docker model run hf.co/kingjones777/Ling-3.0-flash-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- LM Studio
- Jan
- vLLM
How to use kingjones777/Ling-3.0-flash-base-midtrain-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-midtrain-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-midtrain-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-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- Ollama
How to use kingjones777/Ling-3.0-flash-base-midtrain-ROCmFP4-COHERENT-GGUF with Ollama:
ollama run hf.co/kingjones777/Ling-3.0-flash-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- Unsloth Studio
How to use kingjones777/Ling-3.0-flash-base-midtrain-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-midtrain-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-midtrain-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-midtrain-ROCmFP4-COHERENT-GGUF to start chatting
- Pi
How to use kingjones777/Ling-3.0-flash-base-midtrain-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-midtrain-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-midtrain-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-midtrain-ROCmFP4-COHERENT-GGUF with Docker Model Runner:
docker model run hf.co/kingjones777/Ling-3.0-flash-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- Lemonade
How to use kingjones777/Ling-3.0-flash-base-midtrain-ROCmFP4-COHERENT-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kingjones777/Ling-3.0-flash-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.Ling-3.0-flash-base-midtrain-ROCmFP4-COHERENT-GGUF-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use kingjones777/Ling-3.0-flash-base-midtrain-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-midtrain-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-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kingjones777/Ling-3.0-flash-base-midtrain-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-midtrain-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-midtrain-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-midtrain โ ROCmFP4 for AMD Strix Halo (gfx1151)
โ the first ROCmFP4 build of Ling-3.0-flash-base-midtrain, published with a measured MTP curve
Checked 2026-08-22 against every public GGUF of this checkpoint. The only other GGUF build (
avar6/Ling-3.0-flash-base-midtrain-gguf) ships a single standard k-quant,Q5_K_M. 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-midtrain 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-midtrain 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.
midtrain is the mid-training checkpoint โ after the 30T pretraining stage and after long-context extension, but before any instruction tuning.
This checkpoint carries the full context_length = 262,144 and rope_theta = 6000000 of the
long-context-extended Flash base line. (The 30T checkpoint, by contrast, declares only 8,192.)
The file
| ftype | 102 โ Q4_0_ROCMFP4_COHERENT |
| size | 72,123,713,664 bytes (67.17 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 |
| rope_theta | 6000000 |
Head protection, verified in the finished file (not merely requested at quantise time, and re-audited after the metadata rename that produced the final bytes above):
output.weight Q6_K
token_embd.weight Q6_K
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.
Architecture notes
Ling-3.0-flash interleaves two attention types. head_count_kv is a per-layer array 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, 3 repetitions per
config, measured on an otherwise idle box.
| config | flags | generation (median) | runs |
|---|---|---|---|
| no drafter | --spec-type none |
36.6 t/s | 36.6 / 36.6 / 36.6 |
| MTP n-max 3 | --spec-type draft-mtp --spec-draft-ngl 999 --spec-draft-n-max 3 |
43.0 t/s | 43.2 / 43.0 / 43.0 |
MTP is worth +17.5% on this checkpoint, with disjoint ranges.
All three Ling-3.0-flash base checkpoints measure the same no-drafter 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 | 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 (this file) | 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.
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-midtrain-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 Papyrus, which dates back to around 1650 BCE in ancient Egypt. This papyrus, named after the Scottish antiquarian Henry Rhind who purchased it in 1858, contains a collection of mathematical problems and solutions that provide valuable insights into the mathematical knowledge and practices of the time. The Rhind Papyrus includes problems related to arithmeti
Not measured
- Perplexity is not published for this build. 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.
- Output determinism under MTP was not tested on this checkpoint. On the sibling
Ling-3.0-flash-base, MTP was found not to be output-deterministic at--temp 0with a fixed seed. Assume the same here unless you verify it. - n-max 5 was not swept on this checkpoint.
n-max 3is the published setting.
Provenance
Converted from inclusionAI/Ling-3.0-flash-base-midtrain at revision
34f7c1ed096bdb3118ec1474132ad21794d4510a to BF16 GGUF (938 tensors), then quantised to ftype 102 with
--output-tensor-type q6_K, then general.name set to Ling-3.0-flash-base-midtrain and the heads
re-audited on the finished file. Licence MIT, inherited from the base model.
- Downloads last month
- 68
4-bit
Model tree for kingjones777/Ling-3.0-flash-base-midtrain-ROCmFP4-COHERENT-GGUF
Base model
inclusionAI/Ling-3.0-flash-base-midtrain