NVIDIA / TransformerEngine

A library for accelerating Transformer models on NVIDIA GPUs, including using 8-bit floating point (FP8) precision on Hopper and Ada GPUs, to provide better performance with lower memory utilization in both training and inference.
https://docs.nvidia.com/deeplearning/transformer-engine/user-guide/index.html
Apache License 2.0
1.85k stars 309 forks source link

[Paddle] Fix build error with Paddle >2.6.1 #1040

Closed timmoon10 closed 2 months ago

timmoon10 commented 2 months ago

Description

https://github.com/NVIDIA/TransformerEngine/pull/1029 introduced a compilation error when cherry-picked into the release_v1.9 branch. I would expect a similar error to show up when building with Paddle 2.7+.

Type of change

Changes

Checklist:

timmoon10 commented 2 months ago

/te-ci paddle