CBMKit: Getting Started
Read this document first. It covers the requirements, the plugin install, the install of the local AI runtime and models, and the first run of the sample maps.
1. What CBMKit does
CBMKit adds AI characters to an Unreal Engine project. A character listens (speech recognition, STT), answers with a language model (LLM), speaks with speech synthesis (TTS), and plays emotion animations and lip sync. By default STT, LLM, and TTS run on your own PC inside the Unreal process. You can also connect external APIs instead.
The plugin has two run types. One build contains both, and you can switch between them while the game runs.
| Run type | Use | Input | Details |
|---|---|---|---|
| Companion | 1:1 conversation between the person at the microphone and one character | Microphone (STT), screen or webcam image | COMPANION.md |
| Broadcast (default) | Live stream. Characters react to viewers' live chat | Live chat, operator input. Several characters, topics, OBS dock and overlays | BROADCAST.md |
2. Requirements
| Item | Requirement |
|---|---|
| Engine | Unreal Engine 5.8 |
| Platform | Windows 64-bit (Win64) only. Windows 10 or Windows 11 x64 |
| GPU | One NVIDIA GPU with 12 GB VRAM or more. Recommended minimum: RTX 5070 12GB class. Larger profile: 20 GB VRAM or more (RTX 4090 24GB class) |
| GPU driver | NVIDIA driver R580 or later for the default install. Older drivers get the CUDA 12.4 build of the LLM server (see 4.4) |
| GPU backend | STT and LLM inside Unreal use Vulkan by default. TTS uses Vulkan or the CPU |
| Disk | About 15 GB after install for the rtx5070 profile, about 17 GB for the rtx4090 profile. Keep about 30 GB free during the install |
| Download | The first install downloads about 15-20 GB |
| Internet | Required for the first install (or use the offline install, see 4.7). Not required to run after the install, unless you use external APIs or live chat |
| Other software | PowerShell 5.1 or later (included in Windows). Microsoft Visual C++ runtime. No administrator rights, Docker, or WSL needed |
Notes on the GPU:
- One GPU renders the Unreal scene, encodes video for OBS (NVENC), and runs STT, LLM, and TTS at the same time.
- The install scripts read the GPU with
nvidia-smiand download NVIDIA CUDA builds. The offline installer stops when no NVIDIA GPU is found. Plan for an NVIDIA GPU. - Verified GPU: RTX 4090. AMD and Intel GPUs and the RTX 50 series are not verified with the in-process Vulkan path.
- On a PC with only an integrated GPU, STT and LLM run on the CPU. This is slow.
3. Install the plugin
3.1 Add the plugin
Use one of these two ways.
| Way | Steps | LocalAI folder (see 4.3) |
|---|---|---|
| Engine plugin (Fab) | Install CBMKit from Fab to your UE 5.8 engine with the Epic Games Launcher. The plugin goes under the engine's Engine\Plugins folder |
%LOCALAPPDATA%\CBMKit\LocalAI |
| Project plugin | Copy the CBMKit folder to <Project>\Plugins\CBMKit |
<Project>\Plugins\CBMKit\ThirdParty\LocalAI |
For a project plugin in a C++ project, Unreal asks to build the modules when you open the project. This needs Visual Studio with the C++ tools that UE 5.8 requires.
3.2 Enable the plugin
- Open your project in the Unreal Editor.
- Open Edit > Plugins.
- Search for
CBM. The plugin name is CBM : Character Behavior Model Kit (category AI). - Check Enabled and restart the editor.
CBMKit is marked as a beta plugin. The editor shows a beta warning when you enable it.
3.3 Engine plugin dependencies
CBMKit enables these engine plugins automatically. Do not disable them.
| Engine plugin | Use |
|---|---|
| AudioCapture | Microphone input |
| SQLiteCore | Character memory database |
3.4 After the restart
- The editor menu Tools > CBM appears.
- If the local AI is not installed, the editor shows the notification "CBMKit: Local AI (STT/LLM/TTS) is not installed." with an Install button. Continue with section 4.
4. Install the local AI (third-party components)
The Fab package does not contain the AI runtime or the AI models. They are downloaded from their official sources and installed on your PC by the setup script ThirdParty/LocalAI/setup/setup.ps1. The editor runs this script for you.
You can skip this section only if you set all three of STT, LLM, and TTS to External API in Tools > CBM > AI Connections….
4.1 What ships in the plugin
| In the plugin package | Not in the plugin package (installed by the script) |
|---|---|
| Plugin code and DLLs: llama.cpp b11429, whisper.cpp v1.9.5 (Vulkan), ZONOS3-Mini TTS runtime | Portable Python 3.11 and Python packages |
| Install scripts, hardware profiles, prompts | llama.cpp server build b11429 with CUDA runtime |
Python code for the fallback STT server (Content/Python) |
LLM, STT, and TTS model files |
Two sample voices (bright, sweet) as voice.json speaker vectors |
FFmpeg (optional, for the built-in ffmpeg stream output) |
ThirdPartyNotices.txt |
4.2 What the script downloads
| Component | Source | Pinning and check | Size (about) |
|---|---|---|---|
| Python 3.11 (python-build-standalone) | github.com/astral-sh/python-build-standalone | Fixed release | 5.4 GB installed, with packages |
| PyTorch 2.8.0 (CUDA 12.8) | download.pytorch.org | Fixed version | included above |
| Python packages (fastapi, uvicorn, numpy, scipy, soundfile, librosa, faster-whisper) | PyPI | Fixed versions | included above |
| llama.cpp server b11429, CUDA 13.4 or 12.4 build, and cudart | github.com/ggml-org/llama.cpp releases | Fixed build tag | 0.7 GB |
LLM: Gemma 4 E4B it QAT Q4 (rtx5070) or Gemma 4 12B it QAT Q4 (rtx4090), GGUF by unsloth |
huggingface.co/unsloth | Commit hash in URL, file size and SHA256 check | 4.2 GB or 6.7 GB |
| Image input model (mmproj) for the LLM, optional | huggingface.co/unsloth | Commit hash, size and SHA256 check | 1.0 GB (rtx5070) or 0.18 GB (rtx4090) |
STT for the in-process path: whisper large-v3-turbo GGML, q5_0 (rtx5070) or q8_0 (rtx4090) |
huggingface.co/ggerganov/whisper.cpp | Commit hash, size and SHA256 check | 0.57 GB or 0.87 GB |
| STT for the fallback server: faster-whisper large-v3-turbo CTranslate2 | huggingface.co/deepdml/faster-whisper-large-v3-turbo-ct2 | Fixed revision (commit hash) | 1.6 GB |
TTS: ZONOS3-Mini weights (backbone-ptq.gguf, zac-keep2.gguf) |
huggingface.co/Zyphra/ZONOS3-Mini | Commit hash, size and SHA256 check | 1.1 GB |
FFmpeg 8.1, BtbN win64-lgpl-shared build, optional |
github.com/BtbN/FFmpeg-Builds | Fixed build, size check. If that build is gone, the script uses the latest n8.1 LGPL build | 0.08 GB download |
A file that fails the size or SHA256 check is deleted, and the script stops with size mismatch or sha256 mismatch. Downloads resume after an interruption.
4.3 Where it is installed
The install folder is called the LocalAI root.
| Plugin location | LocalAI root |
|---|---|
| Engine plugin (Fab) | %LOCALAPPDATA%\CBMKit\LocalAI. The editor copies the plugin's LocalAI files (scripts, profiles, prompts, voices) to this folder. It copies a file when the copy is missing or when the plugin has a newer version. A file you changed in this folder is kept; the editor lists it in the Output Log (LogCBM, "kept ... file(s) you changed") when the plugin has a newer version |
| Project plugin | <Project>\Plugins\CBMKit\ThirdParty\LocalAI |
| Packaged game | <Game>\Plugins\CBMKit\ThirdParty\LocalAI (see 4.10) |
| Your own folder | Project Settings > Plugins > CBM > Services > LocalAIRoot. A relative path resolves against the project folder |
Folders in the LocalAI root after the install:
LocalAI\
services.json written by the install; Unreal reads it
runtime\ python\, llama\, ffmpeg\
models\ llm\, llm\vision\, whisper\, zonos3\, tts\<voice>\
logs\ logs of the scripts
setup\, profiles\, prompts\, frontend\, providers\
To open the folder, click Tools > CBM > Open LocalAI Folder.
4.4 Hardware profiles
| Profile | For | LLM | STT | TTS | AI VRAM (about) |
|---|---|---|---|---|---|
rtx5070 |
12-16 GB GPUs | Gemma 4 E4B it QAT UD-Q4_K_XL, context 8192 | whisper large-v3-turbo GGML q5_0 | ZONOS3-Mini | 7 GB, with image input |
rtx4090 |
20 GB or more | Gemma 4 12B it QAT UD-Q4_K_XL, context 8192 | whisper large-v3-turbo GGML q8_0 | ZONOS3-Mini | 11 GB |
autochoosesrtx4090whennvidia-smireports 20000 MiB VRAM or more. Otherwise it choosesrtx5070.- The TTS uses about 1.3 GB VRAM on the GPU and none on the CPU.
- The image input model adds about 1.15 GB VRAM for
rtx5070. - CUDA build of the llama.cpp server: driver with CUDA 13 or later (R580 or later) gets the 13.4 build. Other drivers get the 12.4 build.
4.5 Install from the editor (recommended)
- Click Tools > CBM > Install/Repair Local AI…. The Install/Repair Local AI window opens. You can also click Install on the editor notification.
- Choose Profile (auto = choose by GPU VRAM):
auto,rtx5070, orrtx4090. - Check or clear Image Input (VLM) Model. It is checked by default. It downloads the mmproj file the LLM needs to read screen and webcam images.
- Click Install.
- The editor stops running AI services and opens a PowerShell window titled "LocalAI setup". The editor stays usable. The window runs:
setup.ps1 -Profile <profile> [-Vision]The editor install always includes FFmpeg. - Wait for the script to finish. It prints
==> done. profile=<profile>. The window stays open so you can read the output. - Click Tools > CBM > Restart Services.
The script runs these steps. Steps that are already done are skipped, so you can run it again at any time.
- Choose the profile.
- Install portable Python 3.11 to
runtime\python, then PyTorch and the server packages. Build-only PyTorch files (about 2.8 GB) are deleted. - Install the llama.cpp server and cudart to
runtime\llama. - Install FFmpeg to
runtime\ffmpegand check that theh264_nvencencoder exists (skipped with-SkipFfmpeg). - Download the LLM, the image input model (with
-Vision), the STT models, and the TTS models. - Write
services.json. - Run a smoke test: one LLM request and one STT request. It prints the response times and
SMOKE PASSorSMOKE FAIL. The TTS runs inside Unreal and is not part of this test. - Delete the download cache
runtime\_dl.
4.6 Install from PowerShell (project plugin)
For a project plugin you can run the script yourself. Open PowerShell in the LocalAI root and run:
powershell -ExecutionPolicy Bypass -File setup\setup.ps1 -Profile rtx5070 -Vision
Parameters of setup.ps1:
| Parameter | Effect |
|---|---|
-Profile auto|rtx5070|rtx4090 |
Profile. Default auto |
-Vision |
Also download the image input model (mmproj) |
-SkipFfmpeg |
Do not install FFmpeg. FFmpeg is needed only for the built-in ffmpeg stream output. OBS does not need it |
-SkipSmokeTest |
Do not run the smoke test |
-CudaFlavor auto|12.4|13.4 |
CUDA build of the llama.cpp server. Default auto |
-ForceDeps |
Reinstall the Python packages |
-AllProfiles |
Download the models of both profiles (for an offline install on a PC with another GPU class) |
-LlmModelsFrom <folder> |
Copy LLM files from a folder instead of downloading them |
-WhisperModelsFrom <folder> |
Copy STT model files from a folder |
-TtsModelsFrom <folder> |
Copy TTS model files from a folder |
Do not run setup.ps1 from the copy inside the engine's Engine\Plugins folder. It stops with a message that tells you to use Tools > CBM > Install/Repair Local AI. For an engine plugin, always install from the editor.
4.7 Offline install
Use this for a PC without internet. You need a second PC with internet and the same GPU class. The installed Python is relocatable, so an installed LocalAI folder works after you copy it.
On the PC with internet:
- Install the local AI as in 4.5 or 4.6. If the target GPU class is not known, run
setup.ps1 -AllProfiles -Vision -SkipSmokeTestto download the models of both profiles. - Copy the whole LocalAI root to a USB drive or a network share.
On the PC without internet:
- Install and enable the plugin (section 3).
- For an engine plugin, open the editor once with the plugin enabled. This creates
%LOCALAPPDATA%\CBMKit\LocalAIand writesplugin_dir.txtthere. The scripts read this file to find the plugin's Python code. - Copy the folder to the LocalAI root of this PC (4.3). Keep the existing
plugin_dir.txt. - In the LocalAI root, run:
powershell -ExecutionPolicy Bypass -File setup\install_bundle.ps1
install_bundle.ps1 needs no internet. It checks that runtime\python and runtime\llama exist, reads the GPU, chooses a profile whose models are present, writes services.json, and runs the smoke test. It prints ==> installed at the end.
Parameters of install_bundle.ps1:
| Parameter | Effect |
|---|---|
-Profile auto|rtx5070|rtx4090 |
Profile. Default auto. With auto, the script uses the other profile when the models of the chosen one are missing |
-SkipSmokeTest |
Do not run the smoke test |
-Zip <file> and -Dest <folder> |
Extract a zip that contains a LocalAI folder into <folder>, then install from there. -Dest is required with -Zip |
Size of a full LocalAI folder (about): runtime 6.1 GB, LLM 4.2 GB (rtx5070) and 6.7 GB (rtx4090), image input model 1 GB (rtx5070), STT 1.6 GB plus GGML files 0.57 GB (rtx5070) and 0.87 GB (rtx4090), TTS 1.1 GB.
A folder installed with the CUDA 13.4 build needs driver R580 or later on the target PC. The installer prints a warning when the driver is older. For older drivers, install on the online PC with setup.ps1 -CudaFlavor 12.4.
4.8 Check the install
| Check | Where | Expected result |
|---|---|---|
| Install state | Tools > CBM > Local AI Status | services.json: found (profile <name>), the LocalAI path, the TTS voices, and the service state of STT, LLM, and TTS |
| Smoke test | End of the setup output | SMOKE PASS |
| Smoke test again | powershell -ExecutionPolicy Bypass -File setup\smoke_test.ps1 in the LocalAI root. -Services llm or -Services stt tests one service |
SMOKE PASS |
| Missing files | Editor start | No notification. If model files are missing, the editor shows "CBMKit: Some Local AI model files are missing." with a Repair button |
4.9 Repair, update, uninstall
- Repair: click Tools > CBM > Install/Repair Local AI… again, or click Repair on the notification. The script downloads only missing or damaged files.
- Change profile: run the install again with the other profile. The new
services.jsonuses the new profile. Then click Tools > CBM > Restart Services. - Stop leftover processes: click Tools > CBM > Stop Services, or run
setup\run_services.ps1 -Stopin the LocalAI root. - Uninstall: close the editor, then delete the LocalAI root (
%LOCALAPPDATA%\CBMKit\LocalAIfor an engine plugin). For a project plugin, deleteruntime\,models\llm,models\whisper,models\zonos3,logs\, andservices.jsonin the LocalAI root. Keepmodels\tts; it holds the voices that ship with the plugin. There is no uninstall script. - If you also want to free the Python package cache, delete
%LOCALAPPDATA%\pip\Cache. Other Python programs on the PC use this folder too.
4.10 Packaged games
When you package a Win64 game, CBMKit copies the installed runtime and the models of the current profile into <Game>\Plugins\CBMKit\ThirdParty\LocalAI. The files are copied as plain files, not into the .pak. A packaged game with the rtx5070 profile is about 13 GB larger. If services.json is missing at build time, the build log shows LocalAI runtime/models are not staged, and the game shows an install notice at start.
4.11 Third-party licenses
By installing the local AI, you download and use the third-party components below. Each keeps its own license. You accept those licenses. The full list is in ThirdPartyNotices.txt in the plugin folder (Plugins/CBMKit/ThirdPartyNotices.txt).
| Component | License |
|---|---|
| llama.cpp, ggml, whisper.cpp | MIT |
| Vulkan-Headers | Apache-2.0 or MIT. vulkan-1.dll comes from your graphics driver |
| ZONOS3-Mini | Code MIT, weights Apache-2.0 |
| Gemma 4 E4B / 12B (Google), GGUF by unsloth | Apache-2.0 |
| Whisper large-v3-turbo weights (OpenAI) and conversions | MIT |
| faster-whisper, CTranslate2, Silero VAD | MIT |
| Python 3.11 | PSF License and bundled licenses (OpenSSL Apache-2.0 and others) |
| PyTorch | BSD-3-Clause |
| NVIDIA CUDA runtime, cuBLAS, cuDNN | NVIDIA CUDA EULA, cuDNN Software License Agreement |
| FFmpeg 8.1 (LGPL shared build, no GPL or nonfree parts) | LGPL-3.0. Runs as a separate process |
| FastAPI, Starlette, uvicorn | MIT, BSD-3-Clause |
| numpy, scipy, soundfile, librosa, soxr | BSD, ISC, LGPL-2.1 (soxr) |
| onnxruntime | MIT |
The sample voices bright and sweet are AI-generated. No recording of a real person was used. Tell your audience that the speech is AI-generated, and do not use the voices to imitate a real person.
External services (OpenAI, Anthropic, Groq, Google Gemini, ElevenLabs, Deepgram, YouTube, Twitch) are optional. They need your own account and API key and have their own terms. CBMKit sends requests only to the services you configure.
5. First run
5.1 Companion sample
- In the Content Browser, open
Plugins > CBMKit Content > Samples > Maps > CBM_CompanionLevel. To see plugin content, enable Show Plugin Content in the Content Browser settings. - Click Tools > CBM > Companion (section Run Type). The notification "Run type set to Companion." appears.
- Check that a microphone is connected.
- Click Play. Use Standalone Game if you want a separate window.
- A loading screen covers the game view. Its title is "Preparing the character (Ns)". It lists Language Model, Speech Synthesis, and Speech Recognition with the state
LoadingorReady. - When all are ready, the loading screen closes and the character says a greeting.
- Speak into the microphone. The character answers with voice, lip sync, and an emotion animation.
- Click the gear button in the game view or press F10 to open the companion settings window (name, microphone, image input, webcam).
5.2 Broadcast sample
- Open
CBM_BroadCastLevelin the same folder. - Click Tools > CBM > Broadcast.
- Click Play.
- The loading screen shows Language Model and Speech Synthesis. Broadcast does not use the microphone or STT.
- The Operator Panel opens. Type a line there to make the characters talk, or connect live chat with Tools > CBM > Live Chat…. See BROADCAST.md and CHAT.md.
5.3 First run takes longer
- The first Play loads the LLM, STT, and TTS models.
- After a new graphics driver, the first run compiles Vulkan shaders. The loading screen then adds: "The first run after a graphics driver install takes longer because shaders are compiled."
- If a model fails, the loading screen title is "Some features failed to load". Check the
LogCBMlines in the Output Log.
5.4 Other ways to set the run type
| Way | Value |
|---|---|
| Editor menu | Tools > CBM > Companion or Broadcast. Saved as RunType in Config/DefaultGame.ini |
| Project Settings | Plugins > CBM > Services > Run Type |
| Command line | -CBMRunType=companion or -CBMRunType=broadcast. Overrides Project Settings |
| Console while running | CBMKit.RunType companion or CBMKit.RunType broadcast |
5.5 Language
There are two language settings.
| Setting | What it changes | How to set |
|---|---|---|
| UI language | CBMKit windows, menus, loading screen. Ships in English and Korean | Editor: Editor Preferences > Region & Language. Game: command line -culture=en or -culture=ko |
Character Language (PromptLanguage) |
The language the characters speak: prompt folder (prompts/en, prompts/ko), TTS voice, and STT language |
Project Settings > Plugins > CBM > LLM > Character Language |
When Character Language is empty (shown as "Same as UI"), CBMKit uses the UI language if prompts exist for it, then English, then Korean. A character definition can set its own language. STT uses STT Language when it is set, otherwise the character language.
Example: start a standalone game with English UI and the Companion run type:
UnrealEditor.exe "<Project>.uproject" -game -culture=en -CBMRunType=companion
6. Where settings live
Settings are in Edit > Project Settings > Plugins, in three sections:
| Section | Content |
|---|---|
| CBM | Services, backends, character, STT, LLM, TTS, vision, companion, memory, operator, topics |
| CBM Chat | Live chat platforms and channel IDs. See CHAT.md |
| CBM Broadcast | Built-in ffmpeg stream output. See BROADCAST.md |
Values are saved in Config/DefaultGame.ini of your project. Project Settings shows property names with spaces, for example bAutoStartServices as "Auto Start Services".
Key settings in CBM:
| Category | Setting | Default | Meaning |
|---|---|---|---|
| Services | LocalAIRoot |
empty | LocalAI root. Empty = plugin folder, or %LOCALAPPDATA%\CBMKit\LocalAI for an engine plugin |
| Services | Run Type (RunType) |
Broadcast | Companion or Broadcast |
| Services | bAutoStartServices |
on | Start the AI services when a game world starts |
| Services | ServiceReadyTimeoutSeconds |
180 | Seconds to wait for the services |
| Services | bShowLoadingScreen |
on | Cover the game view until the services are ready |
| Services | LLMBackend |
InProcess | InProcess (llama.cpp inside Unreal), HttpServer (llama-server.exe), External |
| Services | STTBackend |
InProcess | InProcess (whisper.cpp inside Unreal), HttpServer (faster-whisper server), External |
| TTS | TTSBackend |
InProcess | InProcess (ZONOS3-Mini inside Unreal), Provider (HTTP TTS provider), External |
| TTS | bTTSOnGPU |
on | Off = TTS on the CPU: no VRAM, but replies start later. Also in Tools > CBM > Run TTS on GPU |
| TTS | TTSCharacter |
empty | Default voice. Empty = first voice under <LocalAIRoot>/models/tts |
| Character | DefaultCharacter |
empty | Default character definition. See CHARACTERS.md |
| LLM | Character Language (PromptLanguage) |
empty | See 5.5 |
| LLM | PromptDirectory |
empty | Folder with your edited copies of the prompt files |
| STT | bEnableVoiceInput |
on | Microphone input (Companion) |
| STT | STTLanguage |
empty | Empty = character language |
| STT | MicDeviceFilter |
empty | Part of the microphone name. Empty = system default |
| Vision | VisionSource |
None | Image sent with turns: game viewport, desktop, window, or webcam. Needs the image input model |
| Operator | bEnableControlServer |
on | Web control on 127.0.0.1 for OBS docks, overlays, and Stream Deck |
| Operator | ControlPort |
18050 | Port of the web control |
| Operator | ControlToken |
empty | Empty = no token. Otherwise each request needs ?token=<value> or the X-CBM-Token header |
To choose between the built-in AI and an external API per service, use Tools > CBM > AI Connections…. Each of Speech Recognition (STT), Language Model (LLM), and Speech Synthesis (TTS) can be Built-in or External API.
7. Document map
| Document | Content |
|---|---|
| GETTING_STARTED.md | This document: requirements, install, first run |
| COMPANION.md | Companion run type: microphone, STT, screen and webcam input, in-game settings window |
| BROADCAST.md | Broadcast run type: OBS output, operator panel, co-stream, topics, built-in ffmpeg output |
| CHARACTERS.md | Character setup: character definition, emotion profile, voices, lip sync |
| CHAT.md | Live chat platforms: YouTube, Twitch, local HTTP chat |
| EXTERNAL_API.md | External STT, LLM, and TTS APIs instead of the local AI |
| INTEGRATION.md | Blueprint use from your game, console commands, logs, statistics, settings reference |
8. Troubleshooting the install
| Problem | Cause and fix |
|---|---|
download failed (<code>): <url> |
Network error or blocked site. The script retries 5 times. Run the install again; finished files are kept and partial downloads resume. Allow github.com, huggingface.co, download.pytorch.org, pypi.org, and files.pythonhosted.org in your firewall or proxy. Use the offline install (4.7) if the PC cannot reach them |
size mismatch or sha256 mismatch |
The download was damaged or changed. The script deletes the file. Run the install again |
torch install failed or requirements install failed |
pip could not install the Python packages. Check the network, then run the install again. To reinstall the packages, run setup.ps1 -ForceDeps |
| Antivirus deletes or locks files | Some antivirus tools block downloaded .exe and .dll files or .zip files with test archives. Add the LocalAI root to the antivirus exclusions and run the install again |
Could not run setup.ps1. |
The script file is missing in the LocalAI root. For an engine plugin, restart the editor so it copies the files to %LOCALAPPDATA%\CBMKit\LocalAI again |
This copy is inside an engine install |
You ran setup.ps1 from the engine plugin folder. Use Tools > CBM > Install/Repair Local AI… |
nvidia-smi not found |
No NVIDIA GPU or driver. Install the NVIDIA driver. Without an NVIDIA GPU, use External API backends |
smoke test failed or a service health timeout |
Check logs\<service>.log and logs\<service>.err.log in the LocalAI root. Close programs that use much VRAM and run setup\smoke_test.ps1 again |
| Not enough VRAM (load fails, low frame rate, stutter) | Use the rtx5070 profile. Clear Image Input (VLM) Model (saves about 1.15 GB). Turn off Tools > CBM > Run TTS on GPU (saves about 1.3 GB). Close other GPU programs (LM Studio, a second game). Or move a service to an External API |
| LLM server is slow to start on an RTX 50 GPU | The driver is older than R580, so the CUDA 12.4 build is used. Update the driver and install again |
| Disk full | The install needs about 30 GB free on the drive of the LocalAI root and of %LOCALAPPDATA%. Set LocalAIRoot to a folder on another drive, then install again |
| Path problems | Use a LocalAI root path without special characters on a local drive. Do not use a network drive or a folder synced by a cloud storage program |
| Notification "Some Local AI model files are missing." | Click Repair. It downloads only the missing files |
| Service logs while the game runs | Saved/Logs/LocalAI_<service>.log in the project. Click Tools > CBM > Open Logs Folder |