Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.72 KB

File metadata and controls

53 lines (34 loc) · 1.72 KB

InvokeAI: A Stable Diffusion Toolkit

This is a fork of InvokeAI for running it with a couple of simple docker commands.

canvas preview

Hardware Requirements

InvokeAI is supported across Linux, Windows and macOS. Linux users can use either an Nvidia-based card (with CUDA support) or an AMD card (using the ROCm driver).

System

You will need one of the following:

  • An NVIDIA-based graphics card with 4 GB or more VRAM memory.
  • An Apple computer with an M1 chip.
  • An AMD-based graphics card with 4GB or more VRAM memory. (Linux only)

Memory

  • At least 12 GB Main Memory RAM.

Disk

  • At least 12 GB of free disk space for the machine learning model, Python, and all its dependencies.

Prerequisites

Install Docker and nvidia-docker-toolkit this can be done from within this repo with the terminal command (Ubuntu 22.04 Jammy):

make

The make commands runs make docker and make docker-nvidia, for details see: makefile

Get a Huggingface-Token you will need an Account on huggingface.co.

After you succesfully registered your account, go to huggingface.co/settings/tokens, create a token and copy it, since you will need in for the next step.

Paste the token into the file .env.example file and rename the file to just .env.

Ready to run

then your are ready to run the container. use the terminal command:

docker compose up -d