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.”
| Week | Goal | Deliverable | Pass mark | Compute |
|---|---|---|---|---|
| 1 | MuJoCo model/data structure | One hand-written MJCF + a simulation loop | You can explain what changes when you edit mass or friction | CPU |
| 2 | Working with a real robot model | Script that loads the Menagerie Panda and prints joint info | Prints nq, nv, nu and joint names; reads the hand position at a keyframe | CPU |
| 3 | Frames and inverse kinematics | Jacobian IK script | At least 8 of 10 random targets reached within 5 mm | CPU |
| 4 | Scripted demonstrator | Rule-based box pick-and-place | At least 16 of 20 successes; only successful episodes saved | CPU |
| 5 | LeRobot datasets and ACT | 30 simulated demos + an ACT checkpoint | Simulated evaluation logged with a failure-type table | GPU |
| 6 | Benchmark evaluation pipeline | LIBERO evaluation log | A single-suite evaluation of a public checkpoint runs to completion | GPU, Linux |
| 7 | VLA fine-tuning | SmolVLA checkpoint + training curve | Before/after success rate on the same suite | GPU, Linux |
| 8 | Standard-protocol evaluation | A one-page evaluation report | 4 suites × 10 episodes per task, seeds and revision recorded | GPU, 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.
| Job | Documented duration | Source |
|---|---|---|
| ACT training, default 100k steps | About 1 hour on an Nvidia A100 | LeRobot Imitation Learning in Sim |
Fine-tuning smolvla_base (450M), 20k steps | About 4 hours on a single A100 | LeRobot SmolVLA docs |
Downloading the lerobot/libero dataset | 1.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:
MjModelis the immutable model — geometry, masses, joint ranges — built withMjModel.from_xml_pathorfrom_xml_string.MjData(model)holds the state that changes over time:qpos,qvel,ctrl,xpos.mujoco.mj_step(model, data)integrates one step;mj_forwardrecomputes 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:
- Use the week-3 IK to move to a point 10 cm above the box.
- Descend to box height and close the gripper via
ctrl. - Lift, carry to the goal position, and open the gripper.
- Record a success if the box ends within 2 cm of the goal.
- 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:
| Suite | CLI name | Tasks |
|---|---|---|
| LIBERO-Spatial | libero_spatial | 10 |
| LIBERO-Object | libero_object | 10 |
| LIBERO-Goal | libero_goal | 10 |
| LIBERO-90 | libero_90 | 90 |
| LIBERO-Long | libero_10 | 10 |
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
| Topic | Verdict | Why |
|---|---|---|
| Reinforcement learning (PPO, SAC, …) | Safe to skip | Weeks 5–8 are pure imitation learning; LeRobot’s RL methods (HIL-SERL etc.) are a separate track |
| ROS 2 | Defer until real hardware | Every step in these eight weeks runs from Python scripts and the LeRobot CLI |
| Week 3 frames and Jacobians | Do not skip | LIBERO actions are end-effector deltas, so this underpins reading the action space |
| Week 4 failure taxonomy | Do not skip | It is how you separate data problems from control problems in a learned policy |
| Week 6 public-checkpoint evaluation | Do not skip | It 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.