Run this model with HF Jobs
Run Overworld/Waypoint-1-Small on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Overworld/Waypoint-1-Small. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Overworld/Waypoint-1-Small on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Overworld/Waypoint-1-Small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Overworld/Waypoint-1-Small with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Overworld/Waypoint-1-Small", 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
Update README.md
Browse files18 unmodified lines1920212223242526272818 unmodified lines# Usage:In order to simply use Waypoint-1-Small, we recommend [Biome](https://github.com/Overworldai/Biome) for local, or the [Overworld streaming client](https://www.overworld.stream/).To run the model locally, we recommend an NVIDIA RTX 5090, which should achieve 20-30 FPS, or an RTX 6000 Pro Blackwell, which should achieve ~35 FPS.# KeywordsTo properly explain limitations and misuse we must define some terms. While the model can be used for general interactive video generation tasks, we herein define interacting with the model via sending controls and receiving new frames as “playing” the model, and the agent/user inputting controls as the “player”. The model has two forms of output, continuations and generations. Continuations occur when seed frames are given and no inputs are given. For example, if a scene has fire or water, you may see them evolve progressively in the generated frames even if no action is given. Likewise, if you seed with an image of a humanoid entity, the entity will persist on the screen as you move/look around. However, generations occur when the player plays with the model extensively, for example moving around, turning around fully, or interacting with objects/items. Continuations roughly correspond to moving around already existing information in the given context frames while generations correspond to creating entirely new information.18 unmodified lines19202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411518 unmodified lines# Usage:In order to simply use Waypoint-1-Small, we recommend [Biome](https://github.com/Overworldai/Biome) for local, the [Overworld streaming client](https://www.overworld.stream/), or the Hugging Face hosted [Gradio Space](TODO).To run the model locally, we recommend an NVIDIA RTX 5090, which should achieve 20-30 FPS, or an RTX 6000 Pro Blackwell, which should achieve ~35 FPS.# Run with Diffusers Modular PipelinesWorld Engine and Waypoint-1 can be used with [Diffusers Modular Pipelines](https://huggingface.co/docs/diffusers/main/en/api/modular_pipelines/modular_pipeline).## Setup```bashuv venv -p 3.11 && uv pip install \torch>=2.9.0 \diffusers>=0.36.0 \transformers>=4.57.1 \einops>=0.8.0 \tensordict>=0.5.0 \regex \ftfy \imageio \imageio-ffmpeg \tqdm```## Usage Example```pythonimport randomimport torchfrom tqdm import tqdmfrom dataclasses import dataclass, fieldfrom typing import Set, Tuplefrom diffusers.modular_pipelines import ModularPipelinefrom diffusers.utils import load_image, export_to_video@dataclassclass CtrlInput:button: Set[int] = field(default_factory=set) # pressed button IDsmouse: Tuple[float, float] = (0.0, 0.0) # (x, y) velocity# Generate random control trajectoriesctrl = lambda: random.choice([CtrlInput(button={48, 42}, mouse=[0.4, 0.3]),CtrlInput(mouse=[0.1, 0.2]),CtrlInput(button={95, 32, 105}),])model_id = "Overworld/Waypoint-1-Small"pipe = ModularPipeline.from_pretrained(model_id, trust_remote_code=True)pipe.load_components(device_map="cuda", torch_dtype=torch.bfloat16, trust_remote_code=True)pipe.transformer.apply_inference_patches()# Optional Quantization Step# Available options are: nvfp4 (if running on Blackwell hardware), fp8, w8a8# pipe.transformer.quantize("nvfp4")pipe.transformer.compile(fullgraph=True, mode="max-autotune", dynamic=False)pipe.vae.bake_weight_norm()pipe.vae.compile(fullgraph=True, mode="max-autotune")prompt = "A fun game"image = load_image("https://gist.github.com/user-attachments/assets/4adc5a3d-6980-4d1e-b6e8-9033cdf61c66")num_frames = 240outputs = []# create world state based on an initial imagestate = pipe(prompt=prompt, image=image, button=ctrl().button, mouse=ctrl().mouse)outputs.append(state.values["images"])state.values["image"] = Nonefor _ in tqdm(range(1, num_frames)):state = pipe(state,prompt=prompt,button=ctrl().button,mouse=ctrl().mouse,output_type="pil",)outputs.append(state.values["images"])export_to_video(outputs, "waypoint-1-small.mp4", fps=60)```# KeywordsTo properly explain limitations and misuse we must define some terms. While the model can be used for general interactive video generation tasks, we herein define interacting with the model via sending controls and receiving new frames as “playing” the model, and the agent/user inputting controls as the “player”. The model has two forms of output, continuations and generations. Continuations occur when seed frames are given and no inputs are given. For example, if a scene has fire or water, you may see them evolve progressively in the generated frames even if no action is given. Likewise, if you seed with an image of a humanoid entity, the entity will persist on the screen as you move/look around. However, generations occur when the player plays with the model extensively, for example moving around, turning around fully, or interacting with objects/items. Continuations roughly correspond to moving around already existing information in the given context frames while generations correspond to creating entirely new information.
README.md+88-1