aleksanderhan / turbo-genius

16 stars 1 forks source link

Turbo-Genius

Streaming local llm server and client.

Features

Turbo-Genius Chat Client Image capabilities

Dependencies

sudo apt-get install sqlite3 libsqlite3-dev

# for whatever reason these modules have to be installed separately
pip install packaging torch

# Install the rest of the dependencies
pip install -r requirements.txt

Server

Run any text-generation model from huggingface

Run in docker

docker build . --tag="turbo-genius"
docker run --gpus all -e HUGGINGFACE_TOKEN=<token> -d -p 8000:8000 turbo-genius

Run in terminal

python server.py --model <model> --image_generation --image_cpu_offload

Clients

Cli

python cli.py --host <host> --port <port>

Chat client desktop app

python client.py --host <host> --port <port>