Skip to content

Latest commit

 

History

History
107 lines (67 loc) · 3.39 KB

File metadata and controls

107 lines (67 loc) · 3.39 KB

Troubleshooting

./hub status shows "not responding" for litellm

LiteLLM takes a few seconds to start. Wait 10-15 seconds after ./hub start and check again.

./hub status shows "not responding" for vllm-small

Model loading takes 1-2 minutes after start. Wait and check again. If it persists:

./hub logs vllm-small

CUDA version error on start

nvidia-container-cli: requirement error: unsatisfied condition: cuda>=12.9

Your NVIDIA driver is too old for the vLLM image. Install driver 570 specifically (do not use ubuntu-drivers autoinstall — it may install a driver that's too new):

sudo apt-get update && sudo apt-get install nvidia-driver-570 && sudo reboot

Then re-run ./hub setup to auto-detect the new CUDA version.

CUDA "unsupported display driver" error (Error 803)

RuntimeError: Error 803: system has unsupported display driver / cuda driver combination

Your NVIDIA driver is too new for the vLLM Docker image. This typically happens with driver 580+ (CUDA 13.0). Downgrade to driver 570:

sudo apt-get install nvidia-driver-570 && sudo reboot

Container exits immediately

Usually a GPU memory issue. Try:

  1. Lower SMALL_GPU_MEM_UTIL / LARGE_GPU_MEM_UTIL in .env
  2. Use a smaller model (e.g. google/gemma-4-E2B-it for the small slot)
  3. Check logs: ./hub logs vllm-small

"No available memory for the cache blocks"

vLLM couldn't fit the KV cache after loading weights. Either bump the corresponding *_GPU_MEM_UTIL in .env, or lower MAX_MODEL_LEN (default 32768). Context length scales KV cache linearly.

400 error when sending audio

Server rejected the request (400): ... audio not supported ...

Audio input only works on Gemma 4 E2B or E4B. The default small model is E4B (audio-capable); the default large model is 26B MoE and is text + image only. Retry with --model small, or swap your small model to an E-variant. See Managing Models.

"NVIDIA runtime not found"

Run ./hub setup again — it configures the Docker NVIDIA runtime.

Permission denied on Docker

After setup installs Docker, you need to log out and back in for the docker group membership to take effect. Quick fix without logging out:

newgrp docker

Port 4200 already in use

Change LITELLM_PORT in .env to another port:

sed -i 's/^LITELLM_PORT=.*/LITELLM_PORT=4201/' .env
./hub restart

Model not found (404) from LiteLLM

The model name in the LiteLLM config doesn't match what vLLM loaded. This happens if you changed models without restarting:

./hub restart

Client gets "No api key passed in"

You need to pass an API key with every request. Use the Authorization: Bearer header with the API key you received from ./hub add-key.

Can't connect from another machine

  1. Check the server is running: ./hub status on the server
  2. Check the port is open: curl http://SERVER_IP:4200/health from the client
  3. If using Tailscale, make sure both machines are on the same Tailnet
  4. The vLLM ports (8001, 8002) are localhost-only by design — clients connect through LiteLLM on port 4200

Database issues

If ./hub add-key or ./hub list-keys fails:

  1. Check postgres is running: ./hub status
  2. Check logs: ./hub logs postgres
  3. Reset the database (destroys all keys): docker volume rm llm-inference-hub_pgdata && ./hub restart