pytorch-lantern


Namepytorch-lantern JSON
Version 0.12.12 PyPI version JSON
download
home_pagehttps://github.com/nextml-code/pytorch-lantern
SummaryPytorch project template and related tools
upload_time2023-12-01 10:00:05
maintainer
docs_urlNone
authorNextML AB
requires_python>=3.8,<4.0
licenseApache-2.0
keywords pytorch machine learning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ================
Pytorch Lantern
================

.. image:: https://badge.fury.io/py/pytorch-lantern.svg
       :target: https://badge.fury.io/py/pytorch-lantern

.. image:: https://img.shields.io/pypi/pyversions/pytorch-lantern.svg
       :target: https://pypi.python.org/pypi/pytorch-lantern

.. image:: https://readthedocs.org/projects/pytorch-lantern/badge/?version=latest
       :target: https://pytorch-lantern.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/pypi/l/pytorch-lantern.svg
       :target: https://pypi.python.org/pypi/pytorch-lantern

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black

Lantern contains our process of bringing a project to fruition as
efficiently as possible. This is subject to change as we iterate and improve.
This package implements tools and missing features to help bridge the gap
between frameworks and libraries that we utilize.

The main packages and tools that we build around are:

- `pytorch <https://pytorch.org>`_
- `pytorch-datastream <https://github.com/Aiwizo/pytorch-datastream>`_
- `guild <https://guild.ai>`_


See the `documentation <https://pytorch-lantern.readthedocs.io/en/latest/>`_
for more information.

Create new project with template
================================

Install `cookiecutter <https://github.com/cookiecutter/cookiecutter>`_
and `poetry <https://github.com/python-poetry/poetry>`_:

.. code-block::

    pip install cookiecutter
    curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python

Setup project:

.. code-block::

    cookiecutter https://github.com/aiwizo/pytorch-lantern-template.git
    cd <new-project>
    poetry install

You can now train the placeholder model and inspect the results:

.. code-block::

    guild run prepare
    guild run train
    guild tensorboard

Use lantern without templates
==============================

Install lantern from pypi using pip or poetry:

.. code-block::

    poetry add pytorch-lantern[training]

.. code-block::

    pip install pytorch-lantern[training]

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nextml-code/pytorch-lantern",
    "name": "pytorch-lantern",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "pytorch,machine,learning",
    "author": "NextML AB",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/35/12/c5680972b01c0e982c7824f0e04fd921b655718109438a7f6c4af3c3cad2/pytorch_lantern-0.12.12.tar.gz",
    "platform": null,
    "description": "================\nPytorch Lantern\n================\n\n.. image:: https://badge.fury.io/py/pytorch-lantern.svg\n       :target: https://badge.fury.io/py/pytorch-lantern\n\n.. image:: https://img.shields.io/pypi/pyversions/pytorch-lantern.svg\n       :target: https://pypi.python.org/pypi/pytorch-lantern\n\n.. image:: https://readthedocs.org/projects/pytorch-lantern/badge/?version=latest\n       :target: https://pytorch-lantern.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/pypi/l/pytorch-lantern.svg\n       :target: https://pypi.python.org/pypi/pytorch-lantern\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\nLantern contains our process of bringing a project to fruition as\nefficiently as possible. This is subject to change as we iterate and improve.\nThis package implements tools and missing features to help bridge the gap\nbetween frameworks and libraries that we utilize.\n\nThe main packages and tools that we build around are:\n\n- `pytorch <https://pytorch.org>`_\n- `pytorch-datastream <https://github.com/Aiwizo/pytorch-datastream>`_\n- `guild <https://guild.ai>`_\n\n\nSee the `documentation <https://pytorch-lantern.readthedocs.io/en/latest/>`_\nfor more information.\n\nCreate new project with template\n================================\n\nInstall `cookiecutter <https://github.com/cookiecutter/cookiecutter>`_\nand `poetry <https://github.com/python-poetry/poetry>`_:\n\n.. code-block::\n\n    pip install cookiecutter\n    curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python\n\nSetup project:\n\n.. code-block::\n\n    cookiecutter https://github.com/aiwizo/pytorch-lantern-template.git\n    cd <new-project>\n    poetry install\n\nYou can now train the placeholder model and inspect the results:\n\n.. code-block::\n\n    guild run prepare\n    guild run train\n    guild tensorboard\n\nUse lantern without templates\n==============================\n\nInstall lantern from pypi using pip or poetry:\n\n.. code-block::\n\n    poetry add pytorch-lantern[training]\n\n.. code-block::\n\n    pip install pytorch-lantern[training]\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Pytorch project template and related tools",
    "version": "0.12.12",
    "project_urls": {
        "Documentation": "https://pytorch-lantern.readthedocs.io",
        "Homepage": "https://github.com/nextml-code/pytorch-lantern",
        "Repository": "https://github.com/nextml-code/pytorch-lantern"
    },
    "split_keywords": [
        "pytorch",
        "machine",
        "learning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a29a019517c698f44cc052174d17ea9871059214e7e8ccd1558790ad2e47645",
                "md5": "767017ab5e41b40e63ab4b0ca1014a85",
                "sha256": "333f013e42a863c5ae1c44ec44ae7e133f56595b4cc59c49a8b4b5e302c8de78"
            },
            "downloads": -1,
            "filename": "pytorch_lantern-0.12.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "767017ab5e41b40e63ab4b0ca1014a85",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 18937,
            "upload_time": "2023-12-01T10:00:01",
            "upload_time_iso_8601": "2023-12-01T10:00:01.702192Z",
            "url": "https://files.pythonhosted.org/packages/5a/29/a019517c698f44cc052174d17ea9871059214e7e8ccd1558790ad2e47645/pytorch_lantern-0.12.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3512c5680972b01c0e982c7824f0e04fd921b655718109438a7f6c4af3c3cad2",
                "md5": "08546901d7779f394e83adb277d604b4",
                "sha256": "f31782a36d47d92437d952a0879ce415a630089efe63677a91197783ac525fba"
            },
            "downloads": -1,
            "filename": "pytorch_lantern-0.12.12.tar.gz",
            "has_sig": false,
            "md5_digest": "08546901d7779f394e83adb277d604b4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 14910,
            "upload_time": "2023-12-01T10:00:05",
            "upload_time_iso_8601": "2023-12-01T10:00:05.201574Z",
            "url": "https://files.pythonhosted.org/packages/35/12/c5680972b01c0e982c7824f0e04fd921b655718109438a7f6c4af3c3cad2/pytorch_lantern-0.12.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-01 10:00:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nextml-code",
    "github_project": "pytorch-lantern",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pytorch-lantern"
}
        
Elapsed time: 0.16378s