Skip to content
Robotics

alpamini: A 3x Faster Version of NVIDIA's Alpamayo 2 Edge Autopilot

2 min read

alpamini is an optimized version of the nvidia/Alpamayo2-Edge autonomous driving model (~2.68B parameters) built by independent developer Rohit-R-Rao. The model takes input from 6 cameras, 22 frames of motion history, and a navigation command, and outputs a trajectory for the next 6.4 seconds along with a text rationale for its decision. Through visual encoder compression, past frame caching, and reasoning generation in a single pass (one-shot instead of step-by-step token generation), the model runs 2.8 to 3.3 times faster than the original on an RTX 5090 without quantization or TensorRT. It is ideal for autonomous driving researchers and driving simulator developers.

Key features

  • Up to 10.6–10.9 Hz acceleration: Decision-making time drops from 264–305 ms down to 92–94 ms in PyTorch bf16 format, while compute load decreases from 23.3 to 6.6 TFLOP.
  • Lightweight vision tower and caching: The vision encoder (27 blocks) features reduced layer widths and rank 64 adapters, retains only 25% of past frame tokens, and reuses features from previously processed frames.
  • One-shot reasoning generation: Instead of slow autoregressive text generation, the model fills 40 trainable slots in a single bidirectional pass using a LoRA (low-rank adaptation) with rank 128.
  • Original-level accuracy: Evaluated on held-out recordings and in the AlpaSim simulator, trajectories match the baseline model and show lower lateral deviation in several scenes.

What you can do

  • Run real-time autonomous driving simulations at 10 Hz in AlpaSim and similar research environments.
  • Research acceleration methods for VLA (Vision-Language-Action) models in robotics without losing control accuracy via pruning and one-shot decoding.
  • Test trajectory planning on the PhysicalAI-AV dataset using a single consumer-grade RTX 5090 graphics card.

Example

import alpamini

model = alpamini.load()  # загружает nvidia/Alpamayo2-Edge и веса alpamini
out = alpamini.predict(model, raw_sample)  # входной словарь формата alpamayo2_edge
out["xyz"]       # траектория (1, 64, 3) на 6,4 с при 10 Гц
out["cot_text"]  # текст рассуждений модели
Read moreDetails
Metrics (RTX 5090, bf16): latency 92–94 ms vs. 264–305 ms for original; GT FDE on 132 samples is 4.28 m vs. 4.60 m; average score across 9 AlpaSim scenes is 1.00 vs. 0.97.
Requirements: peak VRAM usage around 5.6 GiB, access to the base nvidia/Alpamayo2-Edge model, and the flash-attn==2.8.3 library.
Limitations: tested only offline and in simulation on the PhysicalAI-AV camera configuration, not meant for real roads; one-shot reasoning text may contain artifacts (this does not affect the trajectory itself).
Video examples
Discuss Telegram 1

Will it run?

Runs in BF16

Fits without quantisation.

  • BF16weights 1.6 GB · ready files2.2 GB
  • FP8 / INT8recommendedweights 0.8 GB1.4 GB
  • 4-bitweights 0.4 GB1.0 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2060 · BF16 — from RTX 2060

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # Rohit-R-Rao/alpamini
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download Rohit-R-Rao/alpamini --local-dir ~/models/alpamini
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to alpamini
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b41from November 25, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

  1. Cosmos3-Edgefamily root
  2. Alpamayo2-Edge
  3. alpamini

New posts about versions of Cosmos3-Edge (quants, finetunes, LoRAs) will show up under the bell.

Quantised versions 8All on Hugging Face
Fine-tunes 12All on Hugging Face
LoRAs and adapters 2All on Hugging Face

About the model

Rohit-R-Rao/alpamini
Author
Rohit-R-Rao
Category
Robotics
Released
Posted

On NeyroLearn

Hugging Face

01

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments