Repository navigation
Conversation
Collaborator
Author
|
Below shows the performance compare between original and this pr, benchmark code available at this op_bench-py, to reproduce, The unit is single socket run
single core run
|
Contributor
|
Please rebase |
mingfeima
force-pushed
the
indexing/masked_fill
branch
from
February 21, 2020 00:12
1ab2557 to
dbde790
Compare
Collaborator
Author
|
rebased. |
facebook-github-bot
left a comment
Contributor
There was a problem hiding this comment.
@VitalyFedyunin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Contributor
|
@VitalyFedyunin merged this pull request in cd0acf4. |
hczhu
pushed a commit
that referenced
this pull request
Feb 28, 2020
Summary: port `masked_fill` from TH to ATen with TensorIterator. single core performance roughly stays the same, single socket performance has **3~16x** boost. `masked_fill` is missing from #24507 Pull Request resolved: #33330 Differential Revision: D20098812 Pulled By: VitalyFedyunin fbshipit-source-id: ff20712ffc00cc665550997abcfdfb8916c18e40
ttumiel
pushed a commit
to ttumiel/pytorch
that referenced
this pull request
Mar 4, 2020
Summary: port `masked_fill` from TH to ATen with TensorIterator. single core performance roughly stays the same, single socket performance has **3~16x** boost. `masked_fill` is missing from pytorch#24507 Pull Request resolved: pytorch#33330 Differential Revision: D20098812 Pulled By: VitalyFedyunin fbshipit-source-id: ff20712ffc00cc665550997abcfdfb8916c18e40
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.
port
masked_fillfrom TH to ATen with TensorIterator.single core performance roughly stays the same, single socket performance has 3~16x boost.
masked_fillis missing from #24507