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-rlis unregistrable on PyPI/TestPyPI because it ultranormalizes to the existingunirlproject. The distribution is therefore published asunilab-rl; the import namespace remainsuni_rlas designed.
Layout
uni_rl.algos.*— the algorithm layer: on-policy (rsl_rlPPO wrappers,him_ppo,horateacher/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 budgetuni_rl.offpolicy— the generic off-policy double-buffer runner scaffoldinguni_rl.logging— tensorboard/wandb training loggers, trace recorderuni_rl.utils— device, seed, nan-guard, observation helpersuni_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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35a7a9d2407b3e9ae1c4f3eb3e7d23f12b9f089f4699cb62433fccb5479600d6
|
|
| MD5 |
04007f06687bb41ee95b9884098d61e3
|
|
| BLAKE2b-256 |
bba584e9371e794e8bf6ffb50e5309526eb4469a493fba80b0f35e6b74c14fc4
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
158493e303a210235853e5a2443d898dd05038f74490a0a91594246e9dd7ef78
|
|
| MD5 |
ce850a48a6391e29ae42db353360e350
|
|
| BLAKE2b-256 |
648ce5f84672f485d441985be4d4fe6f81d72e88ee2456d7573b5f370d0bee8e
|