Engines
On this page
- What an engine is
- Graphics card support
- Installing a graphics card engine
- Sending engines to workers
- Slow or failing downloads
- Switching versions
- What this project changed
- Folders
What an engine is
The program that actually runs a model. It is updated separately from Raubot LM, and old versions are kept.

| Engine | Does |
|---|---|
| llama.cpp (modified by this project) | chat, vision, audio, speech |
| stable-diffusion.cpp | pictures |
| whisper.cpp | transcription with Whisper-family models |
Graphics card support
| Version | For | Needs |
|---|---|---|
| CUDA | NVIDIA | download and install inside the app |
| HIP | AMD Radeon RX 6800/6900, 7000 and 9000 series | download in the app, plus two files from AMD (see below) |
| Vulkan | AMD, NVIDIA, Intel | included in the installer |
| Metal | Apple Silicon Macs | included in the installer |
| CPU | no graphics card | slow |
Unless you choose one, the first that works is picked in the order CUDA, HIP, Vulkan, CPU. Red text means that version cannot be used on this computer.
Installing a graphics card engine
The Vulkan version in the installer works as it is. To use your card maker's own version (for chat, vision and speech models), do it on the Engines tab:
- Open the Engines tab. When a version fits your card you will see "You can install the CUDA engine". If not, press "Check for engine updates".
- Press "Download and install". Downloading, verifying and unpacking are automatic, and the new version is used when it is ready.
- You can press "Cancel" while it downloads; next time it continues where it stopped.
The download is a few hundred MB and the size is shown first. When a newer version appears later, a notice shows in the lower left corner and one press updates it.
To stop checking at startup, clear "Check for updates at startup" on the Settings tab.
AMD: files you get from AMD
The HIP engine needs AMD's amdhip64_7.dll and amd_comgr.dll. They are not shipped with the engine.
- Pressing “Download and install” on a HIP version asks for one more click, then the engine and AMD’s files are downloaded together (the AMD files come directly from AMD, about 47 MiB).
- If an engine is installed but these files are missing, the Engines tab shows a notice. Press "Download from AMD" and the app fetches them directly from AMD (about 47 MiB).
- Only the exact files the engine was built with are accepted, and each one is checked. The copies that come with the display driver are not used.
- Until they are present and pass the check, the app keeps using another version such as Vulkan.
- Without internet access: on another computer download AMD's
rocm_sdk_core10.2.0 (the Windows.whl, which opens with an unzip tool), copy the two files from_rocm_sdk_core/bin/intoengines\llama.cpp\<version>\, and restart the app. - When the Linux HIP engine runs inside WSL, a different file is needed,
librocdxg.so.1; the app downloads it from AMD the same way (about 2 MiB). Native Linux needs nothing extra.
Sending engines to workers
Online versions are grouped by operating system. Versions for another system cannot be installed here, but you can press “Install on workers” on that version, tick the nodes and install directly. For versions that need AMD files, the controller downloads them from AMD, sends them along, and each node checks them again.
Cluster workers do not need to download engines themselves. On the controller (whether or not it runs models), use "Send engines to workers" on the "Engines" tab:
- Tick the workers (more than one is allowed). They are listed in tabs by operating system, with their graphics cards.
- Press "Analyse available engines". Only versions the ticked workers can use are listed, each with the workers it suits. Mixing NVIDIA and AMD workers is fine.
- Tick the versions to send and press "Send". Each version goes only to the workers that can use it.
The controller does not need to install those versions itself. A worker checks the signature and the contents and installs only if they match.
To choose which version a worker uses, open the "Cluster" tab and use the "Engine" menu under that worker; "Auto" lets the worker decide.
Only versions in the engine list can be sent; the one bundled with the installer does not need sending.
Slow or failing downloads
Engines are hosted on GitHub. If downloading is slow or fails on your network, you can set a proxy:
- Open "Engine download proxy" on the Settings tab.
- Enter the address of a proxy you trust (starting with
https://) and press "Save". - Download as usual on the Engines tab.
Once set, engines are downloaded through the proxy. Whichever side is too slow or cannot be reached, the app switches to the other and continues where it stopped. Signatures are checked either way.
To use nothing but the proxy, check "Proxy only"; the app then never downloads directly. The proxy is used as "proxy address/full GitHub address". Leave the field empty to always download directly.
Switching versions
"Use this version" takes effect at once; the loaded model is unloaded first. Older versions are kept after an update, so you can switch back.
To remove a version you no longer want, press "Delete" and press again to confirm. Only versions you downloaded and are not using can be deleted; the one included in the installer always stays.
If an engine's files are damaged, that version shows a message in red. Delete it and download it again.
"Check upstream" only looks for a newer release.
What this project changed
| Number | Purpose |
|---|---|
| 0001 | long texts are read in pieces so other requests need not wait |
| 0002 | original model files are read directly |
| 0003 | CUDA and HIP versions compile |
| 0004 | compatibility for Llama-style original files |
| 0005 | speech and vision models read original files |
Folders
engines/
active.json the version you chose
llama.cpp/<version>/
stable-diffusion.cpp/<version>/
whisper.cpp/<version>/
vendor/<version>/ graphics vendor libraries
If this page differs from the Traditional Chinese version, the Traditional Chinese version prevails.