Skip to main content

uni-rl

Reinforcement learning algorithms and async runtimes extracted from UniLab, usable as a standalone package.

Distribution name: unilab-rl · import namespace: uni_rl · repository: unilabsim/unilab-rl

Naming note: the originally intended distribution name uni-rl is unregistrable on PyPI/TestPyPI because it ultranormalizes to the existing unirl project. The distribution is therefore published as unilab-rl; the import namespace remains uni_rl as designed.

Layout

  • uni_rl.algos.* — the algorithm layer: on-policy (rsl_rl PPO wrappers, him_ppo, hora teacher/distillation suite), async on-policy (appo), off-policy learners (fast_sac, fast_td3, flash_sac), and shared algorithm helpers (common)
  • uni_rl.ipc — runtime infrastructure: async runner, shared-memory rollout/replay buffers, replay pipelines, DP gradient sync, memory budget
  • uni_rl.offpolicy — the generic off-policy double-buffer runner scaffolding
  • uni_rl.logging — tensorboard/wandb training loggers, trace recorder
  • uni_rl.utils — device, seed, nan-guard, observation helpers
  • uni_rl.env_contract — the injected env factory/protocol contract

Contents

  • On-policy: PPO via rsl_rl (FinalObservationAwarePPO, RslRlVecEnvWrapper), HIM-PPO, HORA teacher-policy suite (incl. distillation trainer)
  • Async PPO (APPO): native collector/learner multiprocess implementation
  • Off-policy: FastSAC, FastTD3, FlashSAC with double-buffer async runners
  • Runtime infrastructure: uni_rl.ipc (async runner, shared-memory rollout/replay buffers, replay pipelines, DP gradient sync, memory budget), uni_rl.logging (tensorboard/wandb training loggers, trace recorder)

Installation

Currently published on TestPyPI only:

pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ unilab-rl

Design contract

uni_rl does not depend on any simulator or environment library. Algorithms consume a minimal vectorized-env contract (dict observations, reset() -> (obs, info), step() with final-observation semantics); environment construction is injected by the caller (see UniLab's training entrypoints for reference integrations).

License

Apache-2.0, same as UniLab.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unilab_rl-0.2.0.tar.gz (174.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unilab_rl-0.2.0-py3-none-any.whl (219.6 kB view details)

Uploaded Python 3

File details

Details for the file unilab_rl-0.2.0.tar.gz.

File metadata

  • Download URL: unilab_rl-0.2.0.tar.gz
  • Upload date:
  • Size: 174.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for unilab_rl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 35a7a9d2407b3e9ae1c4f3eb3e7d23f12b9f089f4699cb62433fccb5479600d6
MD5 04007f06687bb41ee95b9884098d61e3
BLAKE2b-256 bba584e9371e794e8bf6ffb50e5309526eb4469a493fba80b0f35e6b74c14fc4

See more details on using hashes here.

File details

Details for the file unilab_rl-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: unilab_rl-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 219.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for unilab_rl-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 158493e303a210235853e5a2443d898dd05038f74490a0a91594246e9dd7ef78
MD5 ce850a48a6391e29ae42db353360e350
BLAKE2b-256 648ce5f84672f485d441985be4d4fe6f81d72e88ee2456d7573b5f370d0bee8e

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.0

2 files

This release

0.2.0 This release

2 files

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