NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3914 most downloaded on PyPI
Give your project support for a variety of PyTorch model architectures, including auto-detecting model architecture from just .pth files. spandrel gives you arch support.
Last release 7 months ago
21 Feb 2026
Ships unpredictably
gaps range from 8 days to 13 months
Nearly every release is documented
notes for 24 of 25 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
25 releases · first in 2023
Support bfloat16 in DAT and HAT by @KurtBoehm in https://github.com/chaiNNer-org/spandrel/pull/319
bfloat16 in DAT and HAT by @KurtBoehm in https://github.com/chaiNNer-org/spandrel/pull/319Full Changelog: https://github.com/chaiNNer-org/spandrel/compare/v0.4.1...v0.4.2
bfloat16 in DAT and HAT by @KurtBoehm in #319Full Changelog: v0.4.1...v0.4.2
One column per month.
Add RealPLKSR LayerNorm by @the-database in #313
Full Changelog: v0.4.0...v0.4.1
spandrel v0.4.0 / spandrel-extra-arches v0.2.0
lk_type parameter by @RunDevelopment in #264arch directories to __arch by @RunDevelopment in #283Full Changelog: v0.3.4...v0.4.0
Optimize call api by only calling .eval if in training mode by @joeyballentine in #261
Full Changelog: v0.3.3...v0.3.4
Make architecture fields Final by @RunDevelopment in #254
architecture fields Final by @RunDevelopment in #254Full Changelog: v0.3.2...v0.3.3
This is the release for spandrel==0.3.2 .
This is the release for spandrel==0.3.2.
.pt files by @RunDevelopment in #215Full Changelog: v0.3.1...v0.3.2
This is the release for both spandrel==0.3.1 and spandrel_extra_arches==0.1.1 .
This is the release for both spandrel==0.3.1 and spandrel_extra_arches==0.1.1.
Full Changelog: v0.3.0...v0.3.1
This is the release for both spandrel==0.3.0 and spandrel_extra_arches==0.1.0 .
This is the release for both spandrel==0.3.0 and spandrel_extra_arches==0.1.0.
spandrel, including architecture code, is now licensed under permissive licenses. Architectures with restrictive licenses have been moved to the new spandrel_extra_arches package.UpCunet2x_Fast for Real-CUGAN by @RunDevelopment in #188.safetensors by @RunDevelopment in #157ArchRegistry iterable by @RunDevelopment in #174Full Changelog: v0.2.2...v0.3.0
Allow device strings in to again by @RunDevelopment in #139
to again by @RunDevelopment in #139Full Changelog: v0.2.1...v0.2.2
Pad images to size requirements in call API by @RunDevelopment in #137
Full Changelog: v0.2.0...v0.2.1
Breaking: Rename GRLIR to GRL by @RunDevelopment in https://github.com/chaiNNer-org/spandrel/pull/120
minimum and multiple_of in SizeRequirements by @RunDevelopment in https://github.com/chaiNNer-org/spandrel/pull/124model.to signature in line with PyTorch module.to by @RunDevelopment in https://github.com/chaiNNer-org/spandrel/pull/133to by @RunDevelopment in https://github.com/chaiNNer-org/spandrel/pull/135dtype, cpu, and cuda to model API by @RunDevelopment in https://github.com/chaiNNer-org/spandrel/pull/132Full Changelog: https://github.com/chaiNNer-org/spandrel/compare/v0.1.8...v0.2.0
Allow strings for Torch devices, like Torch does by @akx in https://github.com/chaiNNer-org/spandrel/pull/112
device property for models by @RunDevelopment in https://github.com/chaiNNer-org/spandrel/pull/114torch.load calls by @akx in https://github.com/chaiNNer-org/spandrel/pull/109sys.path hacks by @akx in https://github.com/chaiNNer-org/spandrel/pull/106Full Changelog: https://github.com/chaiNNer-org/spandrel/compare/v0.1.7...v0.1.8
Add docs page via pydoctor by @RunDevelopment in https://github.com/chaiNNer-org/spandrel/pull/90
Full Changelog: https://github.com/chaiNNer-org/spandrel/compare/v0.1.6...v0.1.7
Fix ESRGAN+, remove ESRGAN-2c2, and improved parameter detection by @RunDevelopment in https://github.com/chaiNNer-org/spandrel/pull/80
Full Changelog: https://github.com/chaiNNer-org/spandrel/compare/v0.1.5...v0.1.6
Publicly export the ModelTiling enum.
Changes:
ModelTiling enum.Added information about tiling recommendation
Changes:
Fixed architecture name for SPAN.
Changes:
Changes - Added support for SPAN
Changes
Changed the purpose label for "Inpaint" to "Inpainting"
New ModelDescriptor API (breaking change)
Spandrel is now considered ready for general use!
Improved parameter detection for Compact, SCUNet, OmniSR, CodeFormer, DAT, RestoreFormer, LaMa, GFPGAN, FBCNN, SwiftSRGAN, and HAT
Remove state_dict property on ModelDescriptor as it is redundant (use ModelDescriptor.model.state_dict() instead)
state_dict property on ModelDescriptor as it is redundant (use ModelDescriptor.model.state_dict() instead) (#28)Adds a method to ModelLoader for loading a model from an already-read state_dict
ModelLoader for loading a model from an already-read state_dict (#22)This is the initial release of Spandrel.
This is the initial release of Spandrel.
This release contains all the base model-loading features mentioned in the README. Look there for more information.
No binaries/wheels will be attached to this release. Please pip install spandrel to use.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →