Instructions to use diffusers/matrix-game-2-modular with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/matrix-game-2-modular with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/matrix-game-2-modular", 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
Upload folder using huggingface_hub
Browse files- modular_model_index.json +1 -1
modular_model_index.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
| 33 |
null,
|
| 34 |
null,
|
| 35 |
{
|
| 36 |
-
"repo": "diffusers
|
| 37 |
"revision": null,
|
| 38 |
"subfolder": "transformer",
|
| 39 |
"type_hint": [
|
|
|
|
| 33 |
null,
|
| 34 |
null,
|
| 35 |
{
|
| 36 |
+
"repo": "diffusers/matrix-game-2-modular",
|
| 37 |
"revision": null,
|
| 38 |
"subfolder": "transformer",
|
| 39 |
"type_hint": [
|