Alpamayo 2 Edge (2B) โ€” MLX 4-bit Quantized (Q4)

Mixed-precision 4-bit (group_size=64) Apple Silicon MLX port of nvidia/Alpamayo2-Edge (2B-parameter reasoning Vision-Language-Action model built on NVIDIA Cosmos 3 Edge + 512-wide Diffusion Action Expert), powered by MLX-VLA.

Precision & Memory Profile

  • 28-layer Cosmos 3 Edge LLM + 28-layer Action Expert: 4-bit affine (group_size=64)
  • SigLIP2 27-layer Vision Tower + 2ร—2 Patch Merger: bfloat16
  • Continuous Action Encoders/Decoders (action_in_proj, action_out_proj): bfloat16
  • Checkpoint Size: 2.20 GB
  • Apple Silicon Metal RAM: 2.20 GB active / 3.25 GB peak
  • 100% Pure MLX Runtime: Zero PyTorch / Torchvision dependency at inference time; zero-copy unified-memory KV cache handoff from VLM reasoner directly into the 10-step Euler Flow-Matching Action Expert.

All Alpamayo MLX Checkpoints

Model Precision Size Active RAM Notes
Safman/Alpamayo2-Edge-MLX-bf16 BF16 5.30 GB 5.30 GB Reference full precision
Safman/Alpamayo2-Edge-MLX-q8 Q8 (LLM+Expert), BF16 Vision 3.28 GB 3.28 GB Virtually lossless vs BF16
Safman/Alpamayo2-Edge-MLX-q6 Q6 (LLM+Expert), BF16 Vision 2.74 GB 2.74 GB Balanced size / accuracy
Safman/Alpamayo2-Edge-MLX-q4 Q4 (LLM+Expert), BF16 Vision 2.20 GB 2.20 GB Smallest / fastest; up to 1.87โ€“2.5 Hz w/ CoreML ANE
Safman/Alpamayo-1.5-Mac-MLX-4bit 10B (4-bit VLM + Expert) 10.36 GB ~7.0 GB Alpamayo 1.5 (10B) Mac port (vlm/ + expert/)
Safman/Alpamayo-1.5-Mac-DFlash BF16 Draft Head 0.94 GB ~0.94 GB Speculative DFlash draft model for Alpamayo 1.5

Quick Start

1. Install mlx-vla

pip install "git+https://github.com/SMJD11/mlx-vla.git"

2. Driving Chain-of-Causation + 64-Waypoint Trajectory Prediction

import numpy as np
from mlx_vlm import load

model, processor = load("Safman/Alpamayo2-Edge-MLX-q4")

# sample keys: image_frames (N, 3, H, W uint8), camera_indices (N,),
# absolute_timestamps (N,), ego_history_xyz (1, 1, 20, 3), ego_history_rot (1, 1, 20, 3, 3)
inputs = model.prepare_driving_inputs(sample, processor, nav_text="Turn right in 30m")
pred_xyz, pred_rot, _, extra = model.sample_trajectories(
    inputs,
    tokenizer=processor.tokenizer,
    num_traj_sets=1,
    num_traj_samples=1,
    reasoning_mode="adaptive",  # or "nominal" for zero-thought fast streaming
    temperature=0.6,
    diffusion_steps=10,
    seed=42,
)
print("Reasoning:", extra["cot"][0, 0, 0])
print("Trajectory XYZ (64x3):", pred_xyz[0, 0, 0].shape)

3. Freeform Driving VQA

from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template

model, processor = load("Safman/Alpamayo2-Edge-MLX-q4")
prompt = apply_chat_template(processor, model.config, "What hazards are visible ahead?", num_images=1)
result = generate(model, processor, prompt, image=["front_camera.jpg"], max_tokens=128)
print(result.text)

License

Model weights remain subject to the NVIDIA OpenMDW-1.1 license from nvidia/Alpamayo2-Edge. Code in SMJD11/mlx-vla is MIT-licensed (built on mlx-vlm).

Downloads last month
-
Safetensors
Model size
3B params
Tensor type
BF16
ยท
U32
ยท
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Safman/Alpamayo2-Edge-MLX-q4

Quantized
(3)
this model