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

Need to return save_mean and save_rstd for aten._native_batch_norm_legit* in training mode #502

Open
jerrysky3 opened this issue Nov 25, 2024 · 0 comments

Comments

@jerrysky3
Copy link
Collaborator

According to https://github.com/pytorch/pytorch/blob/d0fd42eb3ac6939e63879bc055b6901103f713d3/torch/_decomp/decompositions.py#L1767, aten._native_batch_norm_legit* need to return additional two tensor save_mean and save_rstd in training mode.

The current batch_norm conversion only supports returning batch_norm value tensor.

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

No branches or pull requests

1 participant