Skip to content

Commit 7c92363

Browse files
committed
[ADD] code for SDXL
1 parent b7848c6 commit 7c92363

11 files changed

+7405
-3
lines changed

DeepCache/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from .sd.pipeline_stable_diffusion import StableDiffusionPipeline
2+
from .sdxl.pipeline_stable_diffusion_xl import StableDiffusionXLPipeline

DeepCache/pipeline_utils.py renamed to DeepCache/sd/pipeline_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def get_class_obj_and_candidates(library_name, class_name, importable_classes, p
315315
else:
316316
# else we just import it from the library.
317317
if class_name == 'UNet2DConditionModel':
318-
library_name = "DeepCache.unet_2d_condition"
318+
library_name = "DeepCache.sd.unet_2d_condition"
319319

320320

321321
library = importlib.import_module(library_name)
File renamed without changes.
File renamed without changes.

DeepCache/sdxl/pipeline_stable_diffusion_xl.py

Lines changed: 1031 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)