Bump produced file format version (#36085)

Summary:
This was left off of #35741, but the max supported file format change
has been landed for several weeks, so this should be fine to land.
](https://our.intern.facebook.com/intern/diff/20875051/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/36085

Pulled By: driazati

Reviewed By: eellison

Differential Revision: D20875051

fbshipit-source-id: c3b84c85d791cb6f286a2ed38ca5cd1219b332b2
This commit is contained in:
davidriazati
2020-04-09 22:50:49 -07:00
committed by Facebook GitHub Bot
parent aac36a89ff
commit 2ec6a30722

View File

@@ -92,7 +92,12 @@ namespace serialize {
constexpr uint64_t kMinSupportedFileFormatVersion = 0x1L;
constexpr uint64_t kMaxSupportedFileFormatVersion = 0x3L;
constexpr uint64_t kProducedFileFormatVersion = 0x2L;
// Versions (i.e. why was the version number bumped?)
// 1. Initial version
// 2. Removed op_version_set version numbers
// 3. Added type tags to pickle serialization of container types
constexpr uint64_t kProducedFileFormatVersion = 0x3L;
// Writer-specific constants
constexpr uint64_t kFieldAlignment = 64;