Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

google
/
ddpm-cifar10-32

Unconditional Image Generation
Diffusers
Safetensors
PyTorch
DDPMPipeline
Model card Files Files and versions
xet
Community
20

Instructions to use google/ddpm-cifar10-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use google/ddpm-cifar10-32 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("google/ddpm-cifar10-32", 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
ddpm-cifar10-32
286 MB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 24 commits
patrickvonplaten's picture
patrickvonplaten
stevhliu's picture
stevhliu HF Staff
Adding `safetensors` variant of this model (#14)
267b167 almost 3 years ago
  • images
    add images almost 4 years ago
  • .gitattributes
    1.3 kB
    Adding `safetensors` variant of this model (#14) almost 3 years ago
  • README.md
    2.98 kB
    Update README.md over 3 years ago
  • config.json
    699 Bytes
    convert weights almost 4 years ago
  • diffusion_pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    143 MB
    xet
    convert weights almost 4 years ago
  • diffusion_pytorch_model.safetensors
    143 MB
    xet
    Adding `safetensors` variant of this model (#14) almost 3 years ago
  • model_index.json
    180 Bytes
    update config almost 4 years ago
  • modeling_ddpm.py
    2.79 kB
    Pipeline files almost 4 years ago
  • scheduler_config.json
    256 Bytes
    add images almost 4 years ago