gufo README

README проекта с github.com/gufo-org/gufo. Одним файлом markdown: 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)

Ищем в базе…

1.2K ·GitHub
Что это такое?Gufo — локальный движок инференса, собранный специально под железо AMD Strix Halo (Ryzen AI MAX+ 395 с Radeon 8060S / gfx1151, до 128 GiB единой памяти), который обслуживает модели текста, речи, изображений и видео через API, совместимый с OpenAI.
Это универсальная среда вроде llama.cpp или сборка под один конкретный чип?Это вертикальный, заточенный под железо движок, созданный только для Strix Halo (gfx1151), а не универсальный кросс-GPU рантайм. Он заимствует идеи дизайна у llama.cpp и vLLM, но сужает оптимизацию до одного этого семейства чипов.
Как его запустить?Соберите из исходников на Linux x86-64: либо выполните «nix develop» с зафиксированным flake.lock, либо установите компилятор C++20, CMake 3.21+, Ninja и ROCm, затем соберите командой «cmake --preset release» и установите через «cmake --install build/release». После запуска вы общаетесь с ним через его API Chat Completions/Responses, совместимый с OpenAI, — например, из Open WebUI, VS Code или OpenAI SDK.
Мне нужен конкретный чип AMD и ROCm для запуска?Да — поддерживается только Linux x86-64 на AMD Strix Halo (gfx1151), а квалифицированный тулчейн — GCC 15.3 с ROCm 7.2.3 (hipBLAS, hipBLASLt, rocBLAS, hipCUB, rocWMMA), плюс ICU, libcurl, OpenSSL, libpng/libjpeg и FFmpeg для медиа-ввода-вывода.
Есть ли сборка для Windows?Пока не слита — порт для Windows и вариант «Gufo RDMA» для машин с двумя Strix Halo существуют отдельными ветками, которые ещё не слиты в main.
Какие модели Gufo умеет запускать из коробки?В комплекте поддержка Qwen3.8 27B и Qwen3.8 Flash-Next (текст), DeepSeek V4 Flash (текст), Qwen3-ASR 1.7B (распознавание речи), Qwen3-TTS 1.7B (синтез речи и клонирование голоса), а Qwen-Image-2.1 (генерация/редактирование изображений) и MiniMax H3 (текст-в-видео/аудио) значатся как в работе.
Насколько быстр Gufo на Strix Halo?Среди заявленных пиков — Qwen3.8 Flash-Next с 1,628.52 tok/s обработки промпта и до 157.22 суммарных tok/s на 8 параллельных запросах, а Qwen3.8 27B с 656.33 tok/s pp и до 123.00 суммарных tok/s при спекулятивном декодировании (DFlash2).
Входят ли веса моделей в комплект с Gufo?Нет. Gufo — это только движок; веса моделей вы приобретаете отдельно (например, на Hugging Face), и они сохраняют собственные лицензионные условия своих издателей.
Зачем делать движок под конкретный чип вместо расширения llama.cpp или vLLM?Философия проекта — узко сфокусироваться на одной аппаратной цели (Strix Halo 128 GiB) и только наиболее подходящих для неё моделях, обменивая широту охвата на более глубокую оптимизацию, более простое сопровождение и отдельный контроль качества по каждой модели.
Какие есть похожие проекты?halogen-flash-server, project-maya, unsloth, BigMoeOnEdge, Strata, ds4, alzeo, Rapid-MLX
Автор
gufo-org
Размер
61.9 MB
Звёзды
1.2K
Возраст
3 мес
Коммиты · 90 дней