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

  • Log In
  • Sign Up

phxdev
/
mochi-1-preview

Diffusers
Safetensors
MochiPipeline
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use phxdev/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("phxdev/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]
  • Notebooks
  • Google Colab
  • Kaggle
mochi-1-preview
39.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
phxdev's picture
phxdev
Upload folder using huggingface_hub
d91086b verified over 1 year ago
  • scheduler
    Upload folder using huggingface_hub over 1 year ago
  • text_encoder
    Upload folder using huggingface_hub over 1 year ago
  • tokenizer
    Upload folder using huggingface_hub over 1 year ago
  • transformer
    Upload folder using huggingface_hub over 1 year ago
  • vae
    Upload folder using huggingface_hub over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    1.54 kB
    Upload folder using huggingface_hub over 1 year ago
  • app.py
    4.13 kB
    Upload folder using huggingface_hub over 1 year ago
  • model_index.json
    408 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • requirements.txt
    68 Bytes
    Upload folder using huggingface_hub over 1 year ago