Skip to content

Can You Run a VLA on a Laptop Without a GPU? Memory Limits of CPU, Apple MPS, Free Colab and Quantization

Compare CPU-only, Apple Silicon MPS, free Colab GPUs, SmolVLA vs OpenVLA 7B and INT8/INT4 quantization with parameter × byte math, and see where inference ends.

Contents

Key takeaways

  1. Start with weight memory = parameters × bytes per value. SmolVLA (450M) is about 0.9 GB in BF16 and OpenVLA 7B about 14 GB; the OpenVLA paper’s Table 2 measures 16.8 GB in BF16 and 7.0 GB in INT4.
  2. On a laptop without a discrete GPU, the realistic target is SmolVLA inference. OpenVLA 7B only fits a 16 GB laptop in INT4, and memory bandwidth caps how fast it can emit tokens.
  3. Training is a different calculation. Adam-style fine-tuning needs about 16 bytes per trainable parameter, so SmolVLA’s default setup (action expert only) has a fixed cost near 3.0 GB while full OpenVLA training needs about 112 GB.
  4. Free Colab sessions run for at most 12 hours, and Google neither publishes nor guarantees GPU types or usage limits. Record the assigned GPU at session start and checkpoint often.

If you want to study vision-language-action (VLA) models or prototype with one on a laptop that has no NVIDIA GPU, the first question is not which model is best but which combinations fit in memory and where the hard limits are. This article puts CPU-only machines, Apple Silicon with MPS, free Colab GPUs, a small model (SmolVLA), a 7B model (OpenVLA) and quantization through the same formulas, and marks the boundary between inference and fine-tuning for each. Figures come from official model cards, papers and Google’s FAQ; anything derived from them is labeled as an estimate with its formula.

For a deep dive on SmolVLA training memory alone, see the SmolVLA fine-tuning VRAM calculation. For sizing onboard computers such as Jetson modules, see how to size VLA memory and bandwidth on-device. This piece covers the step before both: what a personal machine without a GPU can realistically do.

Four criteria for comparing GPU-less setups

Each environment is judged on the same four questions, in this order.

  1. Fit: do the weights and runtime tensors fit in RAM, unified memory or VRAM?
  2. Speed ceiling: does the bandwidth-limited generation rate exceed the target control rate?
  3. Trainability: do gradients and optimizer state fit as well?
  4. Persistence: are there session time limits, and are resources guaranteed?

Two models anchor the comparison. The LeRobot SmolVLA docs describe smolvla_base as a 450M model, and its model card rounds that to 0.5B and ships F32 and BF16 tensors. The OpenVLA paper describes a 7B model, while the Hugging Face model card lists BF16 tensors and shows the size as 8B params. The calculations below use the paper’s 7B figure and list the paper’s measured memory separately.

Five execution options side by side

OptionMemoryAccelerationSmolVLA inferenceOpenVLA 7B inferenceFine-tuning
CPU-only laptop (16 GB RAM assumed)System RAMNone (cpu)Fits at 0.9–1.8 GB; speed must be measuredComfortable only in INT4 (about 3.5 GB); slow token generationNot practical
Apple Silicon (MacBook Air M5, 16–32 GB)Unified CPU/GPU memory, 153 GB/sPyTorch mpsFitsBF16 at 14 GB leaves no headroom on 16 GB; needs 24 GB+ or quantizationSmolVLA default fixed cost of 3.0 GB fits; check operator support
Free Colab GPUDepends on the assigned GPU (unpublished, not guaranteed)cudaWorks when a GPU is assignedBF16 needs assigned memory V V of at least 16.8 GB; INT4 needs 7.0 GBSmolVLA with small batches; 12-hour cap
Small model (SmolVLA 450M)Any of the above—Reference model—Default trains only the action expert
Quantization (INT8, INT4)Weights at 1/2 or 1/4Backend support requiredLittle gain; the model is already smallINT4 measured at 7.0 GB with BF16-level successAn inference technique, not a substitute for full training

The Apple figures come from the MacBook Air technical specifications (M5, 16, 24 or 32 GB unified memory, 153 GB/s), and the OpenVLA measurements come from Table 2 of the OpenVLA paper. “Fits” in the table refers to memory only; speed is worked out in a later section.

