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

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.2
File Size Uploaded Provenance Actions
haybale_spandrel-0.0.2.tar.gz 35.3 kB With provenance Details for haybale_spandrel-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 89.7 kB

Release files / haybale_spandrel-0.0.2.tar.gz

Download URL haybale_spandrel-0.0.2.tar.gz
Size 35.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d62e06a6a24b908183dd777a0682ce974541566490d1038c06ee24617a27c12a
BLAKE2b-256 checksum
How to use checksums
371d39a52f72c432800be9c8b2a8633c7270e86ed745edad8a7228c1d6e341d8
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 8, 2026.

Transparency log

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

Download URL haybale_spandrel-0.0.2-py3-none-any.whl
Size 54.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
429d73fa133a9025220e40030fb8c741d23bcff6b9717e659db3c7118a3a843a
BLAKE2b-256 checksum
How to use checksums
0858633809c935f0ec59bd11deecbb678d67cc3600794577333f471734cba9b0
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 8, 2026.

Transparency log

Security for haybale-spandrel 0.0.2

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.2.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 8, 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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files Full provenance

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