Skip to content

Commit 6182604

Browse files
authored
LLMGroundedDiffusionPipeline: inherit from DiffusionPipeline and fix peft (#6023)
* LLMGroundedDiffusionPipeline: inherit from DiffusionPipeline and fix peft * Use main in the revision in the examples * Add "Copied from" statements in comments * Fix formatting with ruff
1 parent dadd55f commit 6182604

File tree

2 files changed

+615
-25
lines changed

2 files changed

+615
-25
lines changed

examples/community/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ from diffusers import DiffusionPipeline
7878
pipe = DiffusionPipeline.from_pretrained(
7979
"longlian/lmd_plus",
8080
custom_pipeline="llm_grounded_diffusion",
81+
custom_revision="main",
8182
variant="fp16", torch_dtype=torch.float16
8283
)
8384
pipe.enable_model_cpu_offload()

0 commit comments

Comments
 (0)