Skip to content

Commit

Permalink
Increment IVF serialization versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Nov 15, 2023
1 parent fb108df commit 54f55b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/include/raft/neighbors/detail/ivf_flat_serialize.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@

namespace raft::neighbors::ivf_flat::detail {

// Serialization version 3
// Serialization version
// No backward compatibility yet; that is, can't add additional fields without breaking
// backward compatibility.
// TODO(hcho3) Implement next-gen serializer for IVF that allows for expansion in a backward
// compatible fashion.
constexpr int serialization_version = 4;
constexpr int serialization_version = 5;

// NB: we wrap this check in a struct, so that the updated RealSize is easy to see in the error
// message.
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/raft/neighbors/detail/ivf_pq_serialize.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace raft::neighbors::ivf_pq::detail {
// backward compatibility.
// TODO(hcho3) Implement next-gen serializer for IVF that allows for expansion in a backward
// compatible fashion.
constexpr int kSerializationVersion = 3;
constexpr int kSerializationVersion = 4;

// NB: we wrap this check in a struct, so that the updated RealSize is easy to see in the error
// message.
Expand Down

0 comments on commit 54f55b7

Please sign in to comment.