{"library":"spandrel","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"0.4.2","tags":["pytorch","model-loading","super-resolution","ai-restoration","deep-learning"],"install":[{"cmd":"pip install spandrel","imports":["from spandrel import ModelLoader"]},{"cmd":"pip install spandrel spandrel_extra_arches","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/spandrel/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":20,"avg_install_s":73,"avg_import_s":13.99,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/spandrel/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}