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

Add asymmetric shapes to test sum Triton kernels #2310

Closed
wants to merge 1 commit into from

Conversation

jananisriram
Copy link
Contributor

Summary:
Add asymmetric shapes to get_input_iter() in order to test accuracy and performance of sum Triton kernel implementations against PyTorch.

This diff generates tensors with dimensions of different sizes. For example, a 2D asymmetric tensor would have shape (n, n + 3); a 3D asymmetric tensor would have shape (n, n + 3, n + 6).

Reviewed By: jbschlosser

Differential Revision: D58509022

Summary:
Add asymmetric shapes to `get_input_iter()` in order to test accuracy and performance of `sum` Triton kernel implementations against PyTorch.

This diff generates tensors with dimensions of different sizes. For example, a 2D asymmetric tensor would have shape `(n, n + 3)`; a 3D asymmetric tensor would have shape `(n, n + 3, n + 6)`.

Reviewed By: jbschlosser

Differential Revision: D58509022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58509022

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in bbeba0a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants