Skip to main content

openRuyi AI Stack Overview

openRuyi ships an AI software stack for large language model (LLM) inference that works out of the box. It includes llama.cpp, PyTorch, Triton, and vLLM, together with ROCm, AMD's GPU compute platform.

For usage examples, see llama.cpp Quick Start.

Components​

Some of the software is available in a CPU build and a ROCm build. The CPU build works on any openRuyi riscv64 machine. The ROCm build requires a supported AMD graphics card.

SoftwareCPU buildROCm buildDescription
llama.cppllama-cppllama-cpp-rocmInference engine for GGUF models
PyTorchpython-torchpython-torch-rocmDeep learning framework
Tritonpython-tritonGPU kernel compiler
vLLMpython-vllmpython-vllm-rocmHigh-performance inference engine
ROCmrocr-runtime, rocm-hip, rocblas, rocminfo, rocm-smi, and moreAMD GPU runtime, math libraries, and tools

When you install a ROCm build, the ROCm runtime and math libraries it needs are installed as dependencies.

The CPU and ROCm builds of the same software cannot be installed at the same time. To switch from one build to the other, add --allowerasing when installing, for example:

sudo dnf install --allowerasing llama-cpp-rocm

Supported GPUs​

The openRuyi ROCm packages are built for the following GPU architectures:

GPU architectureGraphics cards
gfx1100 gfx1101RDNA3 graphics cards, such as the Radeon RX 7900 XTX
gfx1200 gfx1201RDNA4 graphics cards, such as the Radeon RX 9070 XT

AMD Instinct accelerators are not supported yet.