unilab.algos.torch.hora.rsl_rl_compat¶
Compatibility helpers for HORA’s supported RSL-RL config schemas.
The HORA APPO code uses these helpers to normalize owner configs before constructing grouped actor/critic modules across supported RSL-RL releases.
Functions
Convert a legacy UniLab PPO/APPO config into the RSL-RL v4 schema. |
|
|
Convert a legacy UniLab PPO/APPO config into the RSL-RL v5 schema. |
Resolve the installed RSL-RL package version. |
|
Check whether the active RSL-RL runtime is version 4 or newer. |
|
Check whether the active RSL-RL runtime is version 5 or newer. |
- unilab.algos.torch.hora.rsl_rl_compat.get_rsl_rl_version()[source]¶
Resolve the installed RSL-RL package version.
- Parameters:
None.
- Return type:
- Returns:
Installed version string from either
rsl-rl-libor the legacyrsl-rlpackage name.
- unilab.algos.torch.hora.rsl_rl_compat.is_rsl_rl_v4()[source]¶
Check whether the active RSL-RL runtime is version 4 or newer.
- Parameters:
None.
- Return type:
- Returns:
Truewhen the installed package version is>= 4.0.0.
- unilab.algos.torch.hora.rsl_rl_compat.is_rsl_rl_v5()[source]¶
Check whether the active RSL-RL runtime is version 5 or newer.
- Parameters:
None.
- Return type:
- Returns:
Truewhen the installed package version is>= 5.0.0.
- unilab.algos.torch.hora.rsl_rl_compat.convert_config_v3_to_v4(cfg)[source]¶
Convert a legacy UniLab PPO/APPO config into the RSL-RL v4 schema.