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
Create NOTICE
#34
by paras-genmo - opened
NOTICE
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Mochi 1 Preview
|
| 2 |
+
Copyright 2024 Genmo, Inc.
|
| 3 |
+
|
| 4 |
+
This repository is licensed under the Apache License, Version 2.0. See the LICENSE file.
|
| 5 |
+
|
| 6 |
+
This repository includes third-party material:
|
| 7 |
+
|
| 8 |
+
The files in text_encoder/ and tokenizer/ are an unmodified copy of Google's T5 v1.1 XXL text encoder and tokenizer (https://huggingface.co/google/t5-v1_1-xxl). Copyright Google LLC. Licensed under the Apache License, Version 2.0.
|