Implements extra model architectures for spandrel
Project description
Spandrel extra architectures
This library implements various PyTorch architectures with restrictive licenses for spandrel.
If you are working on a private project or non-commercial open-source project, you are free to use this library. If you are working on a commercial or closed-source project, you may need to review the licenses of the individual architectures before using this library.
Installation
You need to install both spandrel
and spandrel_extra_arches
:
pip install spandrel spandrel_extra_arches
Basic usage
import spandrel
import spandrel_extra_arches
# add extra architectures before `ModelLoader` is used
spandrel_extra_arches.install()
# load a model from disk
model = spandrel.ModelLoader().load_from_file(r"path/to/model.pth")
... # use model
Model Architecture Support
For a full list of all architectures implemented in this library, see the architectures marked with "(+)" here.
License
This library is licensed under the MIT license but contains the source code of architectures with non-commercial and copyleft licenses. You may need to review the licenses of the individual architectures before using this library.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file spandrel_extra_arches-0.2.0.tar.gz
.
File metadata
- Download URL: spandrel_extra_arches-0.2.0.tar.gz
- Upload date:
- Size: 69.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9216877ecabc9c97e001ad5d49c4f8d2b1f6c6f82d1e77c8e2b350c586b6e64a |
|
MD5 | 5782f6967961150084106c24e245e248 |
|
BLAKE2b-256 | 65ae5e62e7a099203ce51eb505858671e89c30a7e50e7f4589dabb8d29df0957 |
File details
Details for the file spandrel_extra_arches-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: spandrel_extra_arches-0.2.0-py3-none-any.whl
- Upload date:
- Size: 86.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 152e4abbd108470a77b716030029c3e7fc6f61600ec769269c94a46d4a130b4f |
|
MD5 | e841fcacd42164d1bff546ceea67452b |
|
BLAKE2b-256 | c416f0935e3a2a3ed362e2d5f357bdd7260b3bec279dd3d95940532a730883ea |