Instructions to use AlayaLab/AlayaWorld with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AlayaLab/AlayaWorld 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", torch_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
Adding information to Model Card
#1
by suvadityamuk - opened
Hello! My name is Suva, from π€
Congratulations on your release, we're very happy to see it! As a part of helping first-time users get onboarded with using the model, we highly recommend model authors to include information around how to run setup and get started with running inference, in the Model Card itself. A great example model card accordingly would be the Gemma 4 Model Card or the NVIDIA Cosmos 3 Model Card.
Would really appreciate it if your team can make the necessary changes. Please let us know if you need any help, thank you very much! Once again, congrats and looking forward to future releases π
suvadityamuk changed discussion status to closed
suvadityamuk changed discussion status to open