--- id: spandrel-extra-arches version: "0.2.0" license: MIT license_treatment: permissive maintenance: dormant --- # spandrel-extra-arches — Implements extra model architectures for spandrel License: permissive · Maintenance: dormant · Downloads: 285.2K/mo ## What it is and what it does Spandrel-extra-arches is a companion library to spandrel that extends its model loader with support for additional PyTorch architectures. These architectures are bundled separately because they carry restrictive licenses—primarily non-commercial or copyleft terms—that differ from spandrel's own licensing. The package works by registering these architectures with spandrel's model loading system, allowing you to load and use models built on these architectures once the registration function is called. The library is designed for developers working with spandrel who need access to architectures beyond the main library's scope. It depends on torch, torchvision, numpy, einops, and typing-extensions. Installation is straightforward, but users must understand the license implications: private projects and non-commercial open-source work face no restrictions, while commercial or closed-source projects need to audit the individual architecture licenses before deployment. Use it for: - Load pre-trained models built on restricted-license architectures within spandrel's unified model loader interface. - Extend a non-commercial research or open-source project with additional model architecture support beyond spandrel's core. - Evaluate or prototype with model architectures that are not available in the main spandrel library. - Build a private tool or service that relies on specific restricted-license architectures registered via spandrel. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Registers additional PyTorch model architectures with spandrel's model loader, enabling support for architectures that carry restrictive (non-commercial or copyleft) licenses. Yes, if you are working on a private or non-commercial open-source project and need the specific architectures this library provides. No, if you are building a commercial or closed-source product without first auditing the individual architecture licenses. The dormant maintenance status (no updates in 697 days) is acceptable for a stable, narrow-purpose extension, but signals that new architectures or bug fixes are unlikely. ## Install pip install spandrel-extra-arches uv add spandrel-extra-arches poetry add spandrel-extra-arches ## Installing spandrel-extra-arches Before you install: Low friction installation as a pure Python wheel. Dormant maintenance status (last release 697 days ago) means no active development, though the package remains functional for its narrow purpose. License in practice: MIT-licensed wrapper, but the architectures it implements carry non-commercial and copyleft licenses. Commercial or closed-source projects must review individual architecture licenses before use; private and non-commercial open-source projects are unrestricted. Quickstart: pip install spandrel spandrel_extra_arches import spandrel import spandrel_extra_arches spandrel_extra_arches.install() model = spandrel.ModelLoader().load_from_file("path/to/model.pth") Requires spandrel to be installed first; torch and torchvision are runtime dependencies that must be available in your environment. Verify before relying: - Which specific architectures are included and their exact license restrictions (fact sheet references external documentation). - Whether the package works with recent PyTorch versions beyond those listed in classifiers. - Active maintenance status or plans for future updates given dormant status. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 285.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pytorch model architectures, spandrel extra architectures, model loader architectures, pytorch arch registry, restrictive license architectures, non-commercial model support, spandrel plugin architectures, pytorch-models, model-loading, license-restricted [View on SkillFed](https://skillfed.io/packages/spandrel-extra-arches) · [View on PyPI](https://pypi.org/project/spandrel-extra-arches/)