Skip to main content

Zero Bubble Pipeline Parallelism (ZBPP) light weight implementation. For more details refer to https://github.com/sail-sg/zero-bubble-pipeline-parallelism.

Project description

Light-weight Library of Zero Bubble Pipeline Parallelism

How to use

  1. Install by pip install zbpp_light
  2. Insert the following code snippet to your training script at the very beginning:
import zbpp_light
zbpp_light.patch_megatron()

# Your original training script starts here
import megatron, etc

Supported Frameworks

  • Megatron-LM
  • Megatron-DeepSpeed

Current Limitations

  • Only supports ZB-H1 schedule, which reduces 2/3 1F1B bubble with same memory and communication cost.

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

zbpp_light-0.0.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

zbpp_light-0.0.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file zbpp_light-0.0.1.tar.gz.

File metadata

  • Download URL: zbpp_light-0.0.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for zbpp_light-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1305b13dbf09b5c3599220f2a7bb3fc6ea5c1afa4e497991f45e0f7f4446b084
MD5 fb2aa34437ed82240e6cb335088bb9ff
BLAKE2b-256 fc25924239b03d8092bafdb2b212cedf4547d72e3acb28bb36ca4dc5046e2b88

See more details on using hashes here.

File details

Details for the file zbpp_light-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: zbpp_light-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for zbpp_light-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d8eaac5f1d1d939a84ef9e73ee9f723bedb563bd8273b0d5b2064aa00e267c7
MD5 201dddf34f04d7af1cafe74fdb22f864
BLAKE2b-256 775926bf9577278538bb7a12f9f8d89aae28fbdc256cd982a0fb5bf848f687c9

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