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.3/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.3

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.3
File Size Uploaded Provenance Actions
haybale_spandrel-0.0.3.tar.gz 35.1 kB With provenance Details for haybale_spandrel-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 89.2 kB

Release files / haybale_spandrel-0.0.3.tar.gz

Download URL haybale_spandrel-0.0.3.tar.gz
Size 35.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1b04f247f5a840d41071cbb7dc60a3f5c564d724d1ac0332d7f3d062dbd8598a
BLAKE2b-256 checksum
How to use checksums
17f0c50877f1ba8ff043c59d87aa9aea848ac97d4014cf930b37a69c498cffea
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 15, 2026.

Transparency log

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

Download URL haybale_spandrel-0.0.3-py3-none-any.whl
Size 54.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f33a5bd51e9e116570b3e72396416b0efc23cb34ef3cd43bc582bf5eac73781
BLAKE2b-256 checksum
How to use checksums
3917ab18f8f27a6986e7c9307dc371be17c3b1232a4b58ef47205b2eccabd47a
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 15, 2026.

Transparency log

Security for haybale-spandrel 0.0.3

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.3.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 15, 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