Giter VIP home page Giter VIP logo

lcm-lora's Introduction

LCM LoRA Colab Notebook

This repository contains the code and instructions for running the LCM LoRA models on Google Colab with a T4 GPU. These models are based on stable diffusion models with LoRA distillation, which can synthesize high-resolution images with few-step inference. You can use these models to generate realistic and diverse images from various domains, such as faces, animals, landscapes, and more.

You can Also Try on Google Colab for free & Make Sure to follow me:

Colab Github BioLink Twitter

Models

The LCM LoRA models include:

  • SDv1.5: A stable diffusion model trained on ImageNet-64 with 1.5 billion parameters.
  • SDXL: A stable diffusion model trained on ImageNet-128 with 3.2 billion parameters.
  • SSD 1B: A super-resolution diffusion model trained on ImageNet-256 with 1 billion parameters.

How to use

To use the LCM LoRA models, you need to have a Google account and access to Google Colab. You can try the models for free on Google Colab by following these steps:

1. Open the LCM LoRA Colab Notebook in your browser.

image

2. Click on the Connect button at the top right corner of the notebook to connect to a runtime with a T4 GPU.

3. Execute the first cell to install the essential library and choose your base model. Then, download the Lora Model from the dropdown box.

image

4. To generate an image, type your prompt in the cell below and run it. You can also experiment with different values for the number of steps and the guidance scale.

image

Examples

Here are some examples of images generated by the LCM LoRA models:

image

Step Comparision of each Models

image

Support me

Hey Guys, I am a student who is passionate about AI and it's generative models. I created this notebook to share my work and help others learn and experiment with the LCM LoRA models. If you find this notebook useful or interesting, please consider supporting me in any of the following ways:

  • Star this repository on GitHub and share it with your friends and colleagues.
  • Follow me on GitHub and Twitter for more updates and projects.
  • Buy me a coffee

"Buy Me A Coffee"

Thank you for your support and feedback! ๐Ÿ˜Š

lcm-lora's People

Contributors

ayush-thakur02 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.