You don't need a GPU to learn robot RL. Here's the CPU-only recipe that reproduced SAC on MuJoCo.
Every number in this post comes from runs we executed ourselves; the logs and the plotting script are public and linked at the end.
If you're learning reinforcement learning for robotics in 2026, you've probably internalized a rule that isn't true: that you need a GPU before you can run anything real. Image-based RL, yes. Fine-tuning a VLA policy, absolutely. But the classic continuous-control benchmarks — the MuJoCo tasks every SAC/TD3/PPO paper reports — run happily on a laptop CPU, and running them yourself teaches you things no tutorial video will.
We just reproduced Soft Actor-Critic on three MuJoCo environments entirely on CPU: no GPU, no cluster, one Python file. Here's the full recipe, what it costs in wall-clock time, and the one trap that almost made us report wrong numbers.
Why CPU is enough for MuJoCo
Two reasons, and knowing them helps you budget any experiment:
- The physics already runs on CPU. MuJoCo's simulation steps are CPU work. Your GPU sits idle during
env.step()no matter what hardware you own. - The networks are tiny. The standard setup is two 256×256 MLPs for the critic and one for the policy. That's a few hundred thousand parameters — a modern CPU crunches a gradient step on that in milliseconds.
The workload is sequential (collect step → update), with small tensors. That's the CPU's home turf. GPUs win when you can batch thousands of large tensor ops; classic MuJoCo RL doesn't offer that.
The recipe
Here is the exact setup that reproduced SAC (Haarnoja et al., 2018) on HalfCheetah-v4, Hopper-v4, and Walker2d-v4:
Install (CPU wheels only):
pip install torch --index-url https://download.pytorch.org/whl/cpu pip install gymnasium[mujoco] Algorithm, at the level that matters for reproduction:
- Off-policy SAC: twin Q-networks, squashed Gaussian policy, learned temperature with
target_entropy = -dim(A) - Polyak-averaged target networks,
tau = 0.005 - One gradient step per environment step, after 5,000 warm-up steps
- Replay buffer 1M transitions; batch 256
Evaluation protocol (this part tutorials skip, and it's where people fool themselves):
- Evaluate every 20,000 environment steps
- 10 episodes, deterministic policy (mean action, no sampling noise)
- Log per-eval-point returns to a CSV — not just the final number
- Fix seeds for the environment, the replay sampler, and torch, with a fixed thread count
The CSV matters more than you think. You'll see why in the trap section.
What it costs in wall-clock time
Measured on a 16-core CPU, 8 threads, no GPU:
| env | steps | wall clock |
|---|---|---|
| HalfCheetah-v4 | 1M | 109 minutes |
| Pendulum-v1 | 100k | a few minutes |
So a full 1M-step HalfCheetah run fits in a lunch break. Compare that to the perception-based tasks people assume are the entry point: a single image-based RL run can eat GPU-days. For learning the algorithmic side — exploration, off-policy learning, entropy tuning — MuJoCo on CPU is the highest insight-per-hour deal in robotics RL.
The trap: seed variance is bigger than your improvement
This is the lesson we paid for, and almost nobody warns beginners about it.
We ran HalfCheetah with the same code, same hyperparameters, same machine — three times, changing only the seed:
| seed | return @ 1M |
|---|---|
| 0 | 9,180 |
| 1 | 7,522 |
| 2 | 9,644 |
The best seed returned 28% more than the worst one. If we had run only seed 1 and then "improved" the algorithm in a way that landed at 8,000, we would have celebrated a 6% gain that was actually a worse-than-average draw. This is why per-seed learning curves and multi-seed averages are non-negotiable in RL papers — and why our evaluation protocol logs every eval point to CSV instead of trusting the final number.
One more data point from the same project: on Pendulum-v1, doubling the updates (two gradient steps per environment step instead of one) moved the score from −167 to −111 — a real gain. Should you always run two steps then? Maybe, maybe not: it doubles compute, and effects like this are task-dependent. The point is where we could afford to discover it — a task that trains in minutes, not a two-hour benchmark run. Cheap tasks are for hyperparameter search; expensive tasks are for confirming what the search found.
What a sensible learning path looks like
Based on what actually worked for us:
- Start: Pendulum-v1, 100k steps, minutes per run. Tune hyperparameters here, where each experiment costs coffee, not days.
- Core: HalfCheetah/Hopper/Walker2d at 1M steps. ~2 hours each. Reproduce a paper's numbers, not just train an agent — the comparison table is where the real learning is.
- Discipline: always multiple seeds, always curves, never trust a single run. The 28% spread above is your budget for self-deception.
- Only then: GPU territory. Pixel-based RL, vectorized envs at scale, fine-tuning foundation policies. By the time you get here, you'll know what the numbers mean.
The code and the receipts
The full single-file SAC implementation, the plotting script, and the raw eval.csv logs from every run in this post are MIT-licensed on GitLab: gitlab.com/quilldatafix/sac-mujoco-repro. If you want the same package with logs, curves and checkpoints pre-computed, it's $1 on our store — the price exists to collect first reviews, not to gate the repository.
Which run should we do next — TD3 on Walker2d, or the same SAC sweep on Ant-v4? Tell us in the comments; the result (including any failure) becomes a follow-up post.

