Skip to content

Commit b72737e

Browse files
cccclaifacebook-github-bot
authored andcommitted
Deprecate bytecode v3 and bump kMinSupportedBytecodeVersion to 4 (pytorch#75149)
Summary: Pull Request resolved: pytorch#75149 https://github.com/pytorch/rfcs/blob/master/RFC-0017-PyTorch-Operator-Versioning.md ghstack-source-id: 152906910 Test Plan: CI Reviewed By: qihqi Differential Revision: D35338681 fbshipit-source-id: 03cb699696af2c946d67ece95bdc019fc4a4cb11
1 parent a405998 commit b72737e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caffe2/serialize/versions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ constexpr uint64_t kProducedBytecodeVersion = 0x8L;
134134
// kMinSupportedBytecodeVersion <= model_version <= kMaxSupportedBytecodeVersion
135135
// (in loader), we should support this model_version. For example, we provide a
136136
// wrapper to handle an updated operator.
137-
constexpr uint64_t kMinSupportedBytecodeVersion = 0x3L;
137+
constexpr uint64_t kMinSupportedBytecodeVersion = 0x4L;
138138
constexpr uint64_t kMaxSupportedBytecodeVersion = 0x8L;
139139

140140
} // namespace serialize

0 commit comments

Comments
 (0)