Skip to content

[Work In Progress] Server/Cloud-ready FastChat Docker images.

License

Notifications You must be signed in to change notification settings

ivangabriele/docker-fastchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastChat Docker Image

img-docker img-github-actions

Server/Cloud-ready FastChat Docker image based either on Nvdidia CUDA Ubuntu image including:

This image is intented for people who want to run FastChat using on their own server or cloud instance.

Docker Hub prebuilt images are automatically updated on a daily basis.



Caveats

  • ⚠️ The web application is NOT secured. It's up to you to secure your public HTTP port connection.
  • You need a GPU server or instance. The default entrypoint uses a single GPU run but you can override it using docker run --entrypoint ... or a Docker Compose file via entrypoint: [...].
  • This image is BIG since it includes a 9GB data model.

Supported tags and respective Dockerfile links

Docker Environment Variables

PORT

REQUIRED

This is the server exposed port to emit and listen socket events.

Roadmap

  • Add a CPU-only version

Convenience Server Scripts (no Docker)

This repository provides a few convenience scripts to install and run FastChat without using Docker, for better performances:

  • debian.sh: Copy this file in your /home/[username] directory and run it from this directory via sh ./debian.sh.

Contribute

X is FastChat version:

Z is the variant tag:

  • cuda12: NVidia GPUs

Prerequisites

  • Docker (Desktop or Engine)
  • Make (installation depends on your OS)

Build

make build-X-Z

Example: make build-latest-cuda12.

Run

make run-X
# or:
make run-X-Z

Example: make run-latest-cuda12.