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

  • Log In
  • Sign Up

bilalfaye
/
dpm-custom-model

Diffusers
Safetensors
DDPMPipeline
Model card Files Files and versions
xet
Community

Instructions to use bilalfaye/dpm-custom-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use bilalfaye/dpm-custom-model with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("bilalfaye/dpm-custom-model", 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
dpm-custom-model
288 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
bilalfaye's picture
bilalfaye
Upload dpm_unet.py
9da9224 verified 10 months ago
  • scheduler
    Upload DDPMPipeline 10 months ago
  • unet
    Upload dpm_unet.py 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    5.16 kB
    Upload DPM 10 months ago
  • config.json
    1.01 kB
    Upload DPM 10 months ago
  • diffusion_pytorch_model.safetensors
    144 MB
    xet
    Upload DPM 10 months ago
  • dpm_unet.py
    7.33 kB
    Upload dpm_unet.py 10 months ago
  • model_index.json
    172 Bytes
    Update model_index.json 10 months ago