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

  • Log In
  • Sign Up

HiDream-ai
/
SPM-Diff

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use HiDream-ai/SPM-Diff with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use HiDream-ai/SPM-Diff with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("HiDream-ai/SPM-Diff", 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
SPM-Diff
6.88 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
siqi72's picture
siqi72
Delete unet_vton/a
6974651 verified about 1 year ago
  • unet_garm
    Delete unet_garm/a about 1 year ago
  • unet_vton
    Delete unet_vton/a about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    1.6 kB
    Create README.md about 1 year ago