Skip to main content

A utility package to scaffold PyTorch's DDP

Project description

DDPW

Publish documentation to Surge 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 3.8. 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.trainer import TrainingConfig
  from ddpw.wrapper import Wrapper

  from src import CustomTrainer

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

  d = Wrapper(p, a)
  j = CustomTrainer(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-2.0.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

ddpw-2.0.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ddpw-2.0.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for ddpw-2.0.0.tar.gz
Algorithm Hash digest
SHA256 a42fe4e1e28f2fa1532da5bad92e8996d375b60a262f21a86973cb30843f168c
MD5 100a211c644ab526893e96a72e7c42e7
BLAKE2b-256 e11aa8f965d77d86161f885252d67c267f619303d0f1f8ac316c805d2a56b2ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ddpw-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for ddpw-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f85c42dfa5a782bc46622b0cbe0a4d4e95e6871066c9a28880f4ef692df3905d
MD5 532a0694b0b5b3873915a2bc3bdb52f8
BLAKE2b-256 d6f482dac37e6d48705de9f941f1f145588d681b1b51448aa7d1cc728b2ed250

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