Image-to-Image
Diffusers
Chinese
AltDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
multilingual
English(En)
Chinese(Zh)
Spanish(Es)
French(Fr)
Russian(Ru)
Japanese(Ja)
Korean(Ko)
Arabic(Ar)
Italian(It)
Instructions to use radames/AltDiffusion-m9-img2img with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use radames/AltDiffusion-m9-img2img 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("radames/AltDiffusion-m9-img2img", 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
Download safety_checker/pytorch_model.bin from radames/AltDiffusion-m9-img2img: direct link, hf CLI and curl.
- Browser
- Download file 1.22 GB
-
https://huggingface.co/radames/AltDiffusion-m9-img2img/resolve/main/safety_checker/pytorch_model.bin
- Command line
-
hf download hf://radames/AltDiffusion-m9-img2img/safety_checker/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/radames/AltDiffusion-m9-img2img/resolve/main/safety_checker/pytorch_model.bin
1.22 GB
- Xet hash:
- e765c2bb37a75b412a9d7e52632eeb0911094b807284c455e77ff5b0fbed40b1
- Size of remote file:
- 1.22 GB
- SHA256:
- c3d33fd194bdb79878221aab4ce179fdd5a51b437789882c0743e7279340687e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.