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
Delete dit-config.yaml
Browse files- dit-config.yaml +0 -17
dit-config.yaml
DELETED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
depth: 48
|
| 2 |
-
patch_size: 2
|
| 3 |
-
num_heads: 24
|
| 4 |
-
hidden_size_x: 3072
|
| 5 |
-
hidden_size_y: 1536
|
| 6 |
-
mlp_ratio_x: 4.0
|
| 7 |
-
mlp_ratio_y: 4.0
|
| 8 |
-
in_channels: 12
|
| 9 |
-
qk_norm: true
|
| 10 |
-
qkv_bias: false
|
| 11 |
-
out_bias: true
|
| 12 |
-
patch_embed_bias: true
|
| 13 |
-
timestep_mlp_bias: true
|
| 14 |
-
timestep_scale: 1000.0
|
| 15 |
-
t5_feat_dim: 4096
|
| 16 |
-
t5_token_length: 256
|
| 17 |
-
rope_theta: 10000.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|