Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor of sd_handler.py #590

Merged
merged 17 commits into from
Mar 6, 2024
Merged

Refactor of sd_handler.py #590

merged 17 commits into from
Mar 6, 2024

Conversation

w4ffl35
Copy link
Member

@w4ffl35 w4ffl35 commented Mar 2, 2024

Refactor of SD Handler

This is a refactor of the stable diffusion handler class.

This will provide a speed boost to loading and using stable diffusion overall, as well as the canvas when images are being generated. This improves the "real-time" drawing performance of the canvas and image generation.

Logger from info to debug

All logger info calls have been moved to debug calls. Several workers have been improved, as well has the handling of exceptions and closing of threads.

Fixes prompt embed loading

There has been a bug in the code for several weeks (or months) which related to loading prompt embeds - it is patched in this PR.

Model loading fixes and more

  • Fixes loading between LLM and Stable diffusion
  • Fixes mute / unmute microphone
  • Fixes text-to-speech => text-to-image pipeline
  • Adds support for SPD text-to-speech generation
  • Improves performance of threads and more

Video preview here

@w4ffl35 w4ffl35 added 🐛 bug Something isn't working 🛸 enhancement New feature or request 🇬🇧 Stable Diffusion labels Mar 2, 2024
@w4ffl35 w4ffl35 added this to the 3.0.0 Release milestone Mar 2, 2024
@w4ffl35 w4ffl35 self-assigned this Mar 2, 2024
Copy link

github-actions bot commented Mar 2, 2024

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Manifest Files

setup.py
  • transformers@4.38.2
  • transformers@4.38.1

@w4ffl35 w4ffl35 merged commit 08641d1 into master Mar 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🛸 enhancement New feature or request 🇬🇧 Stable Diffusion
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Save line image just as other images and active layer are saved with each session
1 participant