Skip to content

Commit e7e3749

Browse files
authored
introduce minimalistic reimplementation of SDXL on the SDXL doc (huggingface#4532)
minsdxl
1 parent c7c0b57 commit e7e3749

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/en/api/pipelines/stable_diffusion/stable_diffusion_xl.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,3 +425,7 @@ prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
425425
prompt_2 = "monet painting"
426426
image = pipe(prompt=prompt, prompt_2=prompt_2).images[0]
427427
```
428+
429+
## Single-file Implementation of SDXL Unet Model
430+
431+
If you are curious about how SDXL Unet is implemented and would like to make quick modifications / experimentations, you can alternatively head to [`minSDXL`](https://github.com/cloneofsimo/minSDXL) that is very `diffusers` friendly. It is a single-file implementation of SDXL Unet model that is written in PyTorch with exact same model naming and structure as in `diffusers`.

0 commit comments

Comments
 (0)