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
Upload IMG-20250413-WA0000.jpg
#30
by Rakib840 - opened
- .gitattributes +1 -0
- text_encoder/IMG-20250413-WA0000.jpg +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
grid.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
assets/grid.gif filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
grid.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
assets/grid.gif filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
text_encoder/IMG-20250413-WA0000.jpg filter=lfs diff=lfs merge=lfs -text
|
text_encoder/IMG-20250413-WA0000.jpg
ADDED
|
Git LFS Details
|