Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

rezashkv
/
diffusion_pruning

Text-to-Image
Diffusers
Safetensors
English
stable-diffusion
Model card Files Files and versions
xet
Community

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
  • Draw Things
  • DiffusionBee
diffusion_pruning / APTP-Small-CC3M
Ctrl+K
Ctrl+K
  • 3 contributors
History: 2 commits
rezashkv's picture
rezashkv
Add hypernet and quantizer
e418254 verified almost 2 years ago
  • arch0
    Add APTP-Small-CC3M almost 2 years ago
  • arch1
    Add APTP-Small-CC3M almost 2 years ago
  • arch2
    Add APTP-Small-CC3M almost 2 years ago
  • arch3
    Add APTP-Small-CC3M almost 2 years ago
  • arch4
    Add APTP-Small-CC3M almost 2 years ago
  • arch5
    Add APTP-Small-CC3M almost 2 years ago
  • arch6
    Add APTP-Small-CC3M almost 2 years ago
  • arch7
    Add APTP-Small-CC3M almost 2 years ago
  • hypernet
    Add hypernet and quantizer almost 2 years ago
  • quantizer
    Add hypernet and quantizer almost 2 years ago