unilab.algos.torch.hora.sac

HORA-owned SAC entry helpers.

Functions

resolve_hora_sac_runtime(rl_cfg)

Resolve HORA-SAC hooks from an explicit owner-config runtime marker.

Classes

HoraSACRuntime

Resolved HORA-SAC hooks consumed by the generic off-policy script.

class unilab.algos.torch.hora.sac.HoraSACRuntime[source]

Bases: OffPolicyRuntime

Resolved HORA-SAC hooks consumed by the generic off-policy script.

Parameters:
learner_cls

alias of HoraSACLearner

algo_type: str | None = 'hora_sac'
supports_symmetry: bool = False
actor_cfg: dict[str, Any]
build_model_kwargs(*, obs_dim, critic_obs_dim)[source]

Build shared learner/collector actor kwargs for the HORA-SAC actor.

Parameters:
  • obs_dim (int)

  • critic_obs_dim (int)

Return type:

dict[str, Any]

__init__(learner_cls=<class 'unilab.algos.torch.hora.sac_learner.HoraSACLearner'>, algo_type='hora_sac', actor_kwargs=<factory>, supports_symmetry=False, actor_cfg=<factory>)
Parameters:
unilab.algos.torch.hora.sac.resolve_hora_sac_runtime(rl_cfg)[source]

Resolve HORA-SAC hooks from an explicit owner-config runtime marker.

Parameters:

rl_cfg (dict[str, Any])

Return type:

HoraSACRuntime | None