Instructions to use leffff/diffusion-distillation-workshop-adapters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use leffff/diffusion-distillation-workshop-adapters with PEFT:
Task type is invalid.
- Sana
How to use leffff/diffusion-distillation-workshop-adapters with Sana:
# Load the model and infer image from text import torch from app.sana_pipeline import SanaPipeline from torchvision.utils import save_image sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml") sana.from_pretrained("hf://leffff/diffusion-distillation-workshop-adapters") image = sana( prompt='a cyberpunk cat with a neon sign that says "Sana"', height=1024, width=1024, guidance_scale=5.0, pag_guidance_scale=2.0, num_inference_steps=18, ) - Notebooks
- Google Colab
- Kaggle
Download samples/ladd_samples.png from leffff/diffusion-distillation-workshop-adapters: direct link, hf CLI and curl.
- Browser
- Download file 1.42 MB
-
https://huggingface.co/leffff/diffusion-distillation-workshop-adapters/resolve/main/samples/ladd_samples.png
- Command line
-
hf download hf://leffff/diffusion-distillation-workshop-adapters/samples/ladd_samples.png
-
curl -L -o ladd_samples.png https://huggingface.co/leffff/diffusion-distillation-workshop-adapters/resolve/main/samples/ladd_samples.png
1.42 MB

- Xet hash:
- 408c1e6f168f3ddf3c38496fc4b470e363f942adff1b0ed81d1db68c16152e53
- Size of remote file:
- 1.42 MB
- SHA256:
- 53cf40091d7d6499c493cdf32833ab7c24e7c63d76352bf06d9eeb21cf991f3d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.