pytorch
9dd7e836 - update xnnpack to newer version and update API usage in pytorch (#94330)

Commit
1 year ago
update xnnpack to newer version and update API usage in pytorch (#94330) Summary: Update XNNPACK to 51a987591a6fc9f0fc0707077f53d763ac132cbf (https://github.com/google/XNNPACK/commits/51a987591a6fc9f0fc0707077f53d763ac132cbf) Update the corresponding CMake and BUCK rules, as well as the generate_wrapper.py for the new version. Due to XNNPACK having already changed a lot. We need to update XNNPACK in this time for many reasons. Firstly, XNNAPCK has updated a lot, and developers' community has re-factored codes' such as API changes. We can see from their cmakefile.txt to see there are many changes! Thus, in order to follow up upstream. We need to update xnnpack at this time. It is very crucial for our future development. Also, many projects are relying on newer versions of XNNPACK, so we probably need to update XNNPACK third-party libs at this time. we have some api changes of XNNPACK, so we also need to update them in this time. We also update target building files and generate-wrapper.py file to make this process more automatically. The original target files have some files which are missing, so we add them into buck2 building files so that it can build and test XNNPACK successfully. Test Plan: buck2 build //xplat/third-party/XNNPACK:operators buck2 build //xplat/third-party/XNNPACK:XNNPACK buck2 test fbcode//caffe2/test:xnnpack_integration Reviewed By: digantdesai Differential Revision: D43092938 Pull Request resolved: https://github.com/pytorch/pytorch/pull/94330 Approved by: https://github.com/digantdesai, https://github.com/albanD
Author
Cuiqing Li
Committer
Parents
Loading