Skip to content

Commit d00bb33

Browse files
committed
Update on "Extending _get_bytecode_version to support flatbuffers format"
Extending `_get_bytecode_version` to support flatbuffers. Differential Revision: [D34900498](https://our.internmc.facebook.com/intern/diff/D34900498/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D34900498/)! [ghstack-poisoned]
2 parents 88e992b + 9197ac6 commit d00bb33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cpp/jit/test_flatbuffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ TEST(FlatbufferTest, GetByteCodeVersion) {
257257
return input + 1
258258
)");
259259
std::stringstream ss;
260-
m._save_for_mobile(ss, {}, false, true);
260+
m._save_for_mobile(ss, {}, false, /*use_flatbuffer=*/true);
261261
auto version = _get_model_bytecode_version(ss);
262262
AT_ASSERT(version == caffe2::serialize::kProducedBytecodeVersion);
263263
ss.seekg(0, ss.beg);

0 commit comments

Comments
 (0)