Skip to content

Simple tools for working with huggingface diffusers

Notifications You must be signed in to change notification settings

mgoldey/hf_diffusers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick start

This project demonstrates how to use huggingface/diffusers for simple image generation from text phrases

Requirements

  • pyenv
  • poetry

Installation

  1. Install CUDA
  2. Install pyenv
  3. Install poetry
  4. Install python3.10
pyenv install 3.10
pyenv local 3.10
  1. Install poetry dependencies
poetry install

Usage

After installation, you should be able to run the command line script directly. In my tests, this particular model requires about 6 GB of GPU RAM.

poetry run ./diffusers_demo.py "Picard, his hands raised into the sky"

Example output:

Picard graphic

About

Simple tools for working with huggingface diffusers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages