Skip to content

How to Learn Physical AI Without a Robot: An 8-Week MuJoCo → LeRobot → SmolVLA Roadmap with Weekly Pass Criteria

An 8-week, robot-free path from MuJoCo basics to LeRobot ACT training, LIBERO evaluation and SmolVLA fine-tuning, with weekly deliverables, pass criteria and GPU needs.

Contents

Key takeaways

  1. The eight weeks run MuJoCo structure (weeks 1–2) → Jacobian IK (3) → scripted demonstrator (4) → LeRobot ACT (5) → LIBERO evaluation (6) → SmolVLA fine-tuning (7) → standard-protocol evaluation (8); each week’s output feeds the next.
  2. Weeks 1–4 run on a CPU. A GPU becomes necessary at week 5: per the LeRobot docs, the default 100k-step ACT run takes about 1 hour on an A100, and a 20k-step smolvla_base fine-tune about 4 hours on one A100.
  3. LIBERO installs only on Linux, so macOS and Windows users should line up a Linux server or Colab before week 6.
  4. Every week has a numeric pass mark, e.g. week 3 = at least 8 of 10 random targets reached within 5 mm; week 8 = 4 LIBERO suites × 10 episodes per task (400 episodes).
  5. Reinforcement learning and ROS 2 can wait, but skipping week 3 (frames and Jacobians) or week 5 (dataset key conventions) resurfaces in week 7 as VLA failures that are hard to diagnose.

Developers who want to study physical AI before buying a robot arm usually stall on the first question: where do I start? This post lays out an eight-week sequence that begins in MuJoCo, moves through LeRobot imitation learning and the LIBERO benchmark, and ends with SmolVLA fine-tuning — and it gives each week a numeric pass mark so you know when you are ready to move on. By the end you should be able to tell how far your current machine can take you and at which week you need to rent a GPU.

If installation is where you are stuck, build the environment first with the MuJoCo and LeRobot version guide. As of October 31, 2026, the latest mujoco on PyPI is 3.17.0 (Python 3.10+), and LeRobot is at 0.6.1 (Python 3.12+).

The eight weeks at a glance: deliverables and pass marks

The pass criteria in this table are self-check thresholds proposed by this post, not figures from official documentation. The point is to define each week’s output as a script you can re-run and a number you can write down, not as “I understand it now.”

WeekGoalDeliverablePass markCompute
1MuJoCo model/data structureOne hand-written MJCF + a simulation loopYou can explain what changes when you edit mass or frictionCPU
2Working with a real robot modelScript that loads the Menagerie Panda and prints joint infoPrints nq, nv, nu and joint names; reads the hand position at a keyframeCPU
3Frames and inverse kinematicsJacobian IK scriptAt least 8 of 10 random targets reached within 5 mmCPU
4Scripted demonstratorRule-based box pick-and-placeAt least 16 of 20 successes; only successful episodes savedCPU
5LeRobot datasets and ACT30 simulated demos + an ACT checkpointSimulated evaluation logged with a failure-type tableGPU
6Benchmark evaluation pipelineLIBERO evaluation logA single-suite evaluation of a public checkpoint runs to completionGPU, Linux
7VLA fine-tuningSmolVLA checkpoint + training curveBefore/after success rate on the same suiteGPU, Linux
8Standard-protocol evaluationA one-page evaluation report4 suites × 10 episodes per task, seeds and revision recordedGPU, Linux

The ordering follows prerequisites. According to the LeRobot LIBERO docs, the 7-dimensional action a VLA emits there is a “6D end-effector delta + 1D gripper.” If you have never worked with end-effector coordinates and Jacobians (week 3), it is hard to reason about which frame that delta lives in. If you have never generated demonstrations yourself (week 4), the observation.state and action columns in a week-5 dataset are just opaque arrays.

What you need: the CPU-only stretch and where a GPU starts

Weeks 1–4 use nothing but MuJoCo, so a laptop CPU is enough. Here is where a GPU enters, with the training times the documentation states.

JobDocumented durationSource
ACT training, default 100k stepsAbout 1 hour on an Nvidia A100LeRobot Imitation Learning in Sim
Fine-tuning smolvla_base (450M), 20k stepsAbout 4 hours on a single A100LeRobot SmolVLA docs
Downloading the lerobot/libero dataset1.9 GB (MP4 variant)LeRobot LIBERO docs

