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

[NVIDIA] Added transformer engine support and GPU optimizations #1391

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

terrykong
Copy link
Contributor

  • Added Transformer Engine + FP8 support
  • Updated T5x and jax version=0.4.11
  • A100 Perf gains!
    • 80% speedup - T5-small
    • 23% speedup - T5-large
    • 18% speedup - T5-xl
    • 40% speedup - T5-xxl
  • H100 support, with gains over A100
    • 2.08x faster - T5-large
    • 2.24x faster - T5-xl

@google-cla
Copy link

google-cla bot commented Sep 8, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

terrykong and others added 18 commits March 8, 2024 09:49
Co-authored-by: Sahil Jain <sahilj@nvidia.com>
Co-authored-by: Terry Kong <terryk@nvidia.com>
Co-authored-by: Yu-Hang Tang <yuhangt@nvidia.com>
Co-authored-by: Ming Huang <mingh@nvidia.com>
Co-authored-by: Frederic Bastien <fbastien@nvidia.com>
Co-authored-by: Sharath Turuvekere Sreenivas <sharatht@nvidia.com>
Co-authored-by: Xiaowei Ren <xren@nvidia.com>
Co-authored-by: Ryan Jeng <rjeng@nvidia.com>
Co-authored-by: Reese Wang <rewang@nvidia.com>
Updated T5x-large MNLI and SQUAD baselines
Co-authored-by: NVIDIA <jax@nvidia.com>
…e_fp8 (#8)

* Allows ENABLE_TE env var to control whether TE code path is invoked

* Changes enabled -> enable_fp8 to be more consistent with PAX and avoid confusion with ENABLE_TE

* Remove UNINSTALL_TE logic since it is no longer required

---------

Co-authored-by: NVIDIA <jax@nvidia.com>
… of input variables (#9)

* Update multiprocess scripts

* No longer need UNINSTALL_TE

* Removes slurm scripts as the source of truth has moved to rosetta

* Adds "Finished" message to multiprocess scripts

* Remove BENCHMARK_ARGS which is no longer used

* Fix typo in BENCHMARK_MODE and straggling if keyword

* Address comments
@terrykong terrykong force-pushed the patch/t5x_te_in_contrib_noindent branch from 3ca8e34 to 06be7c2 Compare March 8, 2024 17:57
Signed-off-by: Reese Wang <rewang@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants