Skip to content

Commit a1f07f1

Browse files
committed
Revert "Add new sweep-bench benchmark (ikawrakow#225)"
1 parent e6e9545 commit a1f07f1

File tree

7 files changed

+2
-369
lines changed

7 files changed

+2
-369
lines changed

common/common.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,15 +1777,6 @@ bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_pa
17771777
params.warmup = false;
17781778
return true;
17791779
}
1780-
if (arg == "--output-format") {
1781-
CHECK_ARG
1782-
std::string value(argv[i]);
1783-
/**/ if (value == "jsonl") { params.sweep_bench_output_jsonl = true; }
1784-
else if (value == "md") { params.sweep_bench_output_jsonl = false; }
1785-
else { invalid_param = true; }
1786-
return true;
1787-
}
1788-
17891780
#ifndef LOG_DISABLE_LOGS
17901781
// Parse args for logging parameters
17911782
if (log_param_single_parse(argv[i])) {

common/common.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,11 @@ struct gpt_params {
281281

282282
std::string lora_outfile = "ggml-lora-merged-f16.gguf";
283283

284-
bool sweep_bench_output_jsonl = false;
284+
// bool sweep_bench_output_jsonl = false;
285285

286286
// batched-bench params
287287
bool batched_bench_output_jsonl = false;
288+
288289
};
289290

290291
void gpt_params_parse_from_env(gpt_params & params);

examples/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,5 @@ else()
5151
add_subdirectory(save-load-state)
5252
add_subdirectory(simple)
5353
add_subdirectory(speculative)
54-
add_subdirectory(sweep-bench)
5554
add_subdirectory(tokenize)
5655
endif()

examples/sweep-bench/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/sweep-bench/README.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

examples/sweep-bench/sweep-bench-plot.py

Lines changed: 0 additions & 100 deletions
This file was deleted.

examples/sweep-bench/sweep-bench.cpp

Lines changed: 0 additions & 189 deletions
This file was deleted.

0 commit comments

Comments
 (0)