Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions faiss/perf_tests/bench_scalar_quantizer_accuracy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ static void bench_reconstruction_error(
ScalarQuantizer::QuantizerType type,
int d,
int n) {
state.SetLabel(faiss::get_compile_options());
std::vector<float> x(d * n);

float_rand(x.data(), d * n, 12345);
Expand Down Expand Up @@ -64,7 +63,6 @@ static void bench_reconstruction_error(
state.counters["ndiff_for_idempotence"] = ndiff;

state.counters["code_size_two"] = codes.size();
state.SetLabel(faiss::get_compile_options());
}

int main(int argc, char** argv) {
Expand Down
1 change: 0 additions & 1 deletion faiss/perf_tests/bench_scalar_quantizer_decode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ static void bench_decode(
ScalarQuantizer::QuantizerType type,
int d,
int n) {
state.SetLabel(faiss::get_compile_options());
std::vector<float> x(d * n);

float_rand(x.data(), d * n, 12345);
Expand Down
3 changes: 0 additions & 3 deletions faiss/perf_tests/bench_scalar_quantizer_distance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ static void bench_distance(
ScalarQuantizer::QuantizerType type,
int n,
int d) {
state.SetLabel(faiss::get_compile_options());
std::vector<float> x(d * n);

float_rand(x.data(), d * n, 12345);
Expand All @@ -46,8 +45,6 @@ static void bench_distance(
std::vector<uint8_t> codes(code_size * n);
sq.compute_codes(x.data(), codes.data(), n);

state.SetLabel(faiss::get_compile_options());

std::unique_ptr<ScalarQuantizer::SQDistanceComputer> dc(
sq.get_distance_computer());
dc->codes = codes.data();
Expand Down
1 change: 0 additions & 1 deletion faiss/perf_tests/bench_scalar_quantizer_encode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ static void bench_encode(
ScalarQuantizer::QuantizerType type,
int d,
int n) {
state.SetLabel(faiss::get_compile_options());
std::vector<float> x(d * n);

float_rand(x.data(), d * n, 12345);
Expand Down