Instructions to use Skywork/Matrix-Game with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Skywork/Matrix-Game with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Skywork/Matrix-Game", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
<!-- markdownlint-disable html -->
|
| 3 |
<!-- markdownlint-disable no-duplicate-header -->
|
| 4 |
|
| 5 |
-
# Matrix-Game
|
| 6 |
<div style="display: flex; justify-content: center; gap: 10px;">
|
| 7 |
-
<a href="https://github.com/SkyworkAI/Matrix-Game
|
| 8 |
<img src="https://img.shields.io/badge/GitHub-100000?style=flat&logo=github&logoColor=white" alt="GitHub">
|
| 9 |
</a>
|
| 10 |
<a href="#todo">
|
|
@@ -19,7 +19,7 @@ You can find more visualizations on our [website](#).
|
|
| 19 |
|
| 20 |
## ๐ฅ Latest Updates
|
| 21 |
|
| 22 |
-
* [2025-05] ๐ Initial release of Matrix-Game
|
| 23 |
|
| 24 |
## ๐ Performance Comparison
|
| 25 |
### GameWorld Score Benchmark Comparison
|
|
@@ -127,8 +127,8 @@ You can find more visualizations on our [website](#).
|
|
| 127 |
|
| 128 |
1. Clone the repository:
|
| 129 |
```bash
|
| 130 |
-
git clone https://github.com/SkyworkAI/Matrix-Game
|
| 131 |
-
cd Matrix-Game
|
| 132 |
```
|
| 133 |
|
| 134 |
2. Install dependencies:
|
|
|
|
| 2 |
<!-- markdownlint-disable html -->
|
| 3 |
<!-- markdownlint-disable no-duplicate-header -->
|
| 4 |
|
| 5 |
+
# Matrix-Game: Interactive World Foundation Model
|
| 6 |
<div style="display: flex; justify-content: center; gap: 10px;">
|
| 7 |
+
<a href="https://github.com/SkyworkAI/Matrix-Game">
|
| 8 |
<img src="https://img.shields.io/badge/GitHub-100000?style=flat&logo=github&logoColor=white" alt="GitHub">
|
| 9 |
</a>
|
| 10 |
<a href="#todo">
|
|
|
|
| 19 |
|
| 20 |
## ๐ฅ Latest Updates
|
| 21 |
|
| 22 |
+
* [2025-05] ๐ Initial release of Matrix-Game
|
| 23 |
|
| 24 |
## ๐ Performance Comparison
|
| 25 |
### GameWorld Score Benchmark Comparison
|
|
|
|
| 127 |
|
| 128 |
1. Clone the repository:
|
| 129 |
```bash
|
| 130 |
+
git clone https://github.com/SkyworkAI/Matrix-Game.git
|
| 131 |
+
cd Matrix-Game
|
| 132 |
```
|
| 133 |
|
| 134 |
2. Install dependencies:
|