Skip to main content

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.

Always the latest (tracks the current branch):

https://github.com/going-haywire/haybale-spandrel/blob/master/marketstall.toml

Frozen to this version:

https://github.com/going-haywire/haybale-spandrel/blob/v0.0.4/marketstall.toml

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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for haybale-spandrel 0.0.4
File Size Uploaded Provenance Actions
haybale_spandrel-0.0.4.tar.gz 35.2 kB With provenance Details for haybale_spandrel-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for haybale-spandrel 0.0.4
File Interpreter ABI Platform Actions
haybale_spandrel-0.0.4-py3-none-any.whl Python 3 none any Details for haybale_spandrel-0.0.4-py3-none-any.whl

Total release size: 89.3 kB

Release files / haybale_spandrel-0.0.4.tar.gz

Download URL haybale_spandrel-0.0.4.tar.gz
Size 35.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f722a4916b632bb923c5e16efddf04f237329c9fced7642bc346985eee9ed1a7
BLAKE2b-256 checksum
How to use checksums
743da9b6e734bcbd0374c3b4449266646ae64f3a48da3f5d1276c2ebde97bba6
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 22, 2026.

Transparency log

Release files / haybale_spandrel-0.0.4-py3-none-any.whl

Download URL haybale_spandrel-0.0.4-py3-none-any.whl
Size 54.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a97a191c6914210178771ae45b089ac72dcc542aa2a32ddb0cccd6bf323de6f2
BLAKE2b-256 checksum
How to use checksums
0329abdc3a84e28e99135c86f25aeee612383158388cf4fc9caa7ae7731fce26
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 22, 2026.

Transparency log

Security for haybale-spandrel 0.0.4

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.

Select from 2 files

Attestation for haybale_spandrel-0.0.4.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 22, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page