yzma

Go with your own intelligence - local inference in Go using llama.cpp including hardware acceleration

yzma lets you write Go applications that use llama.cpp for local inference.

Your models run in the same process as your program. You don’t need a model server or a C compiler. And you can use the hardware acceleration that your machine has.

Accelerate

Use CUDA, Metal, Vulkan, ROCm, or WebGPU for maximum performance.

Read more

See

Run Vision Language Models on images, audio, and video.

Read more

Run anywhere

Run on Linux, macOS, Windows, or in a browser with WebAssembly.

Read more

See it run, now

A model in your browser. No install, no signup, and no server.

A chat with a model in a browser

The page downloads the model once and then runs it on your machine. Chrome and Edge use the GPU with WebGPU.

Try it in your browser

Devices On The Edge

These small devices are tested and benchmarked for inference at the edge.

Arduino UNO Q

Run models on the Linux side of this dual-function board using CPU.

Jetson Orin Nano

Use the onboard GPU with CUDA or Vulkan.

Raspberry Pi

Run a model with the CPU on this popular board.

Is it Fast? Yes.

yzma calls llama.cpp in the same process. There is no server between your program and the model.

A desktop class GPU can process more than 850 tokens a second. An edge device like Arduino UNO Q can process more than 32 tokens a second with its CPU alone.

See the benchmarks

Powered by yzma

These projects build on yzma.

Kronk

High-performance OpenAI compatible API with both local SDK and model server.

NornicDB

Graph database for AI agents and knowledge systems.

OpenOcta

Desktop IT operations agent for Windows and macOS.

Talking Heads From The Year 2053

First show whose actors use Physical AI running locally on Arduino UNO Q.

yzma uses the purego and ffi packages, so you don’t need CGo. Build your programs with the normal go build and go run commands.

Ready to get started? Click here.