Skip to main content

rlmodule

Flexible reinforcement learning models instantiators library

Function approximators simple, but still strong. RNN - GRU - LSTM / SAC

Now it only supports skrl, but is intended to be library agnostic - in later expansion

try other algos shared separate model

How to run

Install rlmodule from local code

  • Make sure you are in base rlmodule dict.

  • Start virtual env.

python3 -m venv venv
source venv/bin/activate
  • Install library from local code
pip install -e .

Note: sometimes installation may fail, if there is a run/ dir present, you may need to remove it (TODO: fix)

rm -rf runs

Deep policies: LayerNorm and Residual MLPs

rlmodule supports per-layer LayerNorm on MlpCfg and a SimBa-style residual MLP (ResidualMlpCfg). These work for both separated and shared architectures, with independent per-head granularity via the new OutputLayerCfg.head field. See docs/layer_norm_and_residual.md for motivation, references, and copy-pasteable cfg snippets.

Run chosen example

python3 rlmodule/skrl/torch/examples/gymnasium/pendulum_ppo_mlp_separate_model.py

Optional: observe run results in Tensorboard

tensorboard --logdir=runs/

Update new version to PIP

Change version name in pyproject.toml

pip install build twine
rm -rf runs
python -m build
twine upload dist/*

Metadata

Release files for rlmodule 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rlmodule 0.2.1
File Size Uploaded Provenance Actions
rlmodule-0.2.1.tar.gz 86.4 kB With provenance Details for rlmodule-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rlmodule 0.2.1
File Interpreter ABI Platform Actions
rlmodule-0.2.1-py3-none-any.whl Python 3 none any Details for rlmodule-0.2.1-py3-none-any.whl

Total release size: 166.5 kB

Release files / rlmodule-0.2.1.tar.gz

Download URL rlmodule-0.2.1.tar.gz
Size 86.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c2c70d3dfeb11e282e02b21112bf1569c9fe95d40400d160e982420d279eab29
BLAKE2b-256 checksum
How to use checksums
0ba23d67964d61b1d8c8044df111c6bb4f5cd860d7258a763afa447f94fac337
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / rlmodule-0.2.1-py3-none-any.whl

Download URL rlmodule-0.2.1-py3-none-any.whl
Size 80.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74911a17ad8f85e3103ad253278f70c8474c2353dd68c52cd61d9cedf474d76f
BLAKE2b-256 checksum
How to use checksums
cac944126e87a3410e810ad2cf91ccc037b4e1282ffc8bf94d81ac5b636e1944
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for rlmodule 0.2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rlmodule-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page