Skip to content

Commit 77e9078

Browse files
committed
feat(diffusers): bump to 0.15.0 + 2 weeks with lpw fix (9965cb5)
1 parent 0dcbd16 commit 77e9078

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ WORKDIR /api
3737
ADD requirements.txt requirements.txt
3838
RUN pip install -r requirements.txt
3939

40-
# [5e5ce13] adds xformers support to train_unconditional.py (#2520)
41-
# Also includes LoRA safetensors support.
42-
RUN git clone https://github.com/huggingface/diffusers && cd diffusers && git checkout 5e5ce13e2f89ac45a0066cb3f369462a3cf1d9ef
40+
# [9965cb5] [Community Pipelines] Update lpw_stable_diffusion pipeline (#3197)
41+
# Above was reverted shortly afterwards for not being backwards compatible.
42+
RUN git clone https://github.com/huggingface/diffusers && cd diffusers && git checkout 9965cb50eac12e397473f01535aab43aae76b4ab
4343
WORKDIR /api
4444
RUN pip install -e diffusers
4545

api/convert_to_diffusers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import torch
55
import json
66
from diffusers.pipelines.stable_diffusion.convert_from_ckpt import (
7-
load_pipeline_from_original_stable_diffusion_ckpt,
7+
download_from_original_stable_diffusion_ckpt,
88
)
99
from utils import Storage
1010
from device import device_id
@@ -123,7 +123,7 @@ def main(
123123
# user overrides
124124
args.update(checkpoint_args)
125125

126-
pipe = load_pipeline_from_original_stable_diffusion_ckpt(**args)
126+
pipe = download_from_original_stable_diffusion_ckpt(**args)
127127
pipe.save_pretrained(model_id, safe_serialization=True)
128128

129129

0 commit comments

Comments
 (0)