Skip to main content

Local GPU Backend

The Local backend runs SDPO training and vLLM inference on your own hardware. It requires a GPU with >= 24 GB VRAM.

Requirements

  • NVIDIA GPU with >= 24 GB VRAM (e.g. RTX 3090, RTX 4090, A5000, L40S)
  • NVIDIA Container Toolkit (for Docker)
  • Docker and Docker Compose
  • Python 3.11+ and uv

Installation

1

Clone and install

2

Configure environment

Edit .env and set TELEGRAM_BOT_TOKEN (required). Optionally set HF_TOKEN for gated models.
3

Start the stack

The first run downloads Qwen3-8B (~16 GB). The vLLM health check takes 10-20 minutes on first start.
4

Verify

Services

Configuration

These variables are set in the .env file. For the full Hydra config and all environment variables, see the Configuration Reference.

Verification

Send a DM to your Telegram bot. It should respond using the openclaw-assistant-latest LoRA model.
If you prefer not to use Docker, you can run each service manually:
When running uvicorn directly, use claas.api:web_app, not claas.api:app. The app object is a Modal App and is not ASGI-compatible.