Spandrel: PyTorch Model Architecture Support
JSON →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.
Traffic · last 30 days ↑200% vs prev 7d
total hits 14
actors 7 distinct systems
last hit 4d ago GPTBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada
Resources
packagepypi.org/project/spandrel/ ↗
API endpoints
full doc /v1/registry/spandrel
install /v1/registry/spandrel/install
compatibility /v1/registry/spandrel/compatibility