From 1491665af88214b2178af92cef471b3054ca5825 Mon Sep 17 00:00:00 2001 From: jaydrennan Date: Wed, 22 Nov 2023 14:56:25 -0800 Subject: [PATCH 1/3] refactor: updates README for 14.0.0 adds notes under currently broken features, removes deprecated features descriptions, and adds 14.0.0 changelog --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8ad46a24..04540b97 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Visit http://localhost:8000/ and http://localhost:8000/docs ### Image Structure Control [by ControlNet](https://github.com/lllyasviel/ControlNet) +#### (Broken as of 14.0.0) Generate images guided by body poses, depth maps, canny edges, hed boundaries, or normal maps. **Openpose Control** @@ -156,6 +157,7 @@ aimg colorize pearl-girl.jpg --caption "photo of a woman"

### Instruction based image edits [by InstructPix2Pix](https://github.com/timothybrooks/instruct-pix2pix) +#### (Broken as of 14.0.0) Just tell imaginairy how to edit the image and it will do it for you!

@@ -325,10 +327,7 @@ Example: ### Work with different generation models

- - -

@@ -493,6 +492,17 @@ A: The AI models are cached in `~/.cache/` (or `HUGGINGFACE_HUB_CACHE`). To dele ## ChangeLog +**14.0.0** +- 🎉 feature: uses refiners library for generation +- 🎉 feature: adds support for pytorch 2.0 +- fix: stable diffusion 1.5 + inpainting working +- fix: self-attention guidance working. improves image generation quality +- fix: tile-mode working +- fix: self-attention guidance working. improves image generation quality +- deprecated: support for python 3.8 +- deprecated: support for sd 1.4, 2.0, 2.1 +- broken: pix2pix editing, most samplers, most controlnets, and memory management + **13.2.1** - fix: pydantic models for http server working now. Fixes #380 - fix: install triton so annoying message is gone From 90e32bc6afd4703913ec1e2cb505128e711ad33b Mon Sep 17 00:00:00 2001 From: jaydrennan Date: Wed, 22 Nov 2023 14:50:23 -0800 Subject: [PATCH 2/3] refactor: removes outdated info and spelling error --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 04540b97..7ca874a9 100644 --- a/README.md +++ b/README.md @@ -724,7 +724,7 @@ Use with `--model SD-2.1` or `--model SD-2.0-v` - fix: version metadata was broken **6.1.0** -- feature: use different default steps and image sizes depending on sampler and model selceted +- feature: use different default steps and image sizes depending on sampler and model selected - fix: #110 use proper version in image metadata - refactor: samplers all have their own class that inherits from ImageSampler - feature: 🎉🎉🎉 Stable Diffusion 2.0 @@ -846,7 +846,6 @@ would be uncorrelated to the rest of the surrounding image. It created terrible ## Not Supported - - a GUI. this is a python library - exploratory features that don't work well From fd02b3fe03f4ba876abf6d7c004b25407ca3494a Mon Sep 17 00:00:00 2001 From: jaydrennan Date: Wed, 22 Nov 2023 14:49:41 -0800 Subject: [PATCH 3/3] refactor: removes unused model configs --- imaginairy/config.py | 65 -------------------------------------------- 1 file changed, 65 deletions(-) diff --git a/imaginairy/config.py b/imaginairy/config.py index d0237929..fbf521f7 100644 --- a/imaginairy/config.py +++ b/imaginairy/config.py @@ -31,14 +31,6 @@ class ModelConfig: midas_url = "https://github.com/intel-isl/DPT/releases/download/1_0/dpt_hybrid-midas-501f0c75.pt" MODEL_CONFIGS = [ - # ModelConfig( - # description="Stable Diffusion 1.4", - # short_name="SD-1.4", - # config_path="configs/stable-diffusion-v1.yaml", - # weights_url="https://huggingface.co/bstddev/sd-v1-4/resolve/77221977fa8de8ab8f36fac0374c120bd5b53287/sd-v1-4.ckpt", - # default_image_size=512, - # alias="sd14", - # ), ModelConfig( description="Stable Diffusion 1.5", short_name="SD-1.5", @@ -57,63 +49,6 @@ class ModelConfig: alias="sd15in", ), # ModelConfig( - # description="Stable Diffusion 2.0 - bad at making people", - # short_name="SD-2.0", - # config_path="configs/stable-diffusion-v2-inference.yaml", - # weights_url="https://huggingface.co/stabilityai/stable-diffusion-2-base/resolve/main/512-base-ema.ckpt", - # default_image_size=512, - # alias="sd20", - # ), - # ModelConfig( - # description="Stable Diffusion 2.0 - Inpainting", - # short_name="SD-2.0-inpaint", - # config_path="configs/stable-diffusion-v2-inpainting-inference.yaml", - # weights_url="https://huggingface.co/stabilityai/stable-diffusion-2-inpainting/resolve/main/512-inpainting-ema.ckpt", - # default_image_size=512, - # alias="sd20in", - # ), - # ModelConfig( - # description="Stable Diffusion 2.0 v - 768x768 - bad at making people", - # short_name="SD-2.0-v", - # config_path="configs/stable-diffusion-v2-inference-v.yaml", - # weights_url="https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.ckpt", - # default_image_size=768, - # alias="sd20v", - # ), - # ModelConfig( - # description="Stable Diffusion 2.0 - Depth", - # short_name="SD-2.0-depth", - # config_path="configs/stable-diffusion-v2-midas-inference.yaml", - # weights_url="https://huggingface.co/stabilityai/stable-diffusion-2-depth/resolve/main/512-depth-ema.ckpt", - # default_image_size=512, - # alias="sd20dep", - # ), - # ModelConfig( - # description="Stable Diffusion 2.1", - # short_name="SD-2.1", - # config_path="configs/stable-diffusion-v2-inference.yaml", - # weights_url="https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.ckpt", - # default_image_size=512, - # alias="sd21", - # ), - # ModelConfig( - # description="Stable Diffusion 2.1 - Inpainting", - # short_name="SD-2.1-inpaint", - # config_path="configs/stable-diffusion-v2-inpainting-inference.yaml", - # weights_url="https://huggingface.co/stabilityai/stable-diffusion-2-inpainting/resolve/main/512-inpainting-ema.ckpt", - # default_image_size=512, - # alias="sd21in", - # ), - # ModelConfig( - # description="Stable Diffusion 2.1 v - 768x768", - # short_name="SD-2.1-v", - # config_path="configs/stable-diffusion-v2-inference-v.yaml", - # weights_url="https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.ckpt", - # default_image_size=768, - # forced_attn_precision="fp32", - # alias="sd21v", - # ), - # ModelConfig( # description="Instruct Pix2Pix - Photo Editing", # short_name="instruct-pix2pix", # config_path="configs/instruct-pix2pix.yaml",