Instructions to use torpedo2003/SAD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use torpedo2003/SAD with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("torpedo2003/SAD", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Add pipeline tag and library name
#1
by nielsr HF Staff - opened
This PR adds the missing metadata to the model card:
pipeline_tag: image-to-image, so the decoders can be found under image-to-image models.library_name: diffusers, enabling the Diffusers usage widget, supported by the existing example that loads a SAD decoder into a DiffusersDiTPipelineVAE.
The existing paper, project page, code, usage, license, and tags are already present and correct.
torpedo2003 changed pull request status to merged