Repository navigation
v0.1.1 - MuJoCo 4.0 Support
MuJoCo 4.0 support. There are no new features and no change to the simulation code; on MuJoCo 3.15 and 3.16, task reports are byte-identical to 0.1.0. See CHANGELOG.md.
Install
pip install ufactory_mujoco-0.1.1-py3-none-any.whl # attached below; Python 3.12–3.14
ufactory-mujoco pick-place --robot xarm6 --headlessThe wheel accepts MuJoCo >=3.15,<5. A new environment gets MuJoCo 4.0.0; an environment that already has MuJoCo 3.15–3.17 keeps it.
Upgrading an existing environment from MuJoCo 3 to MuJoCo 4
MuJoCo 4 splits its Python package into mujoco-core, mujoco-studio and mujoco. Upgrading in place with pip install -U mujoco leaves a broken installation. Uninstall first:
pip uninstall -y mujoco && pip install "mujoco>=4,<5"If the environment is already broken, repair it with pip install --force-reinstall --no-deps mujoco mujoco-core mujoco-studio.
Changed
- The MuJoCo requirement is
>=3.15,<5(was>=3.15,<4). requirements-lock.txtpins MuJoCo 4.0.0;requirements-lock-mujoco3.txtholds the MuJoCo 3.16.0 set. CI tests both.- RL benchmarks come from policies retrained on MuJoCo 4.0.0 with the published recipes: reach 97.1–100 % on two 512-target groups per arm, pick-and-place 1000 of 1000 held-out episodes.
- Results on MuJoCo 4.0.0 differ numerically from 3.16.0 (scripted pick-and-place placement error by at most 1.0 mm). Exit codes and task outcomes are the same.
Fixed
provenance.jsonrecords the MuJoCo version when onlymujoco-coreis installed.- CI steps that pipe their output through
teenow fail when the command fails.
Trained RL policies are not included
Neither the repository nor this release contains trained weights; train them locally as described in examples/rl/. Checkpoints trained on MuJoCo 3 load and keep their success rates on MuJoCo 4.0.0, so retraining is not required.
Verified
- Full test suite on MuJoCo 4.0.0 (Python 3.12 / 3.13 / 3.14), 3.16.0 and 3.15.0; headless example smoke tests on 4.0.0 and 3.16.0.
- Wheel installation acceptance in clean environments on Python 3.12 / 3.13 / 3.14 (44 command checks each, MuJoCo 4.0.0), and in an environment with MuJoCo 3.17.0 already installed.