If you run week 7 exactly as the LIBERO docs’ example (--steps=100000 --batch_size=64), scaling the documented 4 hours per 20k steps linearly gives roughly 20 A100-hours (estimate). That assumes the same batch size, the same GPU, and a constant time per step; on a smaller card you will need a smaller batch and a different step budget. To size GPU memory, follow the breakdown in SmolVLA fine-tuning VRAM requirements, or plug the parameter count and precision into the VLA VRAM calculator.

The other hard constraint is the operating system. The LIBERO docs state that the extra installs only where sys_platform == 'linux', so macOS and Windows users should arrange a Linux box — a cloud GPU instance works — before week 6. The SmolVLA docs also link a Colab notebook for readers without a local GPU.

Weeks 1–2: MjModel, MjData and mj_step

The MuJoCo Python docs cover the one-line pip install mujoco install and point to the python/tutorial.ipynb notebook. Spend week 1 working through that notebook with three ideas kept strictly apart:

  1. MjModel is the immutable model — geometry, masses, joint ranges — built with MjModel.from_xml_path or from_xml_string.
  2. MjData(model) holds the state that changes over time: qpos, qvel, ctrl, xpos.
  3. mujoco.mj_step(model, data) integrates one step; mj_forward recomputes derived quantities from positions and velocities without advancing time.

In week 2, move to a real robot model from MuJoCo Menagerie. Menagerie organizes arms by directory — franka_emika_panda, universal_robots_ur5e, robotstudio_so101, trs_so_arm100 and more — and each model’s README lists its minimum MuJoCo version (the Panda needs 2.3.3 or later).

git clone --depth 1 https://github.com/google-deepmind/mujoco_menagerie.git
python -m mujoco.viewer --mjcf=mujoco_menagerie/franka_emika_panda/scene.xml
import mujoco

m = mujoco.MjModel.from_xml_path("mujoco_menagerie/franka_emika_panda/scene.xml")
d = mujoco.MjData(m)
print("nq, nv, nu:", m.nq, m.nv, m.nu)
print([m.joint(i).name for i in range(m.njnt)])

mujoco.mj_resetDataKeyframe(m, d, m.key("home").id)  # "home" keyframe from panda.xml
mujoco.mj_forward(m, d)
print("hand position:", d.xpos[m.body("hand").id])

The Panda model has seven arm joints (joint1–joint7) plus two finger joints, so nq is 9, while its actuators — seven for the arm, one for the gripper — give nu = 8. Noticing now that qpos and ctrl have different lengths makes it obvious later why a dataset’s state and action vectors differ in size. On macOS, scripts that call mujoco.viewer.launch_passive must be launched with mjpython rather than python, as the docs note.

Week 3: Sending the hand to a target with Jacobian IK

Week 3 is about getting comfortable moving between joint space and task space. MuJoCo computes the Jacobian of a point on a body via mujoco.mj_jac(m, d, jacp, jacr, point, body), which makes a damped-least-squares IK solver a dozen lines long.

import numpy as np
import mujoco

m = mujoco.MjModel.from_xml_path("mujoco_menagerie/franka_emika_panda/scene.xml")
d = mujoco.MjData(m)
ee = m.body("hand").id
rng = np.random.default_rng(0)
success = 0

for trial in range(10):
    mujoco.mj_resetDataKeyframe(m, d, m.key("home").id)
    mujoco.mj_forward(m, d)
    target = np.array([0.5, 0.0, 0.4]) + rng.uniform([-0.15, -0.2, -0.1], [0.15, 0.2, 0.1])
    jacp = np.zeros((3, m.nv))
    for _ in range(300):
        err = target - d.xpos[ee]
        if np.linalg.norm(err) < 0.005:          # 5 mm
            break
        mujoco.mj_jac(m, d, jacp, None, d.xpos[ee], ee)
        J = jacp[:, :7]                           # arm joints only
        dq = J.T @ np.linalg.solve(J @ J.T + 1e-4 * np.eye(3), err)
        d.qpos[:7] = np.clip(d.qpos[:7] + 0.5 * dq, m.jnt_range[:7, 0], m.jnt_range[:7, 1])
        mujoco.mj_forward(m, d)
    success += np.linalg.norm(target - d.xpos[ee]) < 0.005

print(f"reached {success}/10")

The pass mark is reached ≥ 8. Once you hit it, deliberately break things: push the target outside the workspace (say x = 1.2 m) or set the damping term 1e-4 to zero, and make sure you can explain why the solver stops converging or the joints start to jump. The script only matches position; stacking jacr, the rotational Jacobian, into a 6-row system to control wrist orientation is the natural follow-up exercise.

Week 4: A scripted demonstrator that generates pick-and-place data

