unisim.backend.genesis.dependencies

Lazy dependency boundary for the independent genesis backend.

The Genesis runtime (PyPI distribution genesis-world, import name genesis) is a heavy optional dependency (torch, quadrants) that must never be imported at package import time. It is pinned exactly to the release probed in scripts/tools/genesis_feasibility/REPORT.md (#1372) because the adapter relies on measured API behavior of that version.

Functions

genesis_dependencies_available()

Return availability without importing CUDA/torch runtime modules.

load_genesis_dependencies()

Import optional runtime modules only when a backend instance is built.

Classes

GenesisDependencies

Modules required by the production genesis implementation.

Exceptions

GenesisDependencyError

Raised with an actionable install command when the optional extra is absent.

exception unisim.backend.genesis.dependencies.GenesisDependencyError[source]

Bases: ImportError

Raised with an actionable install command when the optional extra is absent.

class unisim.backend.genesis.dependencies.GenesisDependencies[source]

Bases: object

Modules required by the production genesis implementation.

Parameters:
genesis: Any
torch: Any
mujoco: Any
__init__(genesis, torch, mujoco)
Parameters:
unisim.backend.genesis.dependencies.genesis_dependencies_available()[source]

Return availability without importing CUDA/torch runtime modules.

Return type:

bool

unisim.backend.genesis.dependencies.load_genesis_dependencies()[source]

Import optional runtime modules only when a backend instance is built.

Return type:

GenesisDependencies