pytorch/torch/csrc/jit/serialization
Meghan Lele bbae6774c1 [JIT] Remove buffer metadata serialization forward-compat gate (#49990)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49990

**Summary**
This commit removes the forward-compatibility gate for buffer metadata
serialization. It was introduced to allow versions of fbcode
binaries statically linked against older versions of PyTorch (without
buffer metadata in JIT) to deserialize archives produced by new versions
of PyTorch. Enough time has probably passed that these old binaries
don't exist anymore, so it should be safe to remove the gate.

**Test Plan**
Internal tests.

Test Plan: Imported from OSS

Reviewed By: xw285cornell

Differential Revision: D25743199

Pulled By: SplitInfinity

fbshipit-source-id: 58d82ab4362270b309956826e36c8bf9d620f081
2021-01-05 11:03:28 -08:00
..
export_module.cpp Fix errata (#49903) 2020-12-28 20:40:41 -08:00
export.cpp [JIT] Fix clang-tidy warnings in jit/serialization (#47991) 2020-12-02 12:35:40 -08:00
export.h [PyTorch Mobile] Export Operator List from Mobile CompilationUnit instead of from TorchScript Model (#49385) 2020-12-18 11:17:57 -08:00
import_export_constants.h Revert D25152559: T66557700 Support default argument values of a method 2020-12-17 14:05:49 -08:00
import_export_functions.h Fix the typo in operator name string (#36296) 2020-04-10 12:56:16 -07:00
import_export_helpers.cpp [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
import_export_helpers.h
import_legacy.cpp Add another torch::jit::load API to load PyTorch model with shared_ptr PyTorchStreamReader input (#48802) 2020-12-06 18:09:25 -08:00
import_legacy.h Add another torch::jit::load API to load PyTorch model with shared_ptr PyTorchStreamReader input (#48802) 2020-12-06 18:09:25 -08:00
import_source.cpp [JIT] Fix clang-tidy warnings in jit/serialization (#47991) 2020-12-02 12:35:40 -08:00
import_source.h Generalize constant_table from tensor only to ivalue (#40718) 2020-07-09 09:09:40 -07:00
import.cpp Add another torch::jit::load API to load PyTorch model with shared_ptr PyTorchStreamReader input (#48802) 2020-12-06 18:09:25 -08:00
import.h Add another torch::jit::load API to load PyTorch model with shared_ptr PyTorchStreamReader input (#48802) 2020-12-06 18:09:25 -08:00
onnx.cpp [ONNX] Update ONNX shape inference (#43929) 2020-09-14 15:36:19 -07:00
onnx.h [ONNX] Utilize ONNX shape inference for ONNX exporter (#40628) 2020-08-30 18:35:46 -07:00
pickle.cpp [JIT] Fix clang-tidy warnings in jit/serialization (#47991) 2020-12-02 12:35:40 -08:00
pickle.h [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
pickler.cpp Fix errata (#49903) 2020-12-28 20:40:41 -08:00
pickler.h Fix errata (#49903) 2020-12-28 20:40:41 -08:00
python_print.cpp [JIT] Remove buffer metadata serialization forward-compat gate (#49990) 2021-01-05 11:03:28 -08:00
python_print.h [jit] Speed up saving in case of many classes (#44589) 2020-09-15 15:10:45 -07:00
source_range_serialization_impl.h
source_range_serialization.cpp [JIT] clang-format JIT code (#35115) 2020-03-26 11:24:51 -07:00
source_range_serialization.h [JIT] Fix clang-tidy warnings in jit/serialization (#47991) 2020-12-02 12:35:40 -08:00
type_name_uniquer.cpp [jit] Fix name collision on load (#35720) 2020-04-01 00:02:38 -07:00
type_name_uniquer.h [jit] Fix name collision on load (#35720) 2020-04-01 00:02:38 -07:00
unpickler.cpp Fix errata (#49903) 2020-12-28 20:40:41 -08:00
unpickler.h [JIT] Fix clang-tidy warnings in jit/serialization (#47991) 2020-12-02 12:35:40 -08:00