Instructions to use kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-GGUF # Run inference directly in the terminal: llama cli -hf kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
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-ROCmFP4-STRIX_LEAN-GGUF # Run inference directly in the terminal: llama cli -hf kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
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-ROCmFP4-STRIX_LEAN-GGUF # Run inference directly in the terminal: ./llama-cli -hf kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
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-ROCmFP4-STRIX_LEAN-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
Use Docker
docker model run hf.co/kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
- LM Studio
- Jan
- vLLM
How to use kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
- Ollama
How to use kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF with Ollama:
ollama run hf.co/kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
- Unsloth Studio
How to use kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-GGUF to start chatting
- Pi
How to use kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-GGUF
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-ROCmFP4-STRIX_LEAN-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF with Docker Model Runner:
docker model run hf.co/kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
- Lemonade
How to use kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
Run and chat with the model
lemonade run user.Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-GGUF
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-ROCmFP4-STRIX_LEAN-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-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-ROCmFP4-STRIX_LEAN-GGUF
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-ROCmFP4-STRIX_LEAN-GGUF" \ --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 โ ROCmFP4 STRIX_LEAN (ftype 106)
This is the one you want if you just want to run Ling-3.0-flash on a Strix Halo box.
I quantized inclusionAI/Ling-3.0-flash (instruct) to ftype 106 Q4_0_ROCMFP4_STRIX_LEAN for AMD gfx1151 โ Ryzen AI MAX+ 395, 128 GB unified memory. It's my standard serving build: 4-bit body, lean Q5_K token embeddings, and a protected Q6_K LM head.
โ ๏ธ You need a ROCmFPX-capable llama.cpp build. These tensor types (
Q4_0_ROCMFP4_*,Q*_0_ROCMFPX*) are not in mainline, so this will not load in stock llama.cpp, Ollama, or LM Studio.
What kind of build this is
I publish three Ling-3.0-flash builds and they are not interchangeable:
| build | what it's for |
|---|---|
| this one โ 106 STRIX_LEAN | default. Fastest sensible quality-per-GB. Serve from this. |
| Research 106 | my research quant recipe โ bare ftype path, unprotected head. Comparison work, not serving. |
| Research Q6 AGENT (114) | my research quant recipe at 8-bit. Highest fidelity, biggest, slowest. |
All three come from the same aligned checkpoint. The word "Research" in the other two refers to how I quantized them, not to a different or de-aligned model.
Why the head matters here
tie_word_embeddings = false on this model, so output.weight is a real standalone tensor and --output-tensor-type does actual work. My earlier 4-bit instruct builds left output.weight at 4-bit โ that is a real quality defect, not a rounding detail. This build forces the LM head to Q6_K, and I verify it by exact tensor name (output.weight, never a substring โ it matches inside attn_output.weight):
| tensor (exact name) | type |
|---|---|
output.weight |
Q6_K (14) |
token_embd.weight |
Q5_K (13) |
โ ๏ธ ftype 106 does not protect the head on its own. If you build this yourself and skip the flag, you get a 4-bit head and a worse model that looks identical from the outside.
Receipts
| bytes | 68,136,565,408 |
| sha256 | cbf2521b08a6dca0bddf386ae418436b87a0569fc23b380ee2abc83cf093abd4 |
general.file_type |
106 |
| arch / tensors / ctx | bailingmoe3 / 938 / 262144 |
| blocks | 43, nextn_predict_layers = 1 (MTP head at blk.42) |
| dry-run โ built | 64973.85 MiB (4.28 BPW) โ +6.242 MiB |
| decode | 30.7 t/s (prompt 107.9 t/s) |
Source: inclusionAI/Ling-3.0-flash @ 42766a814ab117e75e2e61465d5e131b72d931a3, converted to a 255,091,083,232-byte BF16 GGUF (938 tensors), then quantized.
llama-quantize --output-tensor-type q6_K \
Ling-3.0-flash-I-BF16.gguf \
Ling-3.0-flash-I-ROCmFP4-STRIX_LEAN.gguf \
Q4_0_ROCMFP4_STRIX_LEAN 16
Converter note
Upstream emits the KDA gate tensors as blk.N.ssm_f_a / ssm_g_a (vestigial kimi-linear names); the runtime I use wants blk.N.ssm_f / ssm_g. Same shapes, same semantics โ a naming dialect. I patched the converter and verified the result: 35ร ssm_f + 35ร ssm_g, zero _a leftovers (42 layers โ 7 full-attention = 35 KDA layers).
Measured on my own hardware. Every number above is read back from the built file.
- Downloads last month
- 146
We're not able to determine the quantization variants.
Model tree for kingjones777/Ling-3.0-flash-ROCmFP4-STRIX_LEAN-GGUF
Base model
inclusionAI/Ling-3.0-flash