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