In simulation you can read an object’s exact pose from d.xpos, so a rule-based policy can act as the demonstrator with no human teleoperation. Add a box with a <freejoint/> to the week-2 scene and implement these phases as a state machine:

  1. Use the week-3 IK to move to a point 10 cm above the box.
  2. Descend to box height and close the gripper via ctrl.
  3. Lift, carry to the goal position, and open the gripper.
  4. Record a success if the box ends within 2 cm of the goal.
  5. Randomize the box’s initial position, repeat 20 times, and keep observations and actions from successful episodes only.

The pass mark is at least 16 successes out of 20. The real deliverable, though, is a log that classifies the failures — slipping, approach angle, gripper timing. Having that taxonomy ready means you can read a learned policy’s failures in weeks 5–8 through the same lens.

Week 5: Training ACT on data in LeRobot’s dataset format

Week 5 is where LeRobot comes in. According to the LeRobot README, LeRobotDataset stores video as MP4 (or images) and state/action data as Parquet. The shortest path is the gym_hil environment from the Imitation Learning in Sim tutorial: a MuJoCo-based Panda cube-picking task you teleoperate with a keyboard or gamepad, recorded straight into LeRobotDataset format. As of October 31, 2026, that page exists only in the main-branch docs, not the v0.6.1 stable docs, so if a command fails, first check whether you installed LeRobot from source (main).

pip install -e ".[hilserl]"          # from the LeRobot repo root
# env_config.json: "task": "PandaPickCubeKeyboard-v0", "num_episodes_to_record": 30
python -m lerobot.rl.gym_manipulator --config_path env_config_gym_hil_il.json

lerobot-train \
  --dataset.repo_id=${HF_USER}/il_gym \
  --policy.type=act \
  --output_dir=outputs/train/il_sim_test \
  --job_name=il_sim_test \
  --policy.device=cuda

Without an NVIDIA GPU, the docs say to set "device" in the config to "mps" (macOS) or "cpu". You can record on a CPU machine and move only the training step to a GPU host. How demo count should drive your policy choice is covered in choosing ACT, Diffusion Policy or SmolVLA by demo count. To pass, run the trained policy through the evaluation script (lerobot.rl.eval_policy) and fill in the same failure table you built in week 4.

Week 6: Validating the LIBERO evaluation pipeline with a public checkpoint

Week 6 tests the evaluation tooling, not your own model. The LeRobot LIBERO docs describe five suites totaling 130 tasks:

SuiteCLI nameTasks
LIBERO-Spatiallibero_spatial10
LIBERO-Objectlibero_object10
LIBERO-Goallibero_goal10
LIBERO-90libero_9090
LIBERO-Longlibero_1010
pip install -e ".[libero]"
export MUJOCO_GL=egl   # headless server

lerobot-eval \
  --policy.path=lerobot/pi0_libero_finetuned \
  --env.type=libero \
  --env.task=libero_object \
  --eval.n_episodes=10

That checkpoint name comes from the evaluation example in the LeRobot README. The policy consumes an 8-dimensional observation.state and two cameras (observation.images.image, observation.images.image2) and emits a 7-dimensional action. The docs warn that checkpoints differ in --env.control_mode (relative by default, or absolute), so match it to the policy. You pass when a single-suite run finishes without errors and logs a success rate. If the number looks implausibly low, suspect control_mode, camera keys and the rendering backend before you suspect the model.

Week 7: Fine-tuning SmolVLA on LIBERO data

The SmolVLA paper says the model is designed to be trained on a single GPU and deployed on consumer-grade GPUs or even CPUs. Week 7 starts from the training example in the LIBERO docs:

pip install -e ".[smolvla]"

lerobot-train \
  --policy.type=smolvla \
  --policy.load_vlm_weights=true \
  --policy.push_to_hub=false \
  --dataset.repo_id=lerobot/libero \
  --dataset.video_backend=torchcodec \
  --output_dir=./outputs/libero_smolvla \
  --steps=100000 \
  --batch_size=64

On a tight GPU budget, cut --steps to 20000 first, confirm the loss curve and checkpoint saving look sane, and evaluate on the same libero_object suite you used in week 6. For fine-tuning on your own data, the SmolVLA docs recommend about 50 episodes of a task as a starting point and report that a 25-episode dataset was not enough. Generating 50 episodes with your week-4 demonstrator and fine-tuning smolvla_base (450M) via --policy.path=lerobot/smolvla_base is the stretch goal for this week.

Week 8: An evaluation report you can actually compare

The final week follows the reproducibility protocol the LIBERO docs recommend: the four standard suites (Spatial, Object, Goal, Long), 10 episodes per task for 400 episodes in total, averaged over three seeds.

