Skip to content

Installation Guide for LightDiffusion-Next

Welcome to the LightDiffusion-Next installation guide. Follow the steps below to set up LightDiffusion-Next on your system.

Table of Contents

  1. Prerequisites
  2. Installation Steps - Clone the Repository - Run the Application - Add Model Checkpoints
  3. Tips and Tricks
  4. Troubleshooting

Prerequisites

Before you begin, ensure you have the following installed:

  • Python 3.10.6
  • Git
  • At least 10GB of free space on your hard drive

Installation Steps

Clone the Repository

Open your terminal and run the following command to clone the repository:

git clone https://github.com/Aatrick/LightDiffusion-Next.git
cd LightDiffusion-Next

Run the Application

Windows

Open a command prompt and execute the run.bat file to start the application:

./run.bat

Linux

Open a terminal and execute the run.sh file to start the application:

./run.sh

Add Model Checkpoints

Download your SD1/1.5 safetensors model and place it in the checkpoints directory.

Tips and Tricks

  • Ensure your system meets the minimum requirements for optimal performance.
  • For best results, use resolutions corresponding to megapixel sizes. Refer to this guide for more information.
  • If you’re using a laptop, make sure it’s plugged in to avoid performance throttling.

Troubleshooting

If you encounter any issues during installation or usage, consider the following:

  • Check Python Version: Ensure you’re using Python 3.10.6 or later. Other versions may cause compatibility issues.
  • CUDA Issues: Make sure you have the correct CUDA version installed for your GPU.
  • Path Issues: Verify that Python is in your system PATH.
  • Dependency Problems: Try reinstalling dependencies with pip install -r requirements.txt.

If you’re still facing issues, feel free to reach out to the LightDiffusion-Next community for assistance or open an issue on the GitHub repository

Wish you good generations!