Instructions to use kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./llama-cli -hf kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama-cli -hf kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP
Use Docker
docker model run hf.co/kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP
- LM Studio
- Jan
- vLLM
How to use kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP
- Ollama
How to use kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF with Ollama:
ollama run hf.co/kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP
- Unsloth Studio
How to use kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF to start chatting
- Pi
How to use kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF with Docker Model Runner:
docker model run hf.co/kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP
- Lemonade
How to use kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-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/DiffusionGemma-26B-A4B-it-ROCmFP4-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"
DiffusionGemma-26B-A4B-it — ROCmFP4 / ROCmFPX GGUF
AMD-native FP4 / FP8 GGUF builds of google/diffusiongemma-26B-A4B-it for RDNA3.5 /
Strix Halo (gfx1151). MoE, 26B total / ~4B active, 128 experts / top-8.
This is a block-diffusion model: it denoises a 256-token canvas in parallel over N steps.
llama-server is the wrong binary — use llama-diffusion-cli / llama-diffusion-gemma-server.
Text-only; the source ships no mmproj and no MTP draft head, so neither is included here.
Variants
| file | ftype | size | actual steps | e2e decode |
|---|---|---|---|---|
…-Q4_0_ROCMFP4_COHERENT.gguf |
102 | 13.46 GiB | 21 | 26.03 t/s |
…-Q6_0_ROCMFPX_AGENT.gguf |
114 | 21.82 GiB | 18 | 21.08 t/s |
…-Q8_0_ROCMFPX.gguf |
111 | 24.32 GiB | 16 | 37.85 t/s |
…-Q8_0_ROCMFPX_AGENT.gguf |
115 | 24.68 GiB | 15 | 41.18 t/s |
All four: 3/3 correctness, [692/692] tensors, constant 15.09 MiB header delta (spread 5.6 KB).
Heads protected — tie_word_embeddings: true, so --output-tensor-type is a silent no-op and
--token-embedding-type is the only lever: q6_K on the 4-bit, q8_0 on the rest.
⭐ The 4-bit is NOT the fastest here — and that is the interesting part
On autoregressive models our 4-bit always wins, because decode is bandwidth-bound. Diffusion denoises 256 positions at once, so each step is a large GEMM and the workload is compute-bound. gfx1151 has no FP4 hardware path, so FP4 is unpacked per element in software — and at batch 256 that unpack costs more than the memory it saves.
A 24.68 GiB file runs a step faster than a 13.46 GiB one (414 ms vs 468 ms). Take the 8-bit unless you are short on disk.
⭐⭐ Scheduler tuning is worth more than the quant choice
The step scheduler is entropy-bound: --diffusion-steps is ignored, and the model stops when
its own entropy budget is met. The stock budget stops conservatively. Loosening it:
--diffusion-eb-entropy-bound 0.8 --diffusion-eb-confidence 0.05
took a mainline Q8_0 build of these same weights from 45.3 → 53.56 t/s (12 steps x 398 ms,
median of 5, spread 1.012) with all quality gates still passing — 1.30x over the baseline above.
Adding -n 512 (two blocks) reached 55.3 t/s. Since e2e = steps x ms/step, removing steps beats
shaving milliseconds.
⛔ There is a quality cliff between 10 and 12 steps. At 8 steps the model reaches 78.5 t/s
and produces degenerate output ("list1111 ****") — and the three factual gates still pass,
because short factual answers converge early. Only a code-generation check caught it. 12 steps is
the floor for clean full-canvas output. If you tune this, gate on generated prose or code, not
on needle-in-haystack questions.
⚠️ Diffusion cost is decoupled from output length
"Say hi" still costs 9 steps / ~4 s, because the whole 256-token canvas is denoised
regardless. An autoregressive model emits that reply in a fraction of a second. Diffusion is
competitive only when you actually want a full canvas — compare it as a curve over output length,
never as a single ratio.
For reference, the autoregressive sibling of these weights
(kingjones777/Gemma-4-26B-A4B-it-ROCmFP4-GGUF), same box and same recipe, measures
54.39 t/s without a drafter.
Notes
- HIP works on ROCm 7.2.4 (
lddshows no Vulkan libraries linked). An older 0.73x figure for this model came from a box whose rocBLAS could not load the gfx1151 Tensile library, forcing a Vulkan fallback whose sampler ran on CPU — that number does not describe this build. - Answers sometimes double-print (
391391); long code replies can be cut mid-canvas when the scheduler stops. Decoder behaviour, not quantization damage.
Credits
FP4/FP8 tensor types from the ROCmFPX fork of llama.cpp. These types do not exist in mainline
llama.cpp — a ROCmFPX-capable build is required to load them.
- Downloads last month
- 242
Model tree for kingjones777/DiffusionGemma-26B-A4B-it-ROCmFP4-GGUF
Base model
google/diffusiongemma-26B-A4B-it