[FlagGems Operator Development Competition] Add leaky_relu, leaky_relu_, and leaky_relu.out - #2656
Closed
Karl-XZ wants to merge 1 commit into
Closed
[FlagGems Operator Development Competition] Add leaky_relu, leaky_relu_, and leaky_relu.out#2656Karl-XZ wants to merge 1 commit into
Karl-XZ wants to merge 1 commit into
Conversation
Karl-XZ
requested review from
0x45f,
bin913,
douxetpur,
huangyiqun and
w1120029931-bit
as code owners
April 24, 2026 18:30
Karl-XZ
force-pushed
the
codex/leaky-relu
branch
from
April 24, 2026 19:12
d51e735 to
4794503
Compare
Collaborator
|
Hi, thank you for your participation in the FlagOS Open Computing Competition 🙏 After review, we have chosen to move forward with a different implementation for this operator. As a result, this PR will be closed. We appreciate your time and contribution, and hope to see more of your submissions in the future. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Category
Type of Change
Description
aten::leaky_relu,aten::leaky_relu_, andaten::leaky_relu.outout=cases to preserve PyTorch behaviorIssue
Progress
Performance
Local device-side benchmark on RTX 3070:
(4096, 4096):1.13x(64, 512, 512):1.00x(64, 64, 4096):1.03x(64, 512, 512):1.01x(1024, 4096):1.12xpython -m pre_commit run --files src/flag_gems/ops/leaky_relu.py src/flag_gems/__init__.py src/flag_gems/ops/__init__.py benchmark/test_unary_pointwise_perf.py tests/test_unary_pointwise_ops.pypython -m pytest tests/test_unary_pointwise_ops.py -m "leaky_relu or leaky_relu_ or leaky_relu_out" -q -xpython -m pytest benchmark/test_unary_pointwise_perf.py -m "leaky_relu" -q -xpython -m pytest benchmark/test_unary_pointwise_perf.py -k "leaky_relu_" -q -x