File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33* ** 2022-10-21**
44
5- * Upgrade to ** Diffusers 0.6.0**
6-
7- * Biggest news of the above release is support for
5+ * ** Stable Diffusion 1.5 released!!!**
6+
7+ Accept the license at:
8+ [ "runwayml/stable-diffusion-v1-5"] ( https://huggingface.co/runwayml/stable-diffusion-v1-5 )
9+
10+ It's the new default model.
11+
12+ * ** Official Stable Diffusion inpainting model**
13+
14+ Accept the license at:
815 [ "runwayml/stable-diffusion-inpainting"] ( https://huggingface.co/runwayml/stable-diffusion-inpainting ) ,
9- the first official stable diffusion checkpoint fine-tuned on ** inpainting** .
1016
11- You need to use the above link to * accept the license terms * on the
12- model card before you'll be able to download it. Also, unfortunately,
13- this means we're back to having a separate container for inpainting,
14- as it's a different model.
17+ Unfortunately, as it's a different model, it means we're back to having a
18+ separate container for inpainting.
19+
20+ NB: ` model_input ` takes ` image ` now, and not ` init_image ` like the legacy model.
1521
16- Note also: you need to send the image as ` image ` now, and not ` init_image ` .
22+ * Upgrade to ** Diffusers v0.7.0.dev0 **
1723
1824 * ** Flash attention** now disabled by default. 1) Because it's built on
1925 an older version of diffusers, but also because 2) I didn't succeed in
Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ ARG HF_AUTH_TOKEN
3535ENV HF_AUTH_TOKEN=${HF_AUTH_TOKEN}
3636
3737# "CompVis/stable-diffusion-v1-4", "hakurei/waifu-diffusion",
38- # "runwayml/stable-diffusion-inpainting", etc. (huggingface)
39- ARG MODEL_ID="CompVis/stable-diffusion-v1-4"
38+ # "runwayml/stable-diffusion-inpainting",
39+ # "runwayml/stable-diffusion-v1-5" etc. (huggingface)
40+ ARG MODEL_ID="runwayml/stable-diffusion-v1-5"
4041ENV MODEL_ID=${MODEL_ID}
4142
4243# If set, it will be downloaded and converted to diffusers format, and
Original file line number Diff line number Diff line change 33from diffusers import StableDiffusionPipeline
44
55HF_AUTH_TOKEN = os .getenv ("HF_AUTH_TOKEN" )
6- MODEL_IDS = ["CompVis/stable-diffusion-v1-4" , "hakurei/waifu-diffusion" ]
6+ MODEL_IDS = [
7+ "CompVis/stable-diffusion-v1-4" ,
8+ "hakurei/waifu-diffusion" ,
9+ "hakurei/waifu-diffusion-v1-3" ,
10+ "runwayml/stable-diffusion-inpainting" ,
11+ "runwayml/stable-diffusion-v1-5" ,
12+ ]
713
814
915def loadModel (model_id : str , load = True ):
You can’t perform that action at this time.
0 commit comments