Instructions to use FastVideo/Matrix-Game-2.0-Base-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FastVideo/Matrix-Game-2.0-Base-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FastVideo/Matrix-Game-2.0-Base-Diffusers", 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
| { | |
| "_class_name": "SelfForcingFlowMatchScheduler", | |
| "_diffusers_version": "0.33.1", | |
| "num_train_timesteps": 1000, | |
| "num_inference_steps": 1000, | |
| "shift": 5.0, | |
| "sigma_max": 1.0, | |
| "sigma_min": 0.0, | |
| "inverse_timesteps": false, | |
| "extra_one_step": true, | |
| "reverse_sigmas": false, | |
| "training": true | |
| } |