Spandrel
Licences
This library's own code is MIT. With the setting Non-commercial architectures on (it is off by default), it also runs code from spandrel_extra_arches, whose architectures are licensed for non-commercial use only. With the setting off, that code is installed but never imported.
| Architecture | Licence |
|---|---|
| AdaCode | CC BY-NC-SA 4.0 |
| CodeFormer | S-Lab License 1.0 |
| DDColor | Alibaba, academic and non-commercial use only |
| FeMaSR | CC BY-NC-SA 4.0 |
| M3SNet | Academic Public License |
| MAT | CC BY-NC 4.0 |
| MIRNet2 | Academic Public License |
| MPRNet | Academic Public License |
| Restormer | Academic Public License |
| SRFormer | CC BY-NC 4.0 |
The package's metadata says "MIT", which covers only its wrapper; each architecture's licence is in its __arch/LICENSE in the spandrel repository.
Model weights carry their own licence, whichever architecture runs them: check it on the model's page.
Subscribe URL not yet published — run haywire share --save after pushing this repo to a git remote.
Upscale and restore images with PyTorch models (spandrel)
Nodes
Image
- Inpaint — Fills the masked part of an image with a loaded inpainting model
- Upscale Image — Enlarges or restores an image with a loaded model
Models
- Load Spandrel Model — Loads a spandrel (PyTorch image) model onto the GPU or CPU, for Upscale Image or Inpaint
- Spandrel Model Info — Tells what a loaded spandrel model is: architecture, purpose, scale, device, precision
Macros
- Upscaler —
Types
- Image model — A loaded image-to-image model: upscaling and restoration
- Inpainting model — A loaded model that fills a masked part of an image
- Loaded model — A model loaded on a device, ready to run. Never saved with the graph.
Settings
- Spandrel — Device, precision and memory for models
Panels
- Spandrel — Device, precision and memory budget for spandrel models.
Metadata
Release files for haybale-spandrel 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| haybale_spandrel-0.0.1.tar.gz | 35.3 kB | With provenance | Details for haybale_spandrel-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| haybale_spandrel-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for haybale_spandrel-0.0.1-py3-none-any.whl |
Total release size: 89.7 kB
Release files / haybale_spandrel-0.0.1.tar.gz
| Download URL | haybale_spandrel-0.0.1.tar.gz |
|---|---|
| Size | 35.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a662d5a48e04b7356bc8b558307a7a8ed999e986b39f9b385b7aeb06357a8889
|
|
BLAKE2b-256 checksum How to use checksums |
8e8d35ff0b1467e2f6f9a1d7b1a21d657bfe9230bba2b4eac4de243148e47d2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / haybale_spandrel-0.0.1-py3-none-any.whl
| Download URL | haybale_spandrel-0.0.1-py3-none-any.whl |
|---|---|
| Size | 54.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cd4f03bca39eaf6fe80aecb4560459b1c7eba20c817c31f3161d626c3de4e68
|
|
BLAKE2b-256 checksum How to use checksums |
aef92cdd6b87d2758608c0580527e90ec267d0072263f98f6c00c3543a7279f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for haybale-spandrel 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for haybale_spandrel-0.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.