Alpamayo R1
Use this skill for Alpamayo R1 inference on PhysicalAI-AV clips: load one clip, build the multimodal prompt, run the model on CUDA, inspect reasoning traces, and compare predicted trajectories to ground truth.
When to use this skill
- The user wants to run Alpamayo R1 on a PhysicalAI-AV clip.
- The user asks how to load the dataset, build the chat template, or sample future trajectories.
- The user wants Chain-of-Causation text, minADE comparison, or notebook-style visualization.
- The user needs help with gated HF resources, CUDA setup, or flash-attn / SDPA fallback behavior.
Install and verify
Use a Python 3.12 CUDA environment with the package dependencies installed, then perform a minimal import check from outside the checkout:
python -m pip install -e <repo-checkout>
python -I -c "import alpamayo_r1, torch; print(alpamayo_r1.__name__); print(torch.cuda.is_available())"
If the editable install or import fails, open references/troubleshooting.md before changing the workflow.
Route map
sub-skills/inference/SKILL.md — the end-to-end driving inference workflow, including dataset loading, prompt creation, model sampling, output interpretation, and the bundled smoke script.
references/repo-provenance.md — source commit, version, and evidence paths used to build this skill.
references/repo-routing-metadata.json — structured router metadata consumed during repo-skill import.
references/troubleshooting.md — cross-cutting install/import/backend guidance.
Shared notes
- This repository exposes no public CLI entry point; use the Python API or the bundled smoke script from the inference sub-skill.
- The primary workflow is CUDA-first. Flash-attn is the default attention path, but the inference sub-skill documents the SDPA fallback for compatibility issues.
- Training, SFT, and RL post-training are out of scope for this skill.
Fastest path
- Read
sub-skills/inference/SKILL.md.
- Use
sub-skills/inference/scripts/run_inference_smoke.py for a runnable sample.
- If anything fails before the first clip loads, check
references/troubleshooting.md.
1---2name: "alpamayo-r1"3description: "Router for Alpamayo R1 multimodal driving inference and trajectory sampling."4metadata:5 source: https://skillmd.com/skills/vectorspacelab/alpamayo-r16 disco-role: operating7disable-model-invocation: true8license: Apache 2.09---1011# Alpamayo R11213Use this skill for Alpamayo R1 inference on PhysicalAI-AV clips: load one clip, build the multimodal prompt, run the model on CUDA, inspect reasoning traces, and compare predicted trajectories to ground truth.1415## When to use this skill1617- The user wants to run Alpamayo R1 on a PhysicalAI-AV clip.18- The user asks how to load the dataset, build the chat template, or sample future trajectories.19- The user wants Chain-of-Causation text, minADE comparison, or notebook-style visualization.20- The user needs help with gated HF resources, CUDA setup, or flash-attn / SDPA fallback behavior.2122## Install and verify2324Use a Python 3.12 CUDA environment with the package dependencies installed, then perform a minimal import check from outside the checkout:2526```bash27python -m pip install -e <repo-checkout>28python -I -c "import alpamayo_r1, torch; print(alpamayo_r1.__name__); print(torch.cuda.is_available())"29```3031If the editable install or import fails, open `references/troubleshooting.md` before changing the workflow.3233## Route map3435- `sub-skills/inference/SKILL.md` — the end-to-end driving inference workflow, including dataset loading, prompt creation, model sampling, output interpretation, and the bundled smoke script.36- `references/repo-provenance.md` — source commit, version, and evidence paths used to build this skill.37- `references/repo-routing-metadata.json` — structured router metadata consumed during repo-skill import.38- `references/troubleshooting.md` — cross-cutting install/import/backend guidance.3940## Shared notes4142- This repository exposes no public CLI entry point; use the Python API or the bundled smoke script from the inference sub-skill.43- The primary workflow is CUDA-first. Flash-attn is the default attention path, but the inference sub-skill documents the SDPA fallback for compatibility issues.44- Training, SFT, and RL post-training are out of scope for this skill.4546## Fastest path47481. Read `sub-skills/inference/SKILL.md`.492. Use `sub-skills/inference/scripts/run_inference_smoke.py` for a runnable sample.503. If anything fails before the first clip loads, check `references/troubleshooting.md`.