Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zero3 performance optimizations #3622

Merged
merged 13 commits into from
Jun 8, 2023
Merged

zero3 performance optimizations #3622

merged 13 commits into from
Jun 8, 2023

Commits on May 22, 2023

  1. Remove dead code

    params_already_reduced is not used
    BacharL committed May 22, 2023
    Configuration menu
    Copy the full SHA
    e1e4b75 View commit details
    Browse the repository at this point in the history
  2. Prevent evaluation of debug strings

    Debug strings are evaluated even when logging is disabled
    BacharL committed May 22, 2023
    Configuration menu
    Copy the full SHA
    e3dbb7a View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. Use contiguous gradients tensor reduce scatter between ranks

    Use allreduce instead of reduce scatter. lower cpu overhead.
    BacharL committed May 29, 2023
    Configuration menu
    Copy the full SHA
    bd4d724 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. move overflow tracker to optimizer.step

    Don't check overflow in gradients for every bucket.
    Do overflow chack once on grad flat buffer just before optimizer step
    BacharL committed May 30, 2023
    Configuration menu
    Copy the full SHA
    9cf826d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6847b30 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Configuration menu
    Copy the full SHA
    9b80d60 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Configuration menu
    Copy the full SHA
    a813c77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0bfdc1 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    7b83224 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Configuration menu
    Copy the full SHA
    89add18 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16e6f1c View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Configuration menu
    Copy the full SHA
    290bdbd View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. Configuration menu
    Copy the full SHA
    df88b94 View commit details
    Browse the repository at this point in the history