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

  • Log In
  • Sign Up

nitrosocke
/
mo-di-diffusion

Text-to-Image
Diffusers
StableDiffusionPipeline
stable-diffusion
Model card Files Files and versions
xet
Community
32

Instructions to use nitrosocke/mo-di-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use nitrosocke/mo-di-diffusion with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("nitrosocke/mo-di-diffusion", 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
mo-di-diffusion
13.1 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 26 commits
Hogaresyucatan's picture
Hogaresyucatan
Adding `safetensors` variant of this model
0f9d3fd over 2 years ago
  • feature_extractor
    Add Diffusers model (#2) over 3 years ago
  • safety_checker
    Adding `safetensors` variant of this model over 2 years ago
  • scheduler
    Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#20) over 3 years ago
  • text_encoder
    Adding `safetensors` variant of this model over 2 years ago
  • tokenizer
    Add Diffusers model (#2) over 3 years ago
  • unet
    Adding `safetensors` variant of this model over 2 years ago
  • vae
    Adding `safetensors` variant of this model over 2 years ago
  • .gitattributes
    1.55 kB
    Upload moDi-v1-pruned.ckpt over 3 years ago
  • README.md
    3.67 kB
    Update README.md over 3 years ago
  • moDi-v1-pruned.ckpt

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.13 GB
    xet
    Upload moDi-v1-pruned.ckpt over 3 years ago
  • model_index.json
    541 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#28) almost 3 years ago
  • modi-samples-01s.jpg
    965 kB
    Upload 3 files over 3 years ago
  • modi-samples-02s.jpg
    641 kB
    Upload 3 files over 3 years ago
  • modi-samples-03s.jpg
    729 kB
    Upload 3 files over 3 years ago