Skip to main content

Spandrel extra architectures

PyPI package version number PyPi Downloads Python Version

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.

Release files for spandrel-extra-arches 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spandrel-extra-arches 0.2.0
File Size Uploaded
spandrel_extra_arches-0.2.0.tar.gz 69.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spandrel-extra-arches 0.2.0
File Interpreter ABI Platform
spandrel_extra_arches-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 156.0 kB

Release files / spandrel_extra_arches-0.2.0.tar.gz

Download URL spandrel_extra_arches-0.2.0.tar.gz
Size 69.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9216877ecabc9c97e001ad5d49c4f8d2b1f6c6f82d1e77c8e2b350c586b6e64a
BLAKE2b-256 checksum
How to use checksums
65ae5e62e7a099203ce51eb505858671e89c30a7e50e7f4589dabb8d29df0957
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / spandrel_extra_arches-0.2.0-py3-none-any.whl

Download URL spandrel_extra_arches-0.2.0-py3-none-any.whl
Size 86.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
152e4abbd108470a77b716030029c3e7fc6f61600ec769269c94a46d4a130b4f
BLAKE2b-256 checksum
How to use checksums
c416f0935e3a2a3ed362e2d5f357bdd7260b3bec279dd3d95940532a730883ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page