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 adapter_pdd.pt from leffff/diffusion-distillation-workshop-adapters: direct link, hf CLI and curl.
- Browser
- Download file 110 MB
-
https://huggingface.co/leffff/diffusion-distillation-workshop-adapters/resolve/main/adapter_pdd.pt
- Command line
-
hf download hf://leffff/diffusion-distillation-workshop-adapters/adapter_pdd.pt
-
curl -L -o adapter_pdd.pt https://huggingface.co/leffff/diffusion-distillation-workshop-adapters/resolve/main/adapter_pdd.pt
110 MB
- Xet hash:
- 4ff975b45a15c27e3239d64366d02a555b4c3a17ca82f9819725b1fca589d97b
- Size of remote file:
- 110 MB
- SHA256:
- 2aad2c37358cdbaaa69b772b11111702cfcfb69f4f67e3469940769b2422e993
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.