miniverse-sdk
pip install miniverse-sdk installs two things: the miniverse Python package,
which logs training runs, and the native miniverse executable, which serves
them locally and pushes them to miniverse.bot. It replaces the 0.8 and earlier
miniverse-sdk releases, whose miniverse_sdk package uploaded to the
removed cloud APIs.
import miniverse
run = miniverse.init("runs/walk-7", base="walker.mini", name="Walk 7")
for step in range(10_000):
loss, reward = train_one_step()
run.log({"train/loss": loss, "train/reward": reward}, step=step)
if step % 1000 == 0:
torch.onnx.export(policy, example, "exports/policy.onnx")
run.checkpoint(step, {"policy": "exports/policy.onnx"})
run.finish()
miniverse serve runs
miniverse.init(run_dir, base, *, name, description, rank, push)writesrun.json, copies the base.minitobase.mini, and opens a new metric file for this process. Resuming a run requires the same base bytes.run.log(metrics, step=)writes each value as a Rerun Scalar atmetrics/<name>on thesteptimeline. A later value at the same step replaces the earlier one.run.checkpoint(step, models, label=)copies one ONNX file per base model ID intocheckpoints/step-<step>/and publishes the marker last.run.finish()flushes the metric file.with miniverse.init(...) as run:calls it for you, and so does interpreter exit.
Under torchrun, every rank calls the same code. Each rank writes its own
metrics/rank<N>-attempt<K>.rrd; only rank 0 writes run metadata and
checkpoints. The rank comes from RANK, or pass rank=.
push=True also mirrors the run to miniverse.bot while it trains, by running
miniverse push --watch and one final miniverse push at finish. Set
MINIVERSE_TOKEN to a personal access token for the first push.
miniverse.onnx.embed_contract(model, contract, output) embeds the v0.3
simulation contract in an exported model. It needs pip install 'miniverse-sdk[onnx]'.
The files are plain JSON, ZIP, ONNX, and Rerun 0.42 RRD. Jobs that already log
with rerun-sdk can write the same layout without this package; run
miniverse agent-help run-directory for the contract.
Building
Build @dollhouse/miniverse and @dollhouse/miniverse-training-ui first,
because the executable embeds them, then build platform wheels with maturin.
Each wheel holds the Python package and that platform's executable. The wheel
workflow builds Linux x86_64/aarch64 for musl and glibc, macOS x86_64/arm64,
and Windows x86_64 and uploads CI artifacts only. Nothing publishes to PyPI
automatically. The package version comes from Cargo and must be above 0.8.0
before the first upload.
Metadata
Release files for miniverse-sdk 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 158.7 MB
Release files / miniverse_sdk-0.9.1-py3-none-win_amd64.whl
| Download URL | miniverse_sdk-0.9.1-py3-none-win_amd64.whl |
|---|---|
| Size | 22.8 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e89e9cb4ea98ccf2b106f83d6579e79a6068993460a1d24d5e74d7542293f2f3
|
|
BLAKE2b-256 checksum How to use checksums |
a41c61c03e8b074f3d4f2c518bc2b77b92a34a4cd6e753f4d948475929005534
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / miniverse_sdk-0.9.1-py3-none-musllinux_1_2_x86_64.whl
| Download URL | miniverse_sdk-0.9.1-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 22.9 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
27274ba758e3c052f04e758bb52906fd687c5172fb916cc6f5fb92ac49f3a89f
|
|
BLAKE2b-256 checksum How to use checksums |
50eb53c556a91562d9de7338ab2f976341e8d7a955e6bbf84e2c95ea9587f2e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / miniverse_sdk-0.9.1-py3-none-musllinux_1_2_aarch64.whl
| Download URL | miniverse_sdk-0.9.1-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 22.6 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
e313345d509b9748f759a3ab7ed03278ea31e969c4ca58664a45797831313805
|
|
BLAKE2b-256 checksum How to use checksums |
4cec53699f071dbef2a713829424ce16a8be24713678d2483d14f0cc6e11f75b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / miniverse_sdk-0.9.1-py3-none-manylinux_2_28_x86_64.whl
| Download URL | miniverse_sdk-0.9.1-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 22.9 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
b0cf9ae68d3a60290de70fb034cd840869b9f5b037dbdf706d967984becf4f7a
|
|
BLAKE2b-256 checksum How to use checksums |
dd20649ca980f3787e6eba6b2074886c4146444c086752f2e9d3d872edec3e27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / miniverse_sdk-0.9.1-py3-none-manylinux_2_28_aarch64.whl
| Download URL | miniverse_sdk-0.9.1-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 22.6 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
f78ad2e112cae7f576eb8ff5616c5a266d37e68693ab67020aef7d5acd4fff50
|
|
BLAKE2b-256 checksum How to use checksums |
961ca4a415eceb425b02f87d1469e8fdd0ea1d609dd9e54641db6ae753a03d22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / miniverse_sdk-0.9.1-py3-none-macosx_11_0_arm64.whl
| Download URL | miniverse_sdk-0.9.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 22.4 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bba65923dbb477fcee83d6e8fc08005bebd976010a487d1c2df731a175cc2db5
|
|
BLAKE2b-256 checksum How to use checksums |
3bbe5948a002e16a108ecb7738c362c47a4c161420e8ea7f8eab2e90cc1b393e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / miniverse_sdk-0.9.1-py3-none-macosx_10_12_x86_64.whl
| Download URL | miniverse_sdk-0.9.1-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 22.5 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
531339d3ee91ea25f12889e2d353456e0fb59786818f575de1d7939e64352924
|
|
BLAKE2b-256 checksum How to use checksums |
cd579b76deb5bee9a920401aebaae2f42aa6ce3475a2892bf1018ba8ef0a92a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for miniverse-sdk 0.9.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.