Weight memory: filter with parameters × bytes first

Weight memory follows from a single formula.

Mweights=P×b M_{weights} = P \times b

Here P P is the parameter count and b b the bytes per value (FP32 4, BF16 2, INT8 1, INT4 0.5). Using 1 GB = 109 10^9 bytes:

ModelFP32BF16INT8INT4Paper measurement (Table 2)
SmolVLA 450M1.8 GB0.9 GB0.45 GB0.23 GB—
OpenVLA 7B28 GB14 GB7 GB3.5 GBBF16 16.8 GB · INT8 10.2 GB · INT4 7.0 GB

The gap between computed and measured values is runtime state (activations, KV cache) plus framework overhead. For OpenVLA, BF16 grows from a computed 14 GB to a measured 16.8 GB, and INT4 from 3.5 GB to 7.0 GB. Components that stay unquantized and the runtime tensors do not shrink, so INT4 never gets as small as the naive number. Plan a laptop around the measured figure, or the computed figure plus runtime headroom.

You also cannot hand the whole of your RAM to the model. Call the share used by the OS, browser, data loader and camera processing Msys M_{sys} ; the fit condition is Mmeasured≤Mtotal−Msys M_{measured} \le M_{total} - M_{sys} . On a 16 GB laptop with an assumed Msys M_{sys} of 4 GB, about 12 GB remains, so OpenVLA in BF16 (16.8 GB measured) does not fit while INT4 (7.0 GB measured) does. The 4 GB is an assumption; replace it with what Task Manager or Activity Monitor actually shows.

The snippet below reproduces the table and the fit check.

BYTES = {"fp32": 4, "bf16": 2, "int8": 1, "int4": 0.5}

def weight_gb(params, dtype):
    return params * BYTES[dtype] / 1e9

def fits(measured_gb, total_gb, sys_gb=4.0):
    return measured_gb <= total_gb - sys_gb

for name, p in [("smolvla", 450e6), ("openvla", 7e9)]:
    print(name, {d: round(weight_gb(p, d), 2) for d in BYTES})

# OpenVLA paper Table 2 measured values (GB)
for dtype, gb in [("bf16", 16.8), ("int8", 10.2), ("int4", 7.0)]:
    print("openvla", dtype, "fits 16GB laptop:", fits(gb, 16))

Speed ceiling: bandwidth divided by bytes read

Fitting in memory does not mean the model can drive a robot. For a model that emits one token at a time, assume each token reads the full weights once; the generation rate is then bounded as follows.

ftoken≤BWMweights,fcontrol≤ftokenntokens f_{token} \le \frac{BW}{M_{weights}}, \qquad f_{control} \le \frac{f_{token}}{n_{tokens}}

OpenVLA emits one token per action dimension, so a 7-dimensional action costs seven tokens per control step (OpenVLA paper). Plugging in the MacBook Air M5’s 153 GB/s gives these estimates.

PrecisionWeightsToken ceiling (estimate)Control-rate ceiling (estimate)
BF1614 GB153 ÷ 14 ≈ 10.9 per second10.9 ÷ 7 ≈ 1.6 Hz
INT43.5 GB153 ÷ 3.5 ≈ 43.7 per second43.7 ÷ 7 ≈ 6.2 Hz

These ceilings assume zero compute time, so real throughput is lower. For reference, the OpenVLA paper reports about 6 Hz in BF16 on a single RTX 4090, and 1.2 Hz for INT8 and 3 Hz for INT4 on an A5000. On a GPU-less laptop, OpenVLA 7B is realistically limited to inference that checks the pipeline works, not closed-loop control.

