Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TE/JAX] XLA FFI calls for layer norm and RMS norm (#1290)
* Add LayerNormForwardFFI(); add FFI calls in Python Signed-off-by: Hua Huang <[email protected]> * Add FFI for RMS norm, all tests passed Signed-off-by: Hua Huang <[email protected]> * Simplify layer & RMS norm FFI calls Signed-off-by: Hua Huang <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Simplify tensor size calculations Signed-off-by: Hua Huang <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Hua Huang <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Phuong Nguyen <[email protected]>
- Loading branch information