Instructions to use aogavrilov/diffusiongemma-agent-iq3-cuda13 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use aogavrilov/diffusiongemma-agent-iq3-cuda13 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="aogavrilov/diffusiongemma-agent-iq3-cuda13", filename="payload/models/diffusiongemma-26B-A4B-it-IQ3_M-from-Q4_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use aogavrilov/diffusiongemma-agent-iq3-cuda13 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 aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M # Run inference directly in the terminal: llama cli -hf aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M # Run inference directly in the terminal: llama cli -hf aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
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 aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
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 aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
Use Docker
docker model run hf.co/aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use aogavrilov/diffusiongemma-agent-iq3-cuda13 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aogavrilov/diffusiongemma-agent-iq3-cuda13" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aogavrilov/diffusiongemma-agent-iq3-cuda13", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
- Ollama
How to use aogavrilov/diffusiongemma-agent-iq3-cuda13 with Ollama:
ollama run hf.co/aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
- Unsloth Studio
How to use aogavrilov/diffusiongemma-agent-iq3-cuda13 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 aogavrilov/diffusiongemma-agent-iq3-cuda13 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 aogavrilov/diffusiongemma-agent-iq3-cuda13 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for aogavrilov/diffusiongemma-agent-iq3-cuda13 to start chatting
- Pi
How to use aogavrilov/diffusiongemma-agent-iq3-cuda13 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
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": "aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use aogavrilov/diffusiongemma-agent-iq3-cuda13 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
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 aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use aogavrilov/diffusiongemma-agent-iq3-cuda13 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
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 "aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M" \ --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 aogavrilov/diffusiongemma-agent-iq3-cuda13 with Docker Model Runner:
docker model run hf.co/aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
- Lemonade
How to use aogavrilov/diffusiongemma-agent-iq3-cuda13 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull aogavrilov/diffusiongemma-agent-iq3-cuda13:Q4_K_M
Run and chat with the model
lemonade run user.diffusiongemma-agent-iq3-cuda13-Q4_K_M
List all available models
lemonade list
Run DiffusionGemma as a local coding agent on a 16 GB GPU
This is a ready-to-run DiffusionGemma stack for Windows + WSL2. It turns the 26B-A4B model into a repository-aware coding agent on a single 16 GB NVIDIA GPU, without requiring you to compile llama.cpp, convert weights, assemble CUDA libraries, or build an agent wrapper yourself.
This release contains more than a quantized GGUF:
- an IQ3 model profile that fits entirely in 16 GB VRAM;
- a matched custom llama.cpp/CUDA backend for DiffusionGemma;
- pinned CUDA 13 runtime libraries and launch settings;
- repository retrieval instead of sending the whole codebase to the model;
- focused file editing through Aider, automatic tests, session artifacts, and rollback when validation fails;
- a localhost OpenAI-compatible endpoint for supported coding clients.
Why use this instead of a standalone quantization?
| Standalone GGUF | This runtime |
|---|---|
| Supplies model weights | Supplies a tested model, backend, CUDA runtime, and agent workflow |
| Requires finding a compatible DiffusionGemma runner | Includes the exact custom backend used by the release |
| Requires manual offload, memory, and launch tuning | Ships a full-GPU preset tested on a 16 GB RTX 3080 Laptop GPU |
| Primarily provides raw generation/chat | Searches a repository, edits focused files, runs tests, and records results |
| Leaves integration and reproducibility to the user | Installs and operates through one versioned CLI |
Use another GGUF if you only need weights or want to assemble your own inference stack. Use this release when you want a reproducible local coding agent that is already wired together for 16 GB NVIDIA hardware.
Easiest Windows setup
You do not need Python, a CUDA Toolkit, a compiler, or ML setup experience.
- Download the standalone Windows installer.
- Open DiffusionGemma Agent after installation.
- Let the app check Windows, WSL2, the GPU, VRAM, disk, and download access.
- Review the model and CUDA licenses and click Download and install.
- Choose a Git repository, enter one concrete task, and review the generated diff and test output in the app.
The desktop app includes its own Python runtime. It automatically reuses a compatible runtime or IQ3 GGUF already present in common download and Hugging Face cache folders. The separate 13.2 GB download, when needed, is resumable. The current alpha installer is not code-signed, so Windows may show an unknown-publisher warning; GitHub publishes its SHA-256 checksum beside the download.
Command-line alternative
Run in Windows PowerShell:
python -m pip install --upgrade diffusiongemma-agent
dg-agent doctor
dg-agent install --accept-licenses
dg-agent status
Run a focused repository task:
dg-agent run --repo C:\work\repo --task "Fix src/x.py and run its tests" --file src/x.py
Stop the service and release GPU memory with dg-agent stop.
What a task looks like
your request
-> bounded repository search
-> focused edit session
-> detected tests and verification
-> final diff and saved session artifacts
-> rollback if validation fails
This works best for concrete file-level changes, focused bug fixes, and tests. It is not intended to replace a large-context cloud agent for broad, underspecified repository-wide work.
Hardware and storage
- Windows 10/11 with an initialized WSL2 Ubuntu distribution;
- NVIDIA GPU with at least 16 GB VRAM;
- current NVIDIA Windows driver with WSL CUDA support;
- at least 15 GiB free for download, with 30 GiB recommended for the download plus the installed WSL copy;
- network access during first installation.
The tested system is an RTX 3080 Laptop GPU with 16 GB VRAM. CPU-only, native Linux, macOS, AMD, and sub-16-GB GPU installations are not supported by this release.
Contents
- IQ3 GGUF derived from
google/diffusiongemma-26B-A4B-it; - Linux x86-64 custom llama.cpp DiffusionGemma backend;
- private CUDA 13 runtime libraries required by that backend;
- checkpointed repository supervisor, bounded retrieval, Haystack, and Aider adapters;
- service launchers for localhost ports
4100and8090; manifest.jsonwith file sizes and SHA-256 values;- complete third-party notices under
LICENSES/.
Limits
The default fast agent profile uses a 768-token effective input context and up to 256 output tokens. It compensates with bounded repository retrieval; it does not load an entire large repository into the model context. IQ3 quantization reduces quality relative to the original model. Native model-selected tool calls are disabled in the default route.
A short warmed probe measured approximately 19.6 words/s on the tested RTX 3080 Laptop 16 GB. Full agent tasks are slower because retrieval, diffusion passes, edits, and tests add latency. This is not a performance guarantee.
Status and scope
This is alpha, hardware-specific software. It is not an official Google, NVIDIA, Hugging Face, Aider, or upstream llama.cpp distribution.
Safety
The agent can modify files and run repository tests. Checkpointing and rollback are not a security sandbox. Use a clean Git worktree, inspect generated diffs, and do not expose secrets to untrusted repositories. Services bind to localhost by default.
Source code:
See the public source README for lifecycle commands, troubleshooting, update, uninstall, and architecture details.
Licenses
Review LICENSES/NOTICE.md before installation or redistribution. The runtime
contains Apache-2.0 model-derived material, MIT-licensed llama.cpp code, and
NVIDIA redistributable libraries governed by the included CUDA EULA.
- Downloads last month
- 64
4-bit
Model tree for aogavrilov/diffusiongemma-agent-iq3-cuda13
Base model
google/diffusiongemma-26B-A4B-it