pytorch/torch/csrc/jit/serialization
Zhengxu Chen fe277b8717 [jit][edge] Migrate to TypeFactory for jit types on mobile (#71516)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71516

Mobile should be able to contruct dynamic types by default.
ghstack-source-id: 147498365

Test Plan:
CI.

**-48KB** binary size reduction for igios BSB.
UMBEX link: https://www.internalfb.com/intern/unigraph/explorer/?jsgq_traversal_spec=%7B%22builds%22%3A[%22bsb%3A422553426218394%5Cu0040base%22%2C%22bsb%3A422553426218394%5Cu0040diff%22]%7D&unigraph_project=UnigraphProjectMbex&is_mbex_redirected

Reviewed By: iseeyuan

Differential Revision: D33673958

fbshipit-source-id: 8600c04ae929283681971aae264d3774188df9cd
(cherry picked from commit 64ebcec09e)
2022-01-26 07:32:04 +00:00
..
callstack_debug_info_serialization.cpp Reland D33284352: [jit][edge] Do not reuse mobile type parser for all unpicklers. (#71048) 2022-01-10 12:42:23 -08:00
callstack_debug_info_serialization.h [Pytorch Delegated Backend] Save operator name and function name in (#57441) 2021-05-25 13:17:54 -07:00
export_bytecode.cpp [jit][edge] Remove usage of shared_ptr<mobile::Code>. (#68037) 2021-12-16 13:11:46 -08:00
export_bytecode.h [jit][edge] Remove usage of shared_ptr<mobile::Code>. (#68037) 2021-12-16 13:11:46 -08:00
export_module.cpp [jit][edge] Migrate to TypeFactory for jit types on mobile (#71516) 2022-01-26 07:32:04 +00:00
export.cpp [ONNX] Add BFloat16 type support when export to ONNX (#66788) 2021-12-14 12:23:32 -08:00
export.h [ONNX] Update onnx function export with comments and clean up (#66817) (#67803) 2021-11-05 10:35:35 -07:00
flatbuffer_serializer.cpp [pytorch][PR] Add ability for a mobile::Module to save as flatbuffer (#70201) 2022-01-12 16:30:39 -08:00
flatbuffer_serializer.h [pytorch][PR] Add ability for a mobile::Module to save as flatbuffer (#70201) 2022-01-12 16:30:39 -08:00
import_export_constants.h [Pytorch, Mobile] Serialize inlined callstack pointer with debug handle. (#55062) 2021-05-04 09:21:12 -07:00
import_export_functions.h [PyTorch] Add tuple inline storage (#64066) 2021-10-15 12:16:51 -07:00
import_export_helpers.cpp Add SourceView which doesn't own source text as base class of Source (#65309) 2021-10-18 23:17:22 -07:00
import_export_helpers.h Add SourceView which doesn't own source text as base class of Source (#65309) 2021-10-18 23:17:22 -07:00
import_legacy.cpp [PyTorch] Add tuple inline storage (#64066) 2021-10-15 12:16:51 -07:00
import_legacy.h
import_read.cpp Reland D33284352: [jit][edge] Do not reuse mobile type parser for all unpicklers. (#71048) 2022-01-10 12:42:23 -08:00
import_read.h Reland D33284352: [jit][edge] Do not reuse mobile type parser for all unpicklers. (#71048) 2022-01-10 12:42:23 -08:00
import_source.cpp Bump version number to 7 and compile old operators with old schema (#68358) 2022-01-05 23:57:22 -08:00
import_source.h Extend Graph, CompilationUnit, and schema matching to accept optional operator version number (#69914) 2021-12-25 00:35:33 -08:00
import.cpp Reland D33284352: [jit][edge] Do not reuse mobile type parser for all unpicklers. (#71048) 2022-01-10 12:42:23 -08:00
import.h [package] track storages across lifetime of PackageExporter (#59735) 2021-06-29 14:16:54 -07:00
mobile_bytecode_generated.h Update generated header to use flatbuffer v1.12; (#71279) 2022-01-13 17:23:30 -08:00
mobile_bytecode.fbs [pytorch][PR] Add ability for a mobile::Module to save as flatbuffer (#70201) 2022-01-12 16:30:39 -08:00
onnx.cpp irange-ify 13b (#62476) 2021-08-11 13:13:44 -07:00
onnx.h
pickle.cpp Reland D33284352: [jit][edge] Do not reuse mobile type parser for all unpicklers. (#71048) 2022-01-10 12:42:23 -08:00
pickle.h Reland D33284352: [jit][edge] Do not reuse mobile type parser for all unpicklers. (#71048) 2022-01-10 12:42:23 -08:00
pickler.cpp [jit][edge] Migrate to TypeFactory for jit types on mobile (#71516) 2022-01-26 07:32:04 +00:00
pickler.h Remove WindowsTorchApiMacro.h in favor of Export.h (#69585) 2021-12-09 17:30:09 -08:00
python_print.cpp Fix inconsistency between new and old upgrader design (#71185) 2022-01-12 09:54:31 -08:00
python_print.h Remove WindowsTorchApiMacro.h in favor of Export.h (#69585) 2021-12-09 17:30:09 -08:00
source_range_serialization_impl.h Lock unpickling of source ranges 2021-09-22 20:41:02 -07:00
source_range_serialization.cpp Reland D33284352: [jit][edge] Do not reuse mobile type parser for all unpicklers. (#71048) 2022-01-10 12:42:23 -08:00
source_range_serialization.h Add SourceView which doesn't own source text as base class of Source (#65309) 2021-10-18 23:17:22 -07:00
storage_context.h [package] fix storage serialization collision (#61806) 2021-07-19 18:22:36 -07:00
type_name_uniquer.cpp
type_name_uniquer.h
unpickler.cpp [jit][edge] Migrate to TypeFactory for jit types on mobile (#71516) 2022-01-26 07:32:04 +00:00
unpickler.h Reland D33284352: [jit][edge] Do not reuse mobile type parser for all unpicklers. (#71048) 2022-01-10 12:42:23 -08:00