radiance

An inference server for AMD GPUs.

Written in C++ and HIP. It serves language models and image, video, speech and music generation, and speaks the OpenAI, Anthropic and llama-server APIs, so existing clients work unchanged.

At a glance

APIs
OpenAI (chat, completions, Responses, images, audio, video), Anthropic Messages, llama-server
Hardware
RDNA4 (gfx1200, gfx1201), RDNA3 (gfx11xx), Strix Halo (gfx1151); CPU host backend (AVX-512/AVX2)
Extensible
Model architectures, kernel libraries and quantisers are .so plugins
Language
C++ and HIP
License
Apache 2.0
Author
Deadcode (StillDeadcode), with contributors

In the project's own words

An inference server for AMD GPUs, in C++ and HIP: language models, and image, video, speech and music generation. Its HTTP API speaks OpenAI's chat, completions, Responses, images, audio and video APIs, Anthropic's Messages API and llama-server's native one, so their clients and SDKs work unchanged. Model architectures, kernel libraries and quantisers are .so plugins; the ones in this tree are built and loaded the same way a third party's are.

The bundled device kernels target AMD RDNA4 (libr4d: gfx1200, gfx1201), RDNA3 (libr3d: gfx11xx) and Strix Halo (libhalo: gfx1151). The engine starts on any AMD GPU family; another card needs a kernel library for it. A machine with no GPU builds the host backend, whose AVX-512/AVX2 kernels (libavx) serve every model here: the small ones at interactive speed on a desktop CPU, the 27B and larger far more slowly than a card.

radiance, README.md