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
89.7 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 29 commits
rezashkv's picture
rezashkv
Upload 10 files
cfc8c61 verified 8 months ago
  • 55
    Upload 10 files 8 months ago
  • 80
    Upload 10 files 8 months ago
  • APTP-Base-CC3M
    add hypernet and quantizer almost 2 years ago
  • APTP-Base-COCO
    Add hypernet and quantizer almost 2 years ago
  • APTP-Small-CC3M
    Add hypernet and quantizer almost 2 years ago
  • APTP-Small-COCO
    Upload 4 files almost 2 years ago
  • assets
    add assets almost 2 years ago
  • .gitattributes
    1.63 kB
    add assets almost 2 years ago
  • LICENSE
    1.07 kB
    add model card almost 2 years ago
  • README.md
    9.37 kB
    Update README.md almost 2 years ago