-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The current `moreh_layernorm` only accepts 4D tensors as input. To meet this restriction, the mean and rstd tensors are stored inefficiently, with only one valid data point per tile. The current implementation does not support optional outputs and the fp32_dest_acc_en feature. Refactoring moreh_layernorm - add fp32_dest_acc_en support - support non 4d tensor - support optional output tensor
- Loading branch information
1 parent
5b395d6
commit c52e153
Showing
23 changed files
with
2,036 additions
and
1,290 deletions.
There are no files selected for viewing
330 changes: 243 additions & 87 deletions
330
tests/tt_eager/python_api_testing/unit_testing/misc/test_moreh_layernorm.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.