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
Return availability without importing CUDA/torch runtime modules. |
|
Import optional runtime modules only when a backend instance is built. |
Classes
Modules required by the production |
Exceptions
Raised with an actionable install command when the optional extra is absent. |
- exception unisim.backend.genesis.dependencies.GenesisDependencyError[source]¶
Bases:
ImportErrorRaised with an actionable install command when the optional extra is absent.
- class unisim.backend.genesis.dependencies.GenesisDependencies[source]¶
Bases:
objectModules required by the production
genesisimplementation.
- unisim.backend.genesis.dependencies.genesis_dependencies_available()[source]¶
Return availability without importing CUDA/torch runtime modules.
- Return type: