Skip to main content

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.

Metadata

Release files for zbpp-light 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zbpp-light 0.0.1
File Size Uploaded
zbpp_light-0.0.1.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zbpp-light 0.0.1
File Interpreter ABI Platform
zbpp_light-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / zbpp_light-0.0.1.tar.gz

Download URL zbpp_light-0.0.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1305b13dbf09b5c3599220f2a7bb3fc6ea5c1afa4e497991f45e0f7f4446b084
BLAKE2b-256 checksum
How to use checksums
fc25924239b03d8092bafdb2b212cedf4547d72e3acb28bb36ca4dc5046e2b88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / zbpp_light-0.0.1-py3-none-any.whl

Download URL zbpp_light-0.0.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d8eaac5f1d1d939a84ef9e73ee9f723bedb563bd8273b0d5b2064aa00e267c7
BLAKE2b-256 checksum
How to use checksums
775926bf9577278538bb7a12f9f8d89aae28fbdc256cd982a0fb5bf848f687c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page