spandrel-extra-arches


Namespandrel-extra-arches JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryImplements extra model architectures for spandrel
upload_time2024-09-16 01:36:45
maintainerNone
docs_urlNone
authorchaiNNer team
requires_python>=3.8
licenseMIT
keywords spandrel pytorch architecture pytorch arch model arch model architecture
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Spandrel extra architectures

[![PyPI package](https://img.shields.io/badge/pip%20install-spandrel_extra_arches-brightgreen)](https://pypi.org/project/spandrel_extra_arches/)
[![version number](https://img.shields.io/pypi/v/spandrel_extra_arches?color=green&label=version)](https://github.com/chaiNNer-org/spandrel/releases)
[![PyPi Downloads](https://img.shields.io/pypi/dw/spandrel_extra_arches)](https://pypi.org/project/spandrel_extra_arches/#files)
[![Python Version](https://img.shields.io/pypi/pyversions/spandrel)](https://pypi.org/project/spandrel/#files:~:text=Requires%3A%20Python%20%3C3.12%2C%20%3E%3D3.8)

This library implements various PyTorch architectures with restrictive licenses for [spandrel](https://github.com/chaiNNer-org/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`:

```shell
pip install spandrel spandrel_extra_arches
```

## Basic usage

```python
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](https://github.com/chaiNNer-org/spandrel#model-architecture-support).

## 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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "spandrel-extra-arches",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "spandrel, pytorch architecture, pytorch arch, model arch, model architecture",
    "author": "chaiNNer team",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/65/ae/5e62e7a099203ce51eb505858671e89c30a7e50e7f4589dabb8d29df0957/spandrel_extra_arches-0.2.0.tar.gz",
    "platform": null,
    "description": "# Spandrel extra architectures\n\n[![PyPI package](https://img.shields.io/badge/pip%20install-spandrel_extra_arches-brightgreen)](https://pypi.org/project/spandrel_extra_arches/)\n[![version number](https://img.shields.io/pypi/v/spandrel_extra_arches?color=green&label=version)](https://github.com/chaiNNer-org/spandrel/releases)\n[![PyPi Downloads](https://img.shields.io/pypi/dw/spandrel_extra_arches)](https://pypi.org/project/spandrel_extra_arches/#files)\n[![Python Version](https://img.shields.io/pypi/pyversions/spandrel)](https://pypi.org/project/spandrel/#files:~:text=Requires%3A%20Python%20%3C3.12%2C%20%3E%3D3.8)\n\nThis library implements various PyTorch architectures with restrictive licenses for [spandrel](https://github.com/chaiNNer-org/spandrel).\n\nIf 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.\n\n## Installation\n\nYou need to install both `spandrel` and `spandrel_extra_arches`:\n\n```shell\npip install spandrel spandrel_extra_arches\n```\n\n## Basic usage\n\n```python\nimport spandrel\nimport spandrel_extra_arches\n\n# add extra architectures before `ModelLoader` is used\nspandrel_extra_arches.install()\n\n# load a model from disk\nmodel = spandrel.ModelLoader().load_from_file(r\"path/to/model.pth\")\n\n... # use model\n```\n\n## Model Architecture Support\n\nFor a full list of all architectures implemented in this library, see [the architectures marked with \"(+)\" here](https://github.com/chaiNNer-org/spandrel#model-architecture-support).\n\n## License\n\nThis 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.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Implements extra model architectures for spandrel",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [
        "spandrel",
        " pytorch architecture",
        " pytorch arch",
        " model arch",
        " model architecture"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c416f0935e3a2a3ed362e2d5f357bdd7260b3bec279dd3d95940532a730883ea",
                "md5": "e841fcacd42164d1bff546ceea67452b",
                "sha256": "152e4abbd108470a77b716030029c3e7fc6f61600ec769269c94a46d4a130b4f"
            },
            "downloads": -1,
            "filename": "spandrel_extra_arches-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e841fcacd42164d1bff546ceea67452b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 86285,
            "upload_time": "2024-09-16T01:36:43",
            "upload_time_iso_8601": "2024-09-16T01:36:43.883511Z",
            "url": "https://files.pythonhosted.org/packages/c4/16/f0935e3a2a3ed362e2d5f357bdd7260b3bec279dd3d95940532a730883ea/spandrel_extra_arches-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "65ae5e62e7a099203ce51eb505858671e89c30a7e50e7f4589dabb8d29df0957",
                "md5": "5782f6967961150084106c24e245e248",
                "sha256": "9216877ecabc9c97e001ad5d49c4f8d2b1f6c6f82d1e77c8e2b350c586b6e64a"
            },
            "downloads": -1,
            "filename": "spandrel_extra_arches-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5782f6967961150084106c24e245e248",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 69689,
            "upload_time": "2024-09-16T01:36:45",
            "upload_time_iso_8601": "2024-09-16T01:36:45.516216Z",
            "url": "https://files.pythonhosted.org/packages/65/ae/5e62e7a099203ce51eb505858671e89c30a7e50e7f4589dabb8d29df0957/spandrel_extra_arches-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-16 01:36:45",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "spandrel-extra-arches"
}
        
Elapsed time: 0.40590s