File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ WORKDIR /api
3737ADD requirements.txt requirements.txt
3838RUN 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
4343WORKDIR /api
4444RUN pip install -e diffusers
4545
Original file line number Diff line number Diff line change 44import torch
55import json
66from diffusers .pipelines .stable_diffusion .convert_from_ckpt import (
7- load_pipeline_from_original_stable_diffusion_ckpt ,
7+ download_from_original_stable_diffusion_ckpt ,
88)
99from utils import Storage
1010from 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
You can’t perform that action at this time.
0 commit comments