Instructions to use rezashkv/diffusion_pruning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use rezashkv/diffusion_pruning with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("rezashkv/diffusion_pruning", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download APTP-Base-CC3M/hypernet/diffusion_pytorch_model.safetensors from rezashkv/diffusion_pruning: direct link, hf CLI and curl.
- Browser
- Download file 4.99 MB
-
https://huggingface.co/rezashkv/diffusion_pruning/resolve/main/APTP-Base-CC3M/hypernet/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://rezashkv/diffusion_pruning/APTP-Base-CC3M/hypernet/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/rezashkv/diffusion_pruning/resolve/main/APTP-Base-CC3M/hypernet/diffusion_pytorch_model.safetensors
4.99 MB
- Xet hash:
- d85f8c22963eadc7afe1472d8a94d9837fd64d0f3cd1cad35be9ae8ca50cc10f
- Size of remote file:
- 4.99 MB
- SHA256:
- 9ecb663ea125b01b329991c079932dee083393d72b0697106ab0047b829ae1b8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.