dmlcloud


Namedmlcloud JSON
Version 0.3.3 PyPI version JSON
download
home_pageNone
SummaryDistributed torch training using horovod and slurm
upload_time2024-04-23 12:37:55
maintainerNone
docs_urlNone
authorSebastian Hoffmann
requires_python>=3.10
licenseBSD 3-Clause License Copyright (c) 2023, Sebastian Hoffmann Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords pytorch torch.distributed slurm distributed training deep learning
VCS
bugtrack_url
requirements torch numpy xarray progress_table omegaconf
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # dmlcloud
[![](https://img.shields.io/pypi/v/dmlcloud)](https://pypi.org/project/dmlcloud/)
[![](https://img.shields.io/github/actions/workflow/status/sehoffmann/dmlcloud/run_tests.yml?label=tests&logo=github)](https://github.com/sehoffmann/dmlcloud/actions/workflows/run_tests.yml)
[![](https://img.shields.io/github/actions/workflow/status/sehoffmann/dmlcloud/run_linting.yml?label=lint&logo=github)](https://github.com/sehoffmann/dmlcloud/actions/workflows/run_linting.yml)

*Flexibel, easy-to-use, opinionated*

*dmlcloud* is a library for **distributed training** of deep learning models with *torch*. Unlike other similar frameworks, dmcloud adds as little additional complexity and abstraction as possible. It is tailored towards a carefully selected set of libraries and workflows.

## Installation
```
pip install dmlcloud
```

## Why dmlcloud?
- Easy initialization of `torch.distributed` (supports *slurm* and *MPI*).
- Simple, yet powerful, API. No unnecessary abstractions and complications.
- Checkpointing and metric tracking (distributed)
- Extensive logging and diagnostics out-of-the-box. Greatly improve reproducability and traceability.
- A wealth of useful utility functions required for distributed training (e.g. for data set sharding)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "dmlcloud",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "pytorch, torch.distributed, slurm, distributed training, deep learning",
    "author": "Sebastian Hoffmann",
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "# dmlcloud\n[![](https://img.shields.io/pypi/v/dmlcloud)](https://pypi.org/project/dmlcloud/)\n[![](https://img.shields.io/github/actions/workflow/status/sehoffmann/dmlcloud/run_tests.yml?label=tests&logo=github)](https://github.com/sehoffmann/dmlcloud/actions/workflows/run_tests.yml)\n[![](https://img.shields.io/github/actions/workflow/status/sehoffmann/dmlcloud/run_linting.yml?label=lint&logo=github)](https://github.com/sehoffmann/dmlcloud/actions/workflows/run_linting.yml)\n\n*Flexibel, easy-to-use, opinionated*\n\n*dmlcloud* is a library for **distributed training** of deep learning models with *torch*. Unlike other similar frameworks, dmcloud adds as little additional complexity and abstraction as possible. It is tailored towards a carefully selected set of libraries and workflows.\n\n## Installation\n```\npip install dmlcloud\n```\n\n## Why dmlcloud?\n- Easy initialization of `torch.distributed` (supports *slurm* and *MPI*).\n- Simple, yet powerful, API. No unnecessary abstractions and complications.\n- Checkpointing and metric tracking (distributed)\n- Extensive logging and diagnostics out-of-the-box. Greatly improve reproducability and traceability.\n- A wealth of useful utility functions required for distributed training (e.g. for data set sharding)\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License  Copyright (c) 2023, Sebastian Hoffmann  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ",
    "summary": "Distributed torch training using horovod and slurm",
    "version": "0.3.3",
    "project_urls": {
        "Repository": "https://github.com/sehoffmann/dmlcloud"
    },
    "split_keywords": [
        "pytorch",
        " torch.distributed",
        " slurm",
        " distributed training",
        " deep learning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5520236fb65fb92d4204062710e6f393f68300ed130da58ff9f5239bab82e91f",
                "md5": "fa6d29fe1e0e21e73b3557a207d21b85",
                "sha256": "cd1db5e5c4fd9ee3e6e2cce0b22a5b6b61fbe7ea6a0121695342faea20a4efbb"
            },
            "downloads": -1,
            "filename": "dmlcloud-0.3.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fa6d29fe1e0e21e73b3557a207d21b85",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 22216,
            "upload_time": "2024-04-23T12:37:55",
            "upload_time_iso_8601": "2024-04-23T12:37:55.042797Z",
            "url": "https://files.pythonhosted.org/packages/55/20/236fb65fb92d4204062710e6f393f68300ed130da58ff9f5239bab82e91f/dmlcloud-0.3.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-23 12:37:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sehoffmann",
    "github_project": "dmlcloud",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "torch",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "xarray",
            "specs": []
        },
        {
            "name": "progress_table",
            "specs": [
                [
                    "<",
                    "1.0.0"
                ],
                [
                    ">=",
                    "0.1.20"
                ]
            ]
        },
        {
            "name": "omegaconf",
            "specs": []
        }
    ],
    "lcname": "dmlcloud"
}
        
Elapsed time: 0.29789s