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

  • Log In
  • Sign Up

genmo
/
mochi-1-preview

Text-to-Video
Diffusers
Safetensors
Genmo
English
MochiPipeline
video
Model card Files Files and versions
xet
Community
32

Instructions to use genmo/mochi-1-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use genmo/mochi-1-preview with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("genmo/mochi-1-preview", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Genmo

    How to use genmo/mochi-1-preview with Genmo:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
mochi-1-preview / text_encoder
28.6 GB
Ctrl+K
Ctrl+K
  • 9 contributors
History: 2 commits
ved-genmo's picture
ved-genmo
Update Diffusers T5 weights (#28)
54450aa verified over 1 year ago
  • config.json
    781 Bytes
    Update Diffusers T5 weights (#28) over 1 year ago
  • model-00001-of-00002.safetensors
    4.99 GB
    xet
    Add Diffusers weights (#18) over 1 year ago
  • model-00001-of-00004.safetensors
    4.99 GB
    xet
    Update Diffusers T5 weights (#28) over 1 year ago
  • model-00002-of-00002.safetensors
    4.53 GB
    xet
    Add Diffusers weights (#18) over 1 year ago
  • model-00002-of-00004.safetensors
    5 GB
    xet
    Update Diffusers T5 weights (#28) over 1 year ago
  • model-00003-of-00004.safetensors
    4.87 GB
    xet
    Update Diffusers T5 weights (#28) over 1 year ago
  • model-00004-of-00004.safetensors
    4.19 GB
    xet
    Update Diffusers T5 weights (#28) over 1 year ago
  • model.safetensors.index.json
    19.9 kB
    Update Diffusers T5 weights (#28) over 1 year ago