You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/en/using-diffusers/other-formats.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -240,6 +240,50 @@ Benefits of using a single-file layout include:
240
240
1. Easy compatibility with diffusion interfaces such as [ComfyUI](https://github.com/comfyanonymous/ComfyUI) or [Automatic1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui) which commonly use a single-file layout.
241
241
2. Easier to manage (download and share) a single file.
242
242
243
+
### DDUF
244
+
245
+
<Tipwarning={true}>
246
+
247
+
DDUF is an experimental file format and APIs related to it can change in the future.
248
+
249
+
</Tip>
250
+
251
+
DDUF, aka (**D**DUF’s **D**iffusion **U**nified **F**ormat) is a file format designed to make storing, distributing, and using diffusion models much easier. Built on the ZIP file format, DDUF offers a standardized, efficient, and flexible way to package all parts of a diffusion model into a single, easy-to-manage file. It tries to provide a sweet spot between our multi-folder format and widely popular single-file format. To learn more about it, please check out the documentation [here](https://huggingface.co/docs/hub/dduf).
252
+
253
+
Below we show, how to load a DDUF checkpoint in a [`DiffusionPipeline`]:
"photo a cat holding a sign that says Diffusers", num_inference_steps=50, guidance_scale=3.5
264
+
).images[0]
265
+
image.save("cat.png")
266
+
```
267
+
268
+
To obtain `.dduf` checkpoint, we rely on `huggingface_hub`'s `export_folder_as_dduf()` utility, which takes care of all the necessary file-level validations:
0 commit comments