forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ONEDNN][BC-breaking] update onednn from v2.7.3 to v3.1.1 (pytorch#97957
) **Summary** Update onednn from v2.7.3 to v3.1.1. It is bc-breaking as some APIs are changed on oneDNN side. Changes include: - PyTorch code where oneDNN is directly called - Submodule `third_party/ideep` to adapt to oneDNN's new API. - CMAKE files to fix build issues. **Test plan** Building issues and correctness are covered by CI checks. For performance, we have run TorchBench models to ensure there is no regression. Below is the comparison before and after oneDNN update. ![image](https://github.com/pytorch/pytorch/assets/12522207/415a4ff0-7566-40c6-aed0-24997a475b0e) Note: - Base commit of PyTorch: da322ea - CPU: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz (Ice Lake) Pull Request resolved: pytorch#97957 Approved by: https://github.com/jgong5, https://github.com/jerryzh168
- Loading branch information
1 parent
ff37f60
commit 97a291f
Showing
19 changed files
with
164 additions
and
189 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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 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
Submodule ideep
updated
22 files
+10 −0 | include/ideep.hpp | |
+6 −0 | include/ideep/abstract_types.hpp | |
+179 −152 | include/ideep/attributes.hpp | |
+45 −85 | include/ideep/operators/batchnorm.hpp | |
+1 −1 | include/ideep/operators/binary.hpp | |
+3 −3 | include/ideep/operators/channel_shuffle.hpp | |
+3 −10 | include/ideep/operators/concat.hpp | |
+235 −374 | include/ideep/operators/conv.hpp | |
+90 −121 | include/ideep/operators/deconv.hpp | |
+4 −6 | include/ideep/operators/eltwise.hpp | |
+32 −38 | include/ideep/operators/inner_product.hpp | |
+7 −13 | include/ideep/operators/layernorm.hpp | |
+6 −15 | include/ideep/operators/lrn.hpp | |
+79 −79 | include/ideep/operators/lstm.hpp | |
+232 −116 | include/ideep/operators/matmul.hpp | |
+63 −59 | include/ideep/operators/pool.hpp | |
+4 −6 | include/ideep/operators/prelu.hpp | |
+6 −6 | include/ideep/operators/softmax.hpp | |
+1 −1 | include/ideep/operators/sum.hpp | |
+242 −256 | include/ideep/tensor.hpp | |
+43 −0 | include/ideep/utils.hpp | |
+1 −1 | mkl-dnn |
Oops, something went wrong.