SmolVLA is built differently. The VLM encodes the observation once, then an action expert of roughly 100M parameters produces a 50-step action chunk by flow matching. In configuration_smolvla.py the defaults are num_steps 10, chunk_size 50 and n_action_steps 50. A rough BF16 estimate of bytes read per chunk: the VLM side, about 350M × 2 B = 0.7 GB, read once, plus the action expert, 100M × 2 B = 0.2 GB, read ten times, for about 2.7 GB in total. At 153 GB/s that caps chunk generation near 56 per second, but here compute is far more likely than bandwidth to be the bottleneck, so measure it. The pass criterion is simple: at 30 Hz, executing a full 50-step chunk takes 50/30≈1.67 50/30 \approx 1.67 s, and the next chunk must be ready within that window. The asynchronous inference stack in the SmolVLA paper is a way to stretch that budget.

To redo this calculation for a specific card or a Jetson module, enter the model, precision, control rate and chunk length in the VLA VRAM calculator to see inference memory and the rate ceiling.

Where inference stops and fine-tuning begins

Training adds gradients and optimizer state on top of the weights. Mixed-precision Adam needs about 16 bytes per trainable parameter, so the fixed cost is:

Mfixed≈Pfrozen×bw+Ptrain×16 M_{fixed} \approx P_{frozen} \times b_w + P_{train} \times 16
ScenarioCalculationFixed cost (estimate)GPU-less laptopFree Colab GPU
SmolVLA default (action expert only, frozen part FP32)350M × 4 B + 100M × 16 Babout 3.0 GBFits, but CPU training speed is the problemFeasible with small batches
SmolVLA full training450M × 16 Babout 7.2 GBNot practicalDepends on assigned GPU memory
OpenVLA LoRAAt least about 27 GB per README—Not possibleOnly if the assigned GPU has 27 GB or more
OpenVLA full training7B × 16 Babout 112 GBNot possibleNot possible (README recommends an 8×A100 node)

The LoRA and full-training figures come from the OpenVLA README, which says the LoRA example runs on a single A100 80 GB, works on any GPU with at least about 27 GB if you shrink the batch, and needs about 72 GB at batch size 16. Activation memory grows with batch size on top of these numbers, so the table is a lower bound. For training memory with batch size and gradient checkpointing included, use the VLA training VRAM calculator.

Put together, a GPU-less laptop is good for SmolVLA inference, inspecting datasets and short debug runs, while training belongs on Colab or a remote GPU. The LeRobot SmolVLA docs point to a training notebook on Colab for readers without a GPU.

Fitting a training run inside a free Colab session

The Colab FAQ states that free-tier notebooks run for at most 12 hours, that access to expensive resources such as GPUs is heavily restricted, that available GPU types vary over time, and that usage limits are not published. Idle runtimes are also shut down. Google can change any of this, so build the plan as measure, compute, save.

  1. Record the assigned GPU and its memory immediately after the session starts.
  2. Run a few dozen steps at batch sizes 1, 2 and 4, and note peak memory and the step rate r r in steps per second.
  3. Subtract one hour of safety margin from the 12-hour cap and compute the number of steps that fit: S=39600×r S = 39600 \times r .
  4. If your target exceeds S S , shorten the checkpoint interval and resume in the next session.
# 1) Check the assigned GPU
nvidia-smi --query-gpu=name,memory.total --format=csv

# 2) Short probe run (batch 2)
lerobot-train \
  --policy.path=lerobot/smolvla_base \
  --dataset.repo_id=${HF_USER}/mydataset \
  --batch_size=2 --steps=50 \
  --output_dir=outputs/probe_b2 \
  --policy.device=cuda

# 3) Main run with frequent checkpoints
lerobot-train \
  --policy.path=lerobot/smolvla_base \
  --dataset.repo_id=${HF_USER}/mydataset \
  --batch_size=8 --steps=20000 --save_freq=1000 \
  --output_dir=/content/drive/MyDrive/smolvla_run \
  --policy.device=cuda

As a reference point, the LeRobot docs say 20,000 steps at batch size 64 take about four hours on a single A100. Because the free Colab GPU is not guaranteed, do not transfer that duration directly; compute it from the r r you measured in step 2. Writing the output directory to Google Drive keeps checkpoints alive if the session drops. Option names can change between LeRobot releases, so confirm them with lerobot-train --help, and follow the MuJoCo and LeRobot install guide to get versions and extras right.

What to check before relying on MPS

