Text Generation WebUI (also called TextGen, formerly oobabooga) decouples the inference engine from the interface: you select a loader per model from the Model tab, and each loader accepts specific file formats. Picking the wrong one is the most common reason a model refuses to load — the file is fine, but the engine asked to read it cannot.
Match the loader to the file
The project’s own README lists the backends as llama.cpp, Transformers, ExLlamaV3, and TensorRT-LLM, and says you can switch between backends and models without restarting. A setup guide puts the choice in a table:
| Loader | Format | Hardware | When to use it |
|---|---|---|---|
llama.cpp |
GGUF | NVIDIA, AMD, Apple Silicon, CPU | Default for GGUF files; most portable across platforms |
ExLlamaV2 |
EXL2, GPTQ | NVIDIA CUDA only | Fastest NVIDIA throughput |
Transformers |
Hugging Face (fp16, bf16, int8, int4) | NVIDIA, CPU | Original-format Hugging Face models; slower but broadest compatibility |
The practical default from the same guide: if you downloaded a .gguf file, use llama.cpp. If you have an NVIDIA GPU and want maximum generation speed, look for an EXL2 variant of the same model and use ExLlamaV2. On macOS you are limited to the llama.cpp and Transformers loaders — ExLlamaV2 requires CUDA and does not run on Apple Silicon.
Load the model
Copy the file into the models folder — a single-file GGUF goes directly in it, while multi-file models such as 16-bit Transformers and EXL3 models go in a named subfolder — then open the Model tab, pick the file from the dropdown, set the Loader, and click Load. With the llama.cpp loader, set n-gpu-layers to control GPU offloading: a large number such as 999 pushes as many layers as possible into VRAM, and 0 means CPU-only. You can also choose the loader on the command line: --loader LOADER chooses it manually, otherwise it is autodetected, with valid options Transformers, llama.cpp, ExLlamav3_HF, ExLlamav2_HF, ExLlamav2, and TensorRT-LLM.
| Check | What you should see | If you do not see it |
|---|---|---|
| File | Your model file is in the models folder, in the right place for its format | Single GGUF files go in the folder itself; multi-file models go in a subfolder |
| Loader | The Loader matches the file format in the table above | Change the Loader — the wrong engine cannot read the file |
| Loaded | A confirmation appears in the status box once the model is ready | Check the loader and the GPU settings for your hardware |
Expected result. We checked Text Generation WebUI’s own README for the backends and the –loader flag, and a third-party setup guide for the loader table. We did not run Text Generation WebUI.
Limits
The portable builds work with GGUF (llama.cpp) models; the README says additional backends such as ExLlamaV3 and Transformers need the full installation. The loader table is a third-party guide’s summary, so confirm the options on your installed version — the project was renamed TextGen in 2026 and the interface keeps changing. A loader only reads the formats it supports; it cannot convert a model from one format to another. We did not run Text Generation WebUI, so no loading here is a recorded result.
Sources
- Text Generation WebUI README — multiple backends (llama.cpp, Transformers, ExLlamaV3, TensorRT-LLM), switch without restarting, –loader flag, GGUF in the models folder
- Text Generation WebUI guide (third-party) — loader table for llama.cpp, ExLlamaV2, and Transformers; Model tab loading steps; macOS loader limits
