-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Relay][Op] Trilu operator implementation #12124
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
Changes from all commits
89f0e52
3f78abf
5f7f744
0721e22
aa46851
0585271
47366cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5242,23 +5242,7 @@ def verify_eyelike(indata, dynamic=False): | |
| "test_training_dropout_mask", | ||
| "test_training_dropout_zero_ratio", | ||
| "test_training_dropout_zero_ratio_mask", | ||
| "test_tril", | ||
| "test_tril_pos", | ||
| "test_tril_square", | ||
| "test_tril_square_neg", | ||
| "test_tril_neg", | ||
| "test_tril_one_row_neg", | ||
| "test_tril_out_neg", | ||
| "test_tril_out_pos", | ||
| "test_tril_zero", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I haven't looked at this op at all. How tricky would it be to support the zero case? Otherwise LGTM.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It actually works on llvm and cuda. I was testing on my macbook and it seems like the metal backend in general doesnt support empty tensors. I think for CI we could add these cases.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems like it also doesnt work with nvptx for the same issue with empty tensors. I'll add them here and see how it does in CI. |
||
| "test_triu", | ||
| "test_triu_one_row", | ||
| "test_triu_out_neg_out", | ||
| "test_triu_out_pos", | ||
| "test_triu_neg", | ||
| "test_triu_pos", | ||
| "test_triu_square", | ||
| "test_triu_square_neg", | ||
| "test_triu_zero", | ||
| "test_unique_sorted_with_axis", | ||
| "test_unique_sorted_with_axis_3d", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.