pytorch/cmake
Han Qi 1bc3571078 [pytorch][PR] Add ability for a mobile::Module to save as flatbuffer (#70201)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70201

Included functions:
save_mobile_module -> saves a mobile::Module to flatbuffer
load_mobile_module_from_file -> loads a flatbuffer into mobile::Module
parse_mobile_module -> parses from bytes or deserialized flatbuffer module object

Compared to previous attempts, this diff only adds flatbuffer to cmake target and leaves fbcode/xplat ones unchanged.

Test Plan: unittest

Reviewed By: malfet, gmagogsfm

Differential Revision: D33239362

fbshipit-source-id: b9ca36b83d6af2d78cc50b9eb9e2a6fa7fce0763
2022-01-12 16:30:39 -08:00
..
External Disable ccache for nccl builds (#62208) 2021-07-27 08:07:26 -07:00
Modules ibm z14/15 SIMD support (#66407) 2022-01-04 09:40:18 -08:00
Modules_CUDA_fix Lint trailing newlines (#54737) 2021-03-30 13:09:52 -07:00
public [ROCm] Refactor how to specify AMD gpu targets using PYTORCH_ROCM_ARCH (#61706) 2021-12-13 15:41:40 -08:00
Allowlist.cmake Replace whitelist with allowlist (#42067) 2020-07-28 08:01:16 -07:00
BuildVariables.cmake
Caffe2Config.cmake.in
Caffe2ConfigVersion.cmake.in Forbid trailing whitespace (#53406) 2021-03-05 17:22:55 -08:00
cmake_uninstall.cmake.in
Codegen.cmake ibm z14/15 SIMD support (#66407) 2022-01-04 09:40:18 -08:00
DebugHelper.cmake Add debug helper function to check target property (#52093) 2021-02-11 15:37:14 -08:00
Dependencies.cmake [pytorch][PR] Add ability for a mobile::Module to save as flatbuffer (#70201) 2022-01-12 16:30:39 -08:00
FlatBuffers.cmake [pytorch][PR] Add ability for a mobile::Module to save as flatbuffer (#70201) 2022-01-12 16:30:39 -08:00
GoogleTestPatch.cmake Update CMake and use native CUDA language support (#62445) 2021-10-11 09:05:48 -07:00
IncludeSource.cpp.in CMake: Include instead of copying cpu kernel files (#67656) 2021-11-30 19:13:53 -08:00
iOS.cmake Forbid trailing whitespace (#53406) 2021-03-05 17:22:55 -08:00
Metal.cmake [GPU] Enable Metal on macosx (#47635) 2020-11-17 14:44:34 -08:00
MiscCheck.cmake Disable RDYNAMIC check with MSVC (#62949) 2021-08-18 11:51:23 -07:00
ProtoBuf.cmake Update protobuf to 3.13.1 (#62571) 2021-08-19 23:43:55 -07:00
ProtoBufPatch.cmake Update protobuf to 3.13.1 (#62571) 2021-08-19 23:43:55 -07:00
Summary.cmake Modify "gemm" code to enable access to "sbgemm_" routine in OpenBLAS (#58831) 2021-11-03 08:53:27 -07:00
TorchConfig.cmake.in [deploy] docs (#69251) 2021-12-01 21:55:18 -08:00
TorchConfigVersion.cmake.in
VulkanCodegen.cmake [vulkan] Add image format qualifier to glsl files (#69330) 2021-12-07 16:23:09 -08:00
VulkanDependencies.cmake [Vulkan]Fix build warnings-treated-as-error on Linux. (#52781) 2021-03-03 13:48:43 -08:00