1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

introduce minimalistic reimplementation of SDXL on the SDXL doc (#4532)

minsdxl
This commit is contained in:
Simo Ryu
2023-08-09 11:03:07 +09:00
committed by GitHub
parent c7c0b57541
commit e7e3749498

View File

@@ -425,3 +425,7 @@ prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
prompt_2 = "monet painting"
image = pipe(prompt=prompt, prompt_2=prompt_2).images[0]
```
## Single-file Implementation of SDXL Unet Model
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`.