According to the PyTorch MPS documentation, the mps device runs training and inference on Apple GPUs through Metal Performance Shaders and requires macOS 15.0 or later plus an MPS-enabled build. float64 is not supported. Select the device with a CPU fallback in place:

import torch

if torch.backends.mps.is_available():
    device = torch.device("mps")
elif torch.cuda.is_available():
    device = torch.device("cuda")
else:
    device = torch.device("cpu")
print("device:", device, "| mps built:", torch.backends.mps.is_built())

Unified memory is shared between CPU and GPU, so the fit condition from earlier applies unchanged on a 16 GB machine. PYTORCH_ENABLE_MPS_FALLBACK=1 routes unsupported operators to the CPU, which is convenient, but those operators then run at CPU speed, and your timing measurements should reflect that.

Choosing the first combination to try on your machine

  • 8–16 GB RAM, no GPU: load SmolVLA on cpu, time chunk generation, and send training to Colab. For OpenVLA 7B, only confirm that it loads, using the 7.0 GB INT4 measurement as the budget.
  • Apple Silicon with 16 GB: use mps for SmolVLA inference and short debug training; run OpenVLA in INT4 only to confirm it works. With 24 GB or more, OpenVLA in BF16 (16.8 GB measured) fits on paper, but the control-rate ceiling is about 1.6 Hz.
  • Free Colab GPU: check the assigned memory V V every session. With V≥16.8 V \ge 16.8 GB you can run OpenVLA BF16 inference; below that, focus on INT4 inference and SmolVLA fine-tuning. Drop OpenVLA LoRA from the plan unless V≥27 V \ge 27 GB.

If you have not chosen a model yet, compare sizes and licenses in the open-source robot policy model comparison, then run your chosen model’s numbers through the same formulas in the same order.

Common mistakes

  • Assuming all of the laptop’s RAM is available to the model — the OS, browser and data loader share the same memory.
  • Treating the free Colab GPU as a fixed model and hard-coding the batch size — the FAQ says available GPU types vary over time.
  • Assuming quantization never costs accuracy — in the OpenVLA paper INT4 matched BF16, but INT8 was both less accurate and slower.
  • Concluding that fine-tuning will work because inference does — gradients and optimizer state multiply the memory requirement.

Pre-flight checklist

  • You chose a parameter count and deployment precision (FP32, BF16, INT8, INT4) and computed weight memory
  • You checked how much RAM or unified memory is actually free after the OS and other apps
  • You computed a bandwidth-based ceiling on tokens or chunks per second and compared it with your target control rate
  • You logged the assigned GPU and its memory with nvidia-smi right after the Colab session started
  • If training cannot finish within 12 hours, you set a checkpoint interval and a resume command in advance

Frequently asked questions

Does a paid plan such as Colab Pro change this math?
The formulas stay the same; only the inputs change, namely the assigned GPU’s memory and the session length. The Colab FAQ says GPU types and limits can change on paid plans too, so plug in whatever nvidia-smi reports for each session.
Can I accelerate with the integrated GPU on a Windows laptop?
This comparison covers only the CPU, CUDA and MPS paths that PyTorch documents officially. Other acceleration backends differ in operator and model support between versions, so check the documentation of your PyTorch build before relying on one.
Is it fine to drive a real robot with SmolVLA on a CPU?
The SmolVLA paper says the model was designed to be deployable even on CPUs, but whether the control loop keeps up depends on the machine. Time how long one chunk takes and make sure it is shorter than the chunk’s execution time (chunk length ÷ control rate) before connecting hardware.

Sources & verification

  1. Google Colab — Frequently Asked Questions
  2. Hugging Face — lerobot/smolvla_base model card
  3. Hugging Face LeRobot Docs — SmolVLA
  4. Shukor et al., SmolVLA: A Vision-Language-Action Model for Affordable and Efficient Robotics (arXiv:2506.01844)
  5. Hugging Face — openvla/openvla-7b model card
  6. Kim et al., OpenVLA: An Open-Source Vision-Language-Action Model (arXiv:2406.09246)
  7. OpenVLA GitHub repository (README)
  8. PyTorch Docs — MPS backend
  9. Apple — MacBook Air technical specifications

Last verified: