pytorch/tools/setup_helpers
Jiakai Liu 60372dc713 remove backward functions from jit-op-registry for mobile build (#26851)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26851

Add codegen option to remove backward ops from jit-op-registry as they are not
likely to be used for inference only mobile build.

Measured ARM-v7 AAR build size change: 5,804,182 -> 5,331,219.

Test Plan: - build and integrate with demo app;

Differential Revision: D17587422

Pulled By: ljk53

fbshipit-source-id: 08c0fc7a710698a0d4baaf16bbb73cb812b1126a
2019-09-25 23:17:25 -07:00
..
__init__.py Remove escape_path in our build system. (#24044) 2019-08-13 20:38:19 -07:00
cmake.py remove tools/setup_helpers/cudnn.py (#25876) 2019-09-24 07:44:33 -07:00
cuda.py Remove escape_path in our build system. (#24044) 2019-08-13 20:38:19 -07:00
env.py Hotpatch CXXFLAGS to be the same as CFLAGS if CXXFLAGS is not set. (#23568) 2019-08-07 16:25:57 -07:00
generate_code.py remove backward functions from jit-op-registry for mobile build (#26851) 2019-09-25 23:17:25 -07:00
numpy_.py
nvtoolext.py