Instructions to use AlayaLab/AlayaWorld-v1.1-stage2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AlayaLab/AlayaWorld-v1.1-stage2b 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("AlayaLab/AlayaWorld-v1.1-stage2b", 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
Add full-repo download command
Browse files
README.md
CHANGED
|
@@ -18,6 +18,12 @@ commercial use by entities with ≥ $10M annual revenue requires a license from
|
|
| 18 |
| `transformer.pt` | 26.2 GB | full fine-tuned DiT (stage2b, ViGeo spatial memory) |
|
| 19 |
| `history_encoder.pt` | 33 MB | compressed frame-history encoder |
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
**Usage** — point the inference/training configs of [AlayaLab/AlayaWorld](https://github.com/AlayaLab/AlayaWorld) at this checkpoint:
|
| 22 |
|
| 23 |
```yaml
|
|
|
|
| 18 |
| `transformer.pt` | 26.2 GB | full fine-tuned DiT (stage2b, ViGeo spatial memory) |
|
| 19 |
| `history_encoder.pt` | 33 MB | compressed frame-history encoder |
|
| 20 |
|
| 21 |
+
**Download**
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
hf download AlayaLab/AlayaWorld-v1.1-stage2b --local-dir weights/alaya-world-ar
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
**Usage** — point the inference/training configs of [AlayaLab/AlayaWorld](https://github.com/AlayaLab/AlayaWorld) at this checkpoint:
|
| 28 |
|
| 29 |
```yaml
|