Spandrel: PyTorch Model Architecture Support

JSON →
library 0.4.2 ·python
verified May 21, 2026

Spandrel is a Python library that provides support for loading and running pre-trained PyTorch models, particularly those used in AI Super-Resolution, restoration, and inpainting. It automatically detects the model architecture and hyperparameters from various model file types, including `.pth`, `.pt`, `.ckpt`, and `.safetensors`. The current version is 0.4.2, and it follows an active release cadence with updates often accompanied by the `spandrel_extra_arches` package for models with restrictive licenses.

total hits 14
actors 7 distinct systems
last hit 4d ago GPTBot
GPTBot
6
Script
2
ClaudeBot
1
ChatGPT-User
1
Search engines
2

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada