Nikita Shulga
|
7b4a7661d6
|
Make PyTorch partially cross-compilable for Apple M1 (#49701)
Summary:
Update CPUINFO to include https://github.com/pytorch/cpuinfo/pull/51
Update sleef to include https://github.com/shibatch/sleef/pull/376
Modify aten/src/ATen/native/quantized/cpu/qnnpack/CMakeLists.txt to recognize CMAKE_OSX_ARCHITECTURES
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49701
Test Plan: `cmake -DCMAKE_OSX_ARCHITECTURES=x86_64 -DPYTHON_EXECUTABLE=/usr/bin/python3 -DUSE_XNNPACK=NO -DBUILD_TEST=YES .. -G Ninja; ninja basic` finishes successfully on Apple M1
Reviewed By: janeyx99
Differential Revision: D25669219
Pulled By: malfet
fbshipit-source-id: 5ee36b64e3a7ac76448f2a300ac4993375a26de5
|
2020-12-22 09:33:12 -08:00 |
|
Nikita Shulga
|
c29f51642e
|
Modify NEON check for ARM64 on OS X (#48982)
Summary:
Use CMAKE_SYSTEM_PROCESSOR rather than run sysctl
Fixes https://github.com/pytorch/pytorch/issues/48874
Pull Request resolved: https://github.com/pytorch/pytorch/pull/48982
Reviewed By: walterddr
Differential Revision: D25385883
Pulled By: malfet
fbshipit-source-id: 47b6dc5be8d75f6d4a66a11c564abdfe31ac90b4
|
2020-12-08 07:58:22 -08:00 |
|
Nikita Shulga
|
e7ca62be08
|
Fix PyTorch compilation on Apple M1 (#48275)
Summary:
Update cpuinfo and sleef to contain build fixes for M1
Fixes https://github.com/pytorch/pytorch/issues/48145
Pull Request resolved: https://github.com/pytorch/pytorch/pull/48275
Reviewed By: walterddr
Differential Revision: D25135153
Pulled By: malfet
fbshipit-source-id: 2a82e14407d6f40c7dacd11109a8499d808c8ec1
|
2020-11-26 07:08:33 -08:00 |
|
Orion Reblitz-Richardson
|
aa38ae303d
|
[build] Setup to build ATen from root CMake file (#7163)
* Setup to build ATen from root CMake file
* Move aten/src/TH/cmake into cmake/Modules
* Add special code path for FindMKL for merge
|
2018-05-02 19:33:31 -07:00 |
|