lerobot-eval \
  --policy.path=./outputs/libero_smolvla/checkpoints/last/pretrained_model \
  --env.type=libero \
  --env.task=libero_spatial,libero_object,libero_goal,libero_10 \
  --eval.batch_size=1 \
  --eval.n_episodes=10 \
  --env.max_parallel_tasks=1 \
  --seed=1000

Besides success rates, the report should record the dataset --dataset.revision (commit SHA), training steps, batch size, control_mode, seeds and whether hard or soft resets were used. The docs point out that Hub datasets can be re-uploaded, so results are only comparable at the same revision. For context, the Pi0.5 average of 97.5 reported on the same page came from additional fine-tuning on 8 H100s with batch size 256 — do not place it side by side with a short single-GPU SmolVLA run as if the two were equivalent.

What you can skip, and what you cannot

TopicVerdictWhy
Reinforcement learning (PPO, SAC, …)Safe to skipWeeks 5–8 are pure imitation learning; LeRobot’s RL methods (HIL-SERL etc.) are a separate track
ROS 2Defer until real hardwareEvery step in these eight weeks runs from Python scripts and the LeRobot CLI
Week 3 frames and JacobiansDo not skipLIBERO actions are end-effector deltas, so this underpins reading the action space
Week 4 failure taxonomyDo not skipIt is how you separate data problems from control problems in a learned policy
Week 6 public-checkpoint evaluationDo not skipIt isolates tooling errors from problems in your own model

Three checks before you move from simulation to a real arm

Once the week-8 report exists, check three things before buying hardware. First, does your week-4 failure taxonomy still describe the learned policy’s failures? Second, when you re-evaluate the same checkpoint with only the seed changed, do results reproduce within a few points? Third, do you already know the arguments a real-robot run needs — port, cameras, task sentence — as in the lerobot-rollout command from the SmolVLA docs? The hardware stage continues in collecting SO-101 data and training an ACT policy with LeRobot, and narrowing the simulation-to-reality gap is covered in why the sim-to-real gap appears and how to shrink it.

Common mistakes

  • Jumping straight to SmolVLA without MuJoCo fundamentals, then being unable to tell whether a low success rate comes from the data, the action space or the model.
  • Evaluating a LIBERO checkpoint with a control_mode (relative/absolute) different from the one it was trained with, which drags the success rate down.
  • Comparing a 3–5 episode run directly against published benchmark numbers — the documented protocol is 10 episodes per task averaged over 3 seeds.
  • Storing camera streams under keys that do not follow observation.images.*, so training runs but the policy’s input features never match.

Pre-flight checklist

  • Your virtual environment reports Python 3.12+ and prints both the mujoco and lerobot versions.
  • The week-3 IK script converges within 5 mm on at least 8 of 10 random targets.
  • The week-4 scripted demonstrator saves only successful episodes and discards failures.
  • Before week 6 you have a Linux machine (local or cloud) with MUJOCO_GL=egl set.
  • The week-8 report records the dataset revision, seeds, episode count and control_mode.

Frequently asked questions

How many hours per week does this assume?
The plan is sized for roughly 8–10 hours of study per week. GPU training time (about an hour for ACT, several hours for SmolVLA) is mostly waiting, so reading next week’s docs while a job runs shortens the schedule. With half that time, stretch each stage to two weeks and run it as a 16-week plan.
Can I start with Isaac Lab or Genesis instead of MuJoCo?
You can, but weeks 5–8 here assume LeRobot’s gym-hil and LIBERO, both of which are MuJoCo-based. If large-scale parallel RL is your goal, Isaac Lab fits better; the trade-offs are covered in the physics simulator comparison.
Should I buy a real robot right after week 8?
A low-cost arm that LeRobot supports, such as the SO-101, reuses the same lerobot-train and lerobot-rollout workflow. Real hardware adds camera noise, friction and control latency, though, so do not assume simulation success rates will carry over unchanged.

Sources & verification

  1. MuJoCo Documentation — Python Bindings
  2. PyPI — mujoco (3.17.0, Requires-Python ≥3.10)
  3. Google DeepMind — MuJoCo Menagerie README
  4. Hugging Face — LeRobot GitHub README
  5. LeRobot Docs (main) — Imitation Learning in Sim
  6. LeRobot Docs — LIBERO
  7. LeRobot Docs — SmolVLA
  8. Shukor et al., SmolVLA: A Vision-Language-Action Model for Affordable and Efficient Robotics (arXiv:2506.01844)

Last verified: