Instructions to use raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-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 raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-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 raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
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 raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
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 raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
Use Docker
docker model run hf.co/raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
- LM Studio
- Jan
- Ollama
How to use raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF with Ollama:
ollama run hf.co/raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
- Unsloth Studio
How to use raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-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 raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-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 raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF to start chatting
- Pi
How to use raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
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": "raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
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 "raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0" \ --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 raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF with Docker Model Runner:
docker model run hf.co/raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
- Lemonade
How to use raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
Run and chat with the model
lemonade run user.Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF-Q4_0
List all available models
lemonade list
- Hermes Agent
How to use raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-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 raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
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 raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF:Q4_0
Run Hermes
hermes
- Atomic Chat
Ling-3.0-flash โ ROCmFP4-STRIX + MTP (Strix Halo optimized)
A Q4_0_ROCMFP4_STRIX quantization of inclusionAI/Ling-3.0-flash (124B MoE, 5.1B active, hybrid KDA+MLA bailingmoe3), tuned for AMD Strix Halo (gfx1151, Radeon 8060S) โ with two extras you won't find in stock conversions:
- The MTP (NextN) head is preserved โ surgically restored from the original safetensors at Q8_0 (standard converters drop it), enabling
draft-mtpspeculative decoding: 90โ95% draft acceptance, ~45โ50 t/s decode on a 128 GB Strix Halo box (vs ~37 plain). - SwiGLU clamp metadata baked in (
bailingmoe3.swiglu_clamp_exp/shexp) โ Ling is trained with clamped SwiGLU in late layers (vLLM implements it; the public HF modeling code ignores it). Without the clamps, GGUF inference deterministically corrupts occasional tokens (count += 1eville). With them: HumanEval fenced 95.1 / plus 89.0.
Requirements
Runs on the ROCmFPX llama.cpp fork (ROCmFP4 kernels + bailingmoe3 + MTP support):
- bailingmoe3 arch + MTP wiring: https://github.com/charlie12345/ROCmFPX/pull/57
- MTP-on-checkpoint spec fix: https://github.com/charlie12345/ROCmFPX/pull/56
- (converter-side clamp fix upstream: https://github.com/AtomicBot-ai/atomic-llama-cpp-turboquant/pull/67)
Stock llama.cpp cannot load ROCmFP4 tensors. For non-ROCm setups use a standard quant (e.g. AtomicChat/Ling-3.0-flash-GGUF) on the feat/bailingmoe3 fork instead.
Serving (measured-optimal on Strix Halo, 128 GB)
ulimit -l unlimited # LXC default 8 MB memlock cripples GPU registration
llama-server -m Ling-3.0-flash-ROCmFP4-STRIX-MTP-00001-of-00002.gguf \
-dev ROCm0 -ngl 999 -fa on -c 1048576 -fit off -np 4 --no-mmap \
--spec-type draft-mtp --spec-draft-n-max 2 --spec-draft-n-min 0 --spec-draft-p-min 0.5 \
--chat-template-kwargs '{"enable_thinking":false}' \
--temp 0.6 --top-p 0.95 --top-k 20 --jinja
Notes: --no-mmap matters (mmap against a near-full GTT loads at MB/s; no-mmap loads 65 GB in ~17 s); -fit off (the auto-fitter aborts on this size); 4ร262k slots = 1M unified context fits in ~75 GiB GTT; thinking toggles per request via chat_template_kwargs.
Measured performance (Strix Halo / Radeon 8060S, ROCm)
| metric | value |
|---|---|
| decode, MTP spec (n-max 2, 95% acceptance) | 45โ50 t/s |
| decode, plain | 37 t/s |
| prefill | 460โ610 t/s (short), ~250 t/s @64k |
| decode @64k context | 36.6 t/s (spec), acceptance rises to 99% at depth |
| load time (no-mmap, warm) | ~17 s |
| HumanEval fenced / plus (pass@1) | 95.1 / 89.0 |
Sampling per model card: temp 0.6, top-p 0.95, top-k 20.
- Downloads last month
- 714
4-bit
Model tree for raulvidis/Ling-3.0-flash-ROCmFP4-STRIX-MTP-GGUF
Base model
inclusionAI/Ling-3.0-flash