Repository navigation
Alloy 0.1.2
Alloy 0.1.2: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.
Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):
pip install alloy-engine==0.1.2
Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.
Notes:
0.1.2 follows 0.1.0.post1 on PyPI. There was no public 0.1.1, so these notes cover everything since 0.1.0.
- Camera environments with
vary=Trueon a fresh install (texture images not downloaded) now draw a varied look in a mid-tone of its texture family (a brown floor, honey wood, mid-grey plastic), with one warning namingpython -m alloy.looks --fetch-textures. Before, such a look fell back to its white placeholder colour, so the floor drew pure white. - The fast camera behind Gym camera observations reads a look's base colour as sRGB and converts it to linear, as the full-quality camera does. Before, varied looks were drawn too bright. A policy trained on 0.1.0's camera images sees different colours: retrain it.
PickCube-v0's rsl_rl recipe takes an entropy term of 0.003 (it had none), and the documented training command runs 1,000 iterations (it ran 500). Results vary between runs on a GPU, so watch the success rate the trainer prints.python -m alloyruns the command line and prints its help when given no arguments.- A build that finds no NVIDIA GPU and holds cloth, liquid, sand or paste, or soft bodies logs one line: such scenes run many times slower than real time on the CPU, and
alloy.estimatepredicts the wall time.device="cpu"keeps the line quiet; rigid and robot scenes get none. alloy.__version__reads the installed package's version (0.1.0.post1 reported 0.1.0) and never raises.alloy.compose: a scene that leaves out an object it was asked for fails the call (okfalse), and when the Hub library is out of reach the fix namespip install "alloy-engine[import]".python -m alloy.looks --fetch-textureswithout theimportextra prints one error namingpip install "alloy-engine[import]", not a traceback.- The camera kernels compile without the compiler's integer-constant warnings on the first render; images are unchanged.
- Documentation: every page's "Limits" section is now "Keep in mind". New pages: "What ships" (the ready-made environments, the robots with their source licences and the object libraries), a FAQ, how-to pages and comparison pages. The docs take the corrections from outside testers' review of the website: the README and the PyPI description say Python 3.11 or 3.12, with a
uvline for systems whose Python is older, and give the range of worlds a robot arm runs at as the docs measure it. The README describes the MCP server:alloy mcpserves the engine as Model Context Protocol tools over stdio. Internal team and work-item names are gone from the known-limit pages, other text and data notes. - Packaging:
pip install alloy-engineis the only install path (there is no install script, and this Release carries notes only). The package metadata links this repository and its issue tracker, has PyPI keywords and classifiers, andllms.txtships in the package besideAGENTS.md. The repository hasCITATION.cff(how to cite Alloy) andcontext7.json.
What was tested:
- 0.1.2 is 0.1.1's release candidate plus the changes above. That candidate passed 12 release test runs on an NVIDIA L4 GPU, every public docs page's code run from the installed package on that GPU, and
python -m alloy.docsfrom the installed package. - 0.1.2's own changes were tested on an L4 GPU and on a CPU: the CPU test suites and the GPU camera tests pass, the camera's images are byte-identical to before the kernel change,
import alloytakes as long as before, and the no-GPU line appears only where it should. The documentation changes were checked by the docs tests and a review of the comparison pages. - The release build of this exact commit: every release scanner (now also failing on internal team names in text and data), the wheel check, and the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke).
Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These fixes, earlier said to come in 0.1.1, are not in 0.1.2 and are still planned:
- Sand and paste (MPM) after
sim.reset()do not repeat a fresh build bit for bit on the CPU (up to 0.47 mm after 0.3 s). - A
sim.drivethat ends by its duration moves one physics substep past its end (in one sand check, a hold force about 3 % high). - A sealed liquid column drains (an internal solver option; no public API reaches it).
- Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only;
sim.check()stays ok); a warning sized to the parts is planned. - Robot files whose contacts are deliberately soft (for example the ANYmal C feet in MuJoCo Menagerie) rest more than 1 cm deep and read INVALID; a public option to relax that check is planned.
- Two GPU cloth regression tests are red (a drape test whose reference was not updated after a precision fix, and a speed bar missed by 0.4 %); the documented cloth numbers are unchanged.
The files on PyPI (sha256):
5dc66c5f454ddf95e02f3c31d93e3d82abdb0d8eede02bc74f93f45d14a733c2 alloy_engine-0.1.2-py3-none-any.whl
80468434ba6cd93159a9f74e5ece8b30baeafc0682a566e74cca9d016d1f92d4 alloy_engine-0.1.2.tar.gz