Skip to main content

Implements extra model architectures for spandrel

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spandrel_extra_arches-0.2.0.tar.gz (69.7 kB view details)

Uploaded Source

Built Distribution

spandrel_extra_arches-0.2.0-py3-none-any.whl (86.3 kB view details)

Uploaded Python 3

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

Hashes for spandrel_extra_arches-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9216877ecabc9c97e001ad5d49c4f8d2b1f6c6f82d1e77c8e2b350c586b6e64a
MD5 5782f6967961150084106c24e245e248
BLAKE2b-256 65ae5e62e7a099203ce51eb505858671e89c30a7e50e7f4589dabb8d29df0957

See more details on using hashes here.

File details

Details for the file spandrel_extra_arches-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spandrel_extra_arches-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 152e4abbd108470a77b716030029c3e7fc6f61600ec769269c94a46d4a130b4f
MD5 e841fcacd42164d1bff546ceea67452b
BLAKE2b-256 c416f0935e3a2a3ed362e2d5f357bdd7260b3bec279dd3d95940532a730883ea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page