Alpamayo R1 Inference
Use this sub-skill when the user wants to run, inspect, or adapt the Alpamayo R1 inference path on a PhysicalAI-AV clip.
What this covers
- Load a gated PhysicalAI-AV clip and egomotion history/future.
- Build the multimodal chat prompt from stacked camera frames.
- Load
nvidia/Alpamayo-R1-10Bon CUDA with the Alpamayo tokenizer and processor. - Sample future trajectories plus Chain-of-Causation text traces.
- Compare predicted trajectories with ground truth and visualize them in notebook style.
- Troubleshoot HF gating, CUDA OOM, flash-attn / SDPA fallback, device placement, prompt rank, and early
t0_usfailures.
What this does not cover
- Training, SFT, RL post-training, or repo maintenance.
- Import/export plumbing or package provenance.
- Any workflow that depends on the original checkout at runtime.
Fast route
- Read
references/api-reference.mdfor the public call contract. - Read
references/data-formats.mdfor shapes, frames, and output semantics. - Follow
references/workflows.mdfor the end-to-end inference flow and notebook-style visualization. - If anything fails, open
references/troubleshooting.md. - Run
scripts/run_inference_smoke.pyas the bundled smoke test.
Key defaults
- Default model id:
nvidia/Alpamayo-R1-10B - Default loader history / future / camera settings: 16 steps, 64 steps, 4 cameras
- Default attention path:
flash_attention_2 - SDPA is a fallback for flash-attn incompatibility, not a replacement for the CUDA path.
See also
../../SKILL.mdfor the root router../../references/repo-provenance.md../../references/repo-routing-metadata.json../../references/troubleshooting.mdfor shared Alpamayo R1 troubleshootingreferences/api-reference.mdreferences/data-formats.mdreferences/workflows.mdreferences/troubleshooting.mdscripts/run_inference_smoke.py