New Tool Radar

Local AI

Install text-generation-webui Locally and Load a Model in It

Install the oobabooga text-generation-webui with its one-click script, open it on localhost:7860, and load a GGUF model.

Schematic with three steps: Clone and run the one-click installer; Open the interface; Load a GGUF model.

text-generation-webui, widely called oobabooga after its GitHub author, is a free browser interface for running language models locally. It supports several inference backends, including llama.cpp for GGUF files, and its one-click scripts set up the environment for you.

What you need

  • Git installed
  • A GPU or a CPU-only machine, with about 10 GB free disk
  • A GGUF model file, or a Hugging Face model name to download

Step 1: Clone and run the one-click installer

Run git clone https://github.com/oobabooga/text-generation-webui, enter the folder, and double-click start_windows.bat on Windows, or run ./start_linux.sh on Linux and ./start_macos.sh on macOS. The script creates an isolated Conda environment and installs the matching dependencies for your GPU type.

Step 2: Open the interface

When the server starts, open http://localhost:7860 in a browser. The interface has Chat, Notebook, and Model tabs; the one-click install takes 5 to 15 minutes the first time and only seconds afterwards.

Step 3: Load a GGUF model

Copy the .gguf file into the text-generation-webui/models folder. Open the Model tab, pick the file from the dropdown, set Loader to llama.cpp, set n-gpu-layers to 999 to push layers into VRAM or 0 for CPU-only, and click Load. Then open the Chat tab and start a conversation.

Worked example: load a 7B GGUF on Linux

The table below is a synthetic example. The scripts, the port, and the loader settings come from the cited webui guides; the model is illustrative.

Step Action Expected result
Install ./start_linux.sh Environment built, server starts
Open http://localhost:7860 WebUI loads
Load Loader llama.cpp, n-gpu-layers 999 Model ready in Chat tab

Expected result (UNTESTED). the WebUI opens on port 7860 and the loaded model answers in the Chat tab. This check was not run live; the steps come from the cited webui guides.

Limits

  • The OpenAI-compatible API needs the openai extension flag; it is not on by default.
  • ExLlamaV2 needs CUDA and does not run on Apple Silicon.
  • A 7B model may produce only 2 to 5 tokens per second on a modern desktop CPU.
  • The interface has no built-in authentication; do not expose it beyond localhost.

Sources

See all