Skip to main content

A utility package to scaffold PyTorch's DDP

Project description

DDPW

AWS S3 Conda PyPI

Publish documentation to AWS S3 Publish to Anaconda Publish to PyPI


The Distributed Data Parallel wrapper (DDPW) is created as a utility package to encapsulate the scaffolding for PyTorch's Distributed Data Parallel.

This code is written in Python. The DDPW documentation contains details on how to use this package.

Overview

Installation

conda install -c tvsujal ddpw # with conda
pip install ddpw # with pip from PyPI

Usage

  from ddpw.platform import PlatformConfig
  from ddpw.artefacts import ArtefactsConfig
  from ddpw.job import JobConfig
  from ddpw.wrapper import Wrapper

  from src import MyTrainer

  p = PlatformConfig(...)
  a = ArtefactsConfig(...)
  t = JobConfig(...)

  d = Wrapper(p, a)
  j = MyTrainer(t)

  d.start(j)

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

ddpw-3.0.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

ddpw-3.0.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file ddpw-3.0.0.tar.gz.

File metadata

  • Download URL: ddpw-3.0.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for ddpw-3.0.0.tar.gz
Algorithm Hash digest
SHA256 82436333f447a6aca05deb451e92e8a40f448b719f941da95f6e34b560be9762
MD5 fdb7f0b3c23a4ea53f8d35ad32130fb7
BLAKE2b-256 3135887a8f67d63832ce9486dac70be6920a5dbf5a73011b0e82111447f49a90

See more details on using hashes here.

File details

Details for the file ddpw-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: ddpw-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for ddpw-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbe7073bc5c683c6fd1a6dcf759e21b868ed2c1297ec0bb6302c190ca31ecc8a
MD5 0adabc586db200902d317eb11b2c3da7
BLAKE2b-256 081159ab7712446d6126f5599237f8e8c6fae370078932dab2e2cba72d2502a8

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