Repository navigation
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/96079
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3293ec2: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This was referenced Mar 6, 2023
mingfeima
marked this pull request as draft
March 6, 2023 05:55
…max on CPU" cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
…max on CPU" cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
…max on CPU" cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
…max on CPU" cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
mingfeima
marked this pull request as ready for review
March 10, 2023 08:09
…max on CPU" cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
jgong5
approved these changes
Mar 23, 2023
…max on CPU" Use float32 as acc type for `min`, `max` and `minmax`, in the function ` vec::reduce_all`, float16 inputs will be accumulated in float32. cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
…max on CPU" Use float32 as acc type for `min`, `max` and `minmax`, in the function ` vec::reduce_all`, float16 inputs will be accumulated in float32. cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
…max on CPU" Use float32 as acc type for `min`, `max` and `minmax`, in the function ` vec::reduce_all`, float16 inputs will be accumulated in float32. cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
…max on CPU" Use float32 as acc type for `min`, `max` and `minmax`, in the function ` vec::reduce_all`, float16 inputs will be accumulated in float32. cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
kit1980
approved these changes
Apr 6, 2023
…max on CPU" Use float32 as acc type for `min`, `max` and `minmax`, in the function ` vec::reduce_all`, float16 inputs will be accumulated in float32. cc jgong5 XiaobingSuper sanchitintel ashokei jingxu10 [ghstack-poisoned]
Collaborator
Author
|
@pytorchbot merge |
Collaborator
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
skotapati
pushed a commit
to kulinseth/pytorch
that referenced
this pull request
Apr 10, 2023
…ytorch#96079) Use float32 as acc type for `min`, `max` and `minmax`, in the function ` vec::reduce_all`, float16 inputs will be accumulated in float32. The performance benefit basically comes from the vectorization of `Half` pytorch#96076 Tested on Intel(R) Xeon(R) Gold 6248 CPU @ 2.50GHz **single socket** ``` (before) ### using OMP_NUM_THREADS=20 ### using numactl --physcpubind=0-19 --membind=0 max: size: torch.Size([64, 128, 1024]) 2.071 ms (after) ### using OMP_NUM_THREADS=20 ### using numactl --physcpubind=0-19 --membind=0 max: size: torch.Size([64, 128, 1024]) 0.071 ms ``` **single core** ``` (before) ### using OMP_NUM_THREADS=1 ### using numactl --physcpubind=0 --membind=0 max: size: torch.Size([64, 128, 1024]) 33.488 ms (after) ### using OMP_NUM_THREADS=1 ### using numactl --physcpubind=0 --membind=0 max: size: torch.Size([64, 128, 1024]) 0.953 ms ``` Pull Request resolved: pytorch#96079 Approved by: https://github.com/jgong5, https://github.com/kit1980
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.
Stack from ghstack (oldest at bottom):
Use float32 as acc type for
min,maxandminmax, in the functionvec::reduce_all, float16 inputs will be accumulated in float32.The performance benefit basically comes from the vectorization of
Half#96076Tested on Intel(R) Xeon(R) Gold 6248 CPU @ 2.50GHz
single socket
single core
cc @jgong5 @XiaobingSuper @sanchitintel @ashokei @jingxu10