Running AV Reasoning Models Within Onboard Compute and Latency Limits NVIDIA released Alpamayo 2 Edge, a 2B-parameter adaptive reasoning vision-language-action model built on a Nemotron-based backbone and paired with a diffusion action expert, designed to run in real time on NVIDIA DRIVE AGX Thor onboard compute. NVIDIA reports that closed-loop reinforcement learning post-training in AlpaGym improved closed-loop driving performance by 48.9% over the best checkpoint without closed-loop RL, with speculative decoding via DFlash2 and TensorRT quantization recipes used to cut inference cost. The release targets AV developers who need reasoning-based driving models that fit onboard compute and latency budgets. Autonomous vehicle AV developers need reasoning models that can operate within the compute and latency constraints of an onboard system. Larger models provide a foundation for developing these capabilities, but moving them into a vehicle requires additional work to reduce model size, preserve useful reasoning, and validate performance on the target hardware. NVIDIA Alpamayo 2 Edge https://huggingface.co/nvidia/Alpamayo2-Edge addresses this need with an adaptive reasoning vision-language-action VLA model designed for real-time operation on NVIDIA DRIVE AGX Thor https://developer.nvidia.com/drive/agx/ . Built on the 2B Nemotron-based reasoning backbone of NVIDIA Cosmos 3 Edge https://www.nvidia.com/en-us/ai/cosmos/ and paired with a diffusion action expert, it leverages surround-camera observations, temporal context, and navigation inputs to generate Chain-of-Causation CoC reasoning and future driving trajectories. It reasons adaptively , generating reasoning only when needed, reducing unnecessary token generation and conserving inference compute during routine driving. Alpamayo 2 Edge is post-trained with closed-loop reinforcement learning RL in NVIDIA AlpaGym https://github.com/NVlabs/alpagym , improving closed-loop driving performance by 48.9% on top of the best-performing checkpoint without closed-loop RL. Together, these capabilities give developers a strong, edge-ready foundation for bringing reasoning-based driving into an onboard stack. Making a reasoning model compact enough for onboard deployment introduces a key challenge: preserving the quality of its reasoning and driving behavior as model size is reduced. This requires a way to measure reasoning quality and use that feedback to improve the model. NVIDIA AlpaJudge is the human-calibrated evaluation and reward model used in Alpamayo 2 Edge development to evaluate reasoning traces, select higher-value training data, and provide RL rewards. This post introduces Alpamayo 2 Edge, explains its inference optimization on DRIVE AGX Thor, and explores three ways to use AlpaJudge in AV development workflows: - Run AlpaJudge-RB and AlpaJudge-RF on a PhysicalAI-AV sample, inspect their scores, and adapt the evaluation to policy-generated reasoning - Select training examples that expose useful learning opportunities - Use human-aligned reasoning scores as rewards for post-training Together, these workflows connect an edge-oriented driving model with a repeatable process for measuring and improving it. Bring reasoning-based driving to the edge An onboard driving model must interpret a changing scene and produce a useful trajectory within the system’s inference budget. The key question is how much driving and reasoning capability a model retains under that constraint. To balance model capacity and efficiency, Alpamayo 2 Edge leverages multiple new features: - A 2B-parameter Nemotron-based reasoning backbone, sized for onboard inference - Adaptive reasoning, reducing unnecessary token generation and conserving inference compute during routine driving - Offline distillation, training with CoC reasoning autolabels generated by Alpamayo 2 Super - Closed-loop reinforcement learning post-training in AlpaGym https://github.com/NVlabs/alpagym , in which the model learns from the consequences of its actions end-to-end in simulation - Multi-resolution inputs to efficiently encode surround-view observations online - Speculative decoding with DFlash2 https://github.com/z-lab/dflash to accelerate online reasoning without sacrificing quality - Recipes for quantization and inference acceleration with NVIDIA TensorRT and NVIDIA TensorRT-Edge-LLM Figure 2, below, shows how these choices translate into capability, comparing Alpamayo 2 Edge with Qwen-Drive-1.0 across closed-loop driving, open-loop trajectory prediction, and scene understanding and reasoning. Early partner feedback also highlights Alpamayo 2 Edge’s driving performance and inference speed: “Within days of getting early access to Alpamayo 2 Edge, we had it running closed-loop in NuRec reconstructions of our own London street recordings. In our early simulation tests, Edge kept its lane in more than twice as many runs as Alpamayo 1.5, recovered from lane offsets about 40% more often, and out of the box planned roughly twice as fast as our hand-tuned Alpamayo 1.5 server on the same GPU.” — Metas Simonavicius, CTO, PORT “Alpamayo 2 Edge demonstrated impressive generalization capabilities, reducing displacement error minADE by 13.6% and lateral prediction error RMSE at 3 seconds by 46.1% compared to Alpamayo 2 Super in our zero-shot evaluation, despite substantial differences in sensor configurations. Fine-tuning on our own driving data delivered a further 44.2% reduction in displacement error compared to the Alpamayo 2 Edge baseline. Within just a few days, we went from receiving the model to running our first tests on a real vehicle.” — Luca Crotti, co-founder and motion planning lead, Niulinx “In less than 48 hours, we made NVIDIA’s Alpamayo 2 Edge run at 10 Hz on AGX Thor for real-time planning.”— Hans Salomonsson, CEO and co-founder, Embedl The Alpamayo 2 Edge repository’s inference script https://github.com/NVlabs/alpamayo2-edge/tree/main/src/alpamayo2 edge/inference.py shows how the model operates: It takes in surround-view camera observations over time, navigation text, and historical ego-motion to produce CoC reasoning traces and future trajectories. python import torch import transformers from alpamayo2 edge.checkpoint import load model from alpamayo2 edge.load physical aiavdataset import load physical aiavdataset from alpamayo2 edge.helper import prepare model inputs, to device from alpamayo2 edge.models.utils import fuse traj tokens data = load physical aiavdataset clip model, loading info = load model "nvidia/Alpamayo2-Edge" settings = dict seed=43, top p=0.98, top k=None, temperature=0.6, num traj sets=1, num traj samples=1, max generation length=256, diffusion kwargs={"inference step": 10}, prepared = prepare model inputs data, model.config, model.tokenizer prepared = to device prepared, device="cuda" """Seed text and diffusion sampling, then run the model on prepared inputs.""" torch.manual seed settings "seed" generator = torch.Generator device="cuda" .manual seed settings "seed" with torch.inference mode , torch.autocast device type=torch.device "cuda" .type, dtype=model.dtype, enabled=model.dtype = torch.float32, , : xyz, rot, , extra = model.sample trajectories from data prepared, num traj sets=settings "num traj sets" , num traj samples=settings "num traj samples" , top p=settings "top p" , top k=settings "top k" , temperature=settings "temperature" , max generation length=settings "max generation length" , diffusion kwargs={ settings "diffusion kwargs" , "generator": generator}, return extra=True, In particular, note that the model will now produce special