SPB Git

Repository Public Research preview

__init__.py 410 B 8 lines python

1"""Model adapters. PyTorch toy models are imported lazily so that the MLX backend can be used on hosts2without torch (e.g. MLX-only cluster nodes)."""3try:  # pragma: no cover - optional dependency4    from wp_ai_0001.models.hooks import HookManager, Intervention  # noqa: F4015    from wp_ai_0001.models.toy_transformer import ToyTransformer  # noqa: F4016except ModuleNotFoundError:  # torch absent7    pass8
Files main
Menu

Theme