-
Notifications
You must be signed in to change notification settings - Fork 493
add addcdiv.out, addcmul.out, baddbmm.out, cat.out etc; refactor op name according to native_functions.yaml #2441
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,9 +9,9 @@ | |
| from flag_gems.ops.acos import acos | ||
| from flag_gems.ops.act_quant import act_quant_triton | ||
| from flag_gems.ops.add import add, add_ | ||
| from flag_gems.ops.addcdiv import addcdiv | ||
| from flag_gems.ops.addcmul import addcmul | ||
| from flag_gems.ops.addmm import addmm, addmm_out | ||
| from flag_gems.ops.addcdiv import addcdiv, addcdiv_out | ||
| from flag_gems.ops.addcmul import addcmul, addcmul_out | ||
| from flag_gems.ops.addmm import addmm, addmm_dtype, addmm_dtype_out, addmm_out | ||
| from flag_gems.ops.addmv import addmv, addmv_out | ||
| from flag_gems.ops.addr import addr | ||
| from flag_gems.ops.alias_copy import alias_copy, alias_copy_out | ||
|
|
@@ -42,7 +42,7 @@ | |
| ) | ||
| from flag_gems.ops.avg_pool2d import avg_pool2d, avg_pool2d_backward | ||
| from flag_gems.ops.avg_pool3d import avg_pool3d, avg_pool3d_backward | ||
| from flag_gems.ops.baddbmm import baddbmm | ||
| from flag_gems.ops.baddbmm import baddbmm, baddbmm_out | ||
| from flag_gems.ops.batch_norm import batch_norm, batch_norm_backward | ||
| from flag_gems.ops.bernoulli_ import bernoulli_ | ||
| from flag_gems.ops.bitwise_and import ( | ||
|
|
@@ -63,7 +63,7 @@ | |
| ) | ||
| from flag_gems.ops.bitwise_right_shift import bitwise_right_shift | ||
| from flag_gems.ops.bmm import bmm, bmm_out | ||
| from flag_gems.ops.cat import cat | ||
| from flag_gems.ops.cat import cat, cat_out | ||
| from flag_gems.ops.ceil import ceil, ceil_, ceil_out | ||
| from flag_gems.ops.celu import celu, celu_ | ||
| from flag_gems.ops.clamp import ( | ||
|
|
@@ -176,7 +176,12 @@ | |
| from flag_gems.ops.log1p_ import log1p_ | ||
| from flag_gems.ops.log10 import log10, log10_, log10_out | ||
| from flag_gems.ops.log_sigmoid import log_sigmoid | ||
| from flag_gems.ops.log_softmax import log_softmax, log_softmax_backward | ||
| from flag_gems.ops.log_softmax import ( | ||
| log_softmax, | ||
| log_softmax_backward, | ||
| log_softmax_backward_out, | ||
| log_softmax_out, | ||
| ) | ||
| from flag_gems.ops.logaddexp import logaddexp, logaddexp_out | ||
| from flag_gems.ops.logical_and import logical_and, logical_and_ | ||
| from flag_gems.ops.logical_not import logical_not | ||
|
|
@@ -288,7 +293,12 @@ | |
| from flag_gems.ops.slice_backward import slice_backward | ||
| from flag_gems.ops.slice_scatter import slice_scatter | ||
| from flag_gems.ops.soft_margin_loss import soft_margin_loss, soft_margin_loss_out | ||
| from flag_gems.ops.softmax import softmax, softmax_backward | ||
| from flag_gems.ops.softmax import ( | ||
| softmax, | ||
| softmax_backward, | ||
| softmax_backward_out, | ||
| softmax_out, | ||
| ) | ||
| from flag_gems.ops.softplus import softplus | ||
| from flag_gems.ops.softshrink import softshrink, softshrink_out | ||
| from flag_gems.ops.sort import sort, sort_stable | ||
|
|
@@ -360,8 +370,12 @@ | |
| "add", | ||
| "add_", | ||
| "addcdiv", | ||
| "addcdiv_out", | ||
| "addcmul", | ||
| "addcmul_out", | ||
|
taozhiwei marked this conversation as resolved.
|
||
| "addmm", | ||
| "addmm_dtype", | ||
| "addmm_dtype_out", | ||
| "addmm_out", | ||
| "addmv", | ||
| "addmv_out", | ||
|
|
@@ -398,6 +412,7 @@ | |
| "avg_pool3d", | ||
| "avg_pool3d_backward", | ||
| "baddbmm", | ||
| "baddbmm_out", | ||
| "batch_norm", | ||
| "batch_norm_backward", | ||
| "bernoulli_", | ||
|
|
@@ -418,6 +433,7 @@ | |
| "bmm", | ||
| "bmm_out", | ||
| "cat", | ||
| "cat_out", | ||
| "ceil", | ||
| "ceil_", | ||
| "ceil_out", | ||
|
|
@@ -567,6 +583,8 @@ | |
| "log_sigmoid", | ||
| "log_softmax", | ||
| "log_softmax_backward", | ||
| "log_softmax_backward_out", | ||
| "log_softmax_out", | ||
| "log1p_", | ||
| "logaddexp", | ||
| "logaddexp_out", | ||
|
|
@@ -708,6 +726,8 @@ | |
| "soft_margin_loss_out", | ||
| "softmax", | ||
| "softmax_backward", | ||
| "softmax_backward_out", | ||
| "softmax_out", | ||
|
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 believe most of the newly added operators do not have corresponding benchmark added ... |
||
| "softplus", | ||
| "softshrink", | ||
| "softshrink_out", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.