gufo README

The project's README from github.com/gufo-org/gufo. As one markdown file: README.md.

Gufo: The Open Source Strix Halo AI engine

Gufo logo

Latest release Documentation Extension API series MIT license

Gufo is an open-source inference engine for one machine: AMD Strix Halo, the Ryzen AI MAX+ 395 with its Radeon 8060S (gfx1151) and up to 128 GiB of unified memory. It serves text, embedding, speech, image and video models over OpenAI-compatible APIs, from a single binary with kernels tuned for that chip. It runs on Linux, where releases are built and tested, and natively on Windows.

Gufo supports one model per use case, the best that fits, and checks each one against the original before optimizing it. Its cache is built for coding agents that resend long conversations, and extensions let you bring your own model.

Models

Model What it does Weights license
Qwen3.8 Flash-Next Text and images Qwen Community License 1.0
Qwen3.8 27B Text and images Apache 2.0
DeepSeek V4 Flash Text MIT
Inkling 2 Mini Text and images Apache 2.0
EmbeddingGemma 2 Embeddings for text, images, audio and video Apache 2.0
Qwen3-ASR 1.7B Speech to text Apache 2.0
Qwen3-TTS 1.7B Text to speech and voice cloning Apache 2.0
Qwen-Image-2.1 Image generation and editing Qwen Research License, non-commercial
Qwen-Image-2.1-Turbo Eight-step image generation and editing Qwen Research License, non-commercial
MiniMax H3 Video with sound MiniMax H3 Community License
Loom packages Every loom-fun text package on AMD Loom kernels Each model's own

Each model page lists the files to download, the modes and the measured speed. Gufo's own code is MIT; the weights keep their publishers' terms.

Extensions add more models without changing Gufo. With gufo set up as in the quickstart, install a reviewed one from the extension registry:

gufo extension install lfm3

Extensions explains what that runs and how to trust it; the catalogue lists the official and community extensions.

Quickstart

Download Qwen3.8 Flash-Next and its MTP head:

hf download unsloth/Qwen3.8-Flash-Next-GGUF \
  --revision d96201194f103c906994f283f504209dc8d2a10c \
  --include "UD-Q4_K_XL/*" \
  --include "MTP/mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf" \
  --local-dir models/flash-next

Define gufo to run in the container, with the GPU and the models folder:

gufo() {
  podman run --rm -it --network host \
    --userns=keep-id:uid=1000,gid=1000 --group-add keep-groups \
    --device /dev/kfd --device /dev/dri --device /dev/accel/accel0 \
    --ulimit memlock=-1 \
    -v ./models:/models:ro \
    -v gufo-extensions:/home/gufo/.local/share/gufo/extensions \
    ghcr.io/gufo-org/toolboxes/gufo-runtime:latest gufo "$@"
}

Serve the model, then ask it something from another terminal:

gufo serve llm --served-model-name flash-next \
  --model /models/flash-next/UD-Q4_K_XL/Qwen3.8-Flash-Next-UD-Q4_K_XL-00001-of-00004.gguf \
  --speculative mtp --mtp-model /models/flash-next/MTP/mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf

curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" \
  -d '{"model": "flash-next", "messages": [{"role": "user", "content": "Say something"}]}'

Any OpenAI client works with the base URL http://localhost:8080/v1: Open WebUI, the OpenAI SDKs, Codex and other agents. If the GPU isn't found, see troubleshooting. For the Debian package, Nix, a source build or Windows, see install.

Documentation

The documentation is on gufo.blog/docs, one version per release, and in docs/ for the development version.

The changelog and releases list what changed.

Principles

Contributing

Contributions are welcome: Gufo needs the Strix Halo community to keep improving. CONTRIBUTING.md explains what belongs in Gufo and what belongs in an extension. To add a model without changing Gufo, write an extension.

Community projects built on Gufo include Gufo RDMA for Dual Strix Halo, which runs models across two machines and isn't merged yet.

License

Gufo's original code is MIT licensed. Its design builds on other open-source engines, listed in reference projects. Adapted code and dependencies keep their own notices in NOTICE, THIRD_PARTY_NOTICES.md and licenses/, installed under share/licenses/gufo. Model weights aren't bundled and keep their publishers' terms.

gufo (gufo-org/gufo)

Searching Database…

1.2K ·GitHub
What is this?Gufo is a local inference engine built specifically for AMD Strix Halo hardware (Ryzen AI MAX+ 395 with Radeon 8060S / gfx1151, up to 128 GiB unified memory), serving text, speech, image and video models through an OpenAI-compatible API.
Is this a general-purpose runtime like llama.cpp, or built for one specific chip?It is a vertical, hardware-specific engine built only for Strix Halo (gfx1151) rather than a general cross-GPU runtime. It borrows design ideas from llama.cpp and vLLM but narrows its optimization to this one chip family.
How do I get it running?Build from source on Linux x86-64: either run 'nix develop' with the pinned flake.lock, or install a C++20 compiler, CMake 3.21+, Ninja and ROCm, then build with 'cmake --preset release' and install with 'cmake --install build/release'. Once running, you talk to it through its OpenAI-compatible Chat Completions/Responses API, e.g. from Open WebUI, VS Code or the OpenAI SDK.
Do I need a specific AMD chip and ROCm to run this?Yes — only Linux x86-64 on AMD Strix Halo (gfx1151) is supported, and the qualified toolchain is GCC 15.3 with ROCm 7.2.3 (hipBLAS, hipBLASLt, rocBLAS, hipCUB, rocWMMA), plus ICU, libcurl, OpenSSL, libpng/libjpeg and FFmpeg for media I/O.
Is there a Windows build?Not merged yet — a Windows port and a 'Gufo RDMA' variant for dual Strix Halo machines exist as separate branches that haven't been merged into main.
What models can Gufo run out of the box?It ships support for Qwen3.8 27B and Qwen3.8 Flash-Next (text), DeepSeek V4 Flash (text), Qwen3-ASR 1.7B (speech recognition), Qwen3-TTS 1.7B (speech synthesis and voice cloning), with Qwen-Image-2.1 (image gen/editing) and MiniMax H3 (text-to-video/audio) listed as in progress.
How fast is Gufo on Strix Halo?Reported peaks include Qwen3.8 Flash-Next at 1,628.52 tok/s prompt processing and up to 157.22 aggregated tok/s across 8 concurrent requests, and Qwen3.8 27B at 656.33 tok/s pp with up to 123.00 aggregated tok/s using speculative decoding (DFlash2).
Are model weights included with Gufo?No. Gufo is just the engine; you acquire model weights separately (e.g. from Hugging Face), and they keep their own publishers' license terms.
Why build a chip-specific engine instead of extending llama.cpp or vLLM?The project's philosophy is to focus narrowly on one hardware target (Strix Halo 128 GiB) and only the best-fit models for it, trading breadth for deeper optimization, simpler maintenance, and dedicated quality tracking per model.
Creator
gufo-org
Size
61.9 MB
Stars
1.2K
Age
3mo
Commits · 90 Days