-
Notifications
You must be signed in to change notification settings - Fork 576
Add portable randn kernel implementation #11123
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11123
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 1b3b295 with merge base 809a1fd ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
478494b
to
783a38a
Compare
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
afb218a
to
8a48eb1
Compare
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
8a48eb1
to
94e21b2
Compare
c9e0b30
to
34fd391
Compare
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
34fd391
to
6292a33
Compare
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
6292a33
to
1b3b295
Compare
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary
Add a portable operator implementation for ATen randn. This is a core op that we previously have not had a kernel for.
Test plan
I've added operator-level tests for randn. It's relatively sparse, but validates that the mean and stdev are reasonably sane, as well as that the operator functions correctly for different dtypes, ranks, and sizes.
cc @larryliu0820 @manuelcandales