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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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