Tool Open source
mjbatch is a Python library for running thousands of MuJoCo physics simulations in parallel on CPUs. It uses a C++ thread pool with the Python GIL released, provides live array access to simulation states and controls across a batch through bindings to MjData fields, and supports per-simulation model parameters with expansion of MjModel fields and recomputation of derived constants. The library includes examples for reinforcement learning, model-predictive control, system identification, and hardware co-design, including robot controllers, predictive-sampling control, parameter fitting, and joint optimization of robot properties and controls. It is distributed under the Apache-2.0 license.
1 use taken from transcripts — each links to the moment in the video.
Lets Python run batches of MuJoCo physics simulations across CPU cores, with access to simulation states, control updates, parameter variation, and examples for robot learning and control.
1 in the library.