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

[Feature Request] Refactoring moreh_layernorm #9336

Closed
hschoi4448 opened this issue Jun 10, 2024 · 0 comments
Closed

[Feature Request] Refactoring moreh_layernorm #9336

hschoi4448 opened this issue Jun 10, 2024 · 0 comments
Assignees
Labels
feature-request External feature request moreh moreh contribution

Comments

@hschoi4448
Copy link
Contributor

hschoi4448 commented Jun 10, 2024

refactoring moreh_layernorm

  • add fp32_dest_acc_en support
  • support non 4d tensor
  • support optional output tensor
@hschoi4448 hschoi4448 added feature-request External feature request moreh moreh contribution labels Jun 10, 2024
@hschoi4448 hschoi4448 self-assigned this Jun 10, 2024
hschoi4448 added a commit that referenced this issue Jun 24, 2024
hschoi4448 added a commit that referenced this issue Jun 24, 2024
hschoi4448 added a commit that referenced this issue Jul 4, 2024
hschoi4448 added a commit that referenced this issue Jul 4, 2024
hschoi4448 added a commit that referenced this issue Jul 4, 2024
hschoi4448 added a commit that referenced this issue Jul 5, 2024
hschoi4448 added a commit that referenced this issue Jul 5, 2024
hschoi4448 added a commit that referenced this issue Jul 5, 2024
hschoi4448 added a commit that referenced this issue Jul 5, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request External feature request moreh moreh contribution
Projects
None yet
Development

No branches or pull requests

1 participant