Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit aa0ec13

Browse files
Merge pull request #273 from facebookresearch/no_default_cache
Drop default cache filename
2 parents b1b4260 + 2566cd2 commit aa0ec13

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

include/tc/core/flags.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ DECLARE_uint32(tuner_gen_number_elites);
4747
DECLARE_uint32(tuner_threads);
4848
DECLARE_string(tuner_gpus);
4949
DECLARE_bool(tuner_print_best);
50-
DECLARE_string(tuner_proto);
5150
DECLARE_string(tuner_rng_restore);
5251
DECLARE_bool(tuner_gen_restore_from_proto);
5352
DECLARE_uint32(tuner_gen_restore_number);

src/core/flags.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ DEFINE_bool(
8484
tuner_print_best,
8585
false,
8686
"Print to INFO the best tuning options after each generation");
87-
DEFINE_string(
88-
tuner_proto,
89-
"/tmp/tuner.txt",
90-
"Filename to load and store proto cache "
91-
"(TODO: Hardcoded default a security liability?)");
9287
DEFINE_string(tuner_rng_restore, "", "Rng state to restore");
9388
DEFINE_bool(
9489
tuner_gen_restore_from_proto,

tensor_comprehensions/pybinds/pybind_autotuner.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ PYBIND11_MODULE(autotuner, m) {
8585
[](tc::autotune::GeneticAutotunerATen& instance, std::string& gpus) {
8686
tc::FLAGS_tuner_gpus = gpus;
8787
})
88-
.def(
89-
"proto",
90-
[](tc::autotune::GeneticAutotunerATen& instance, std::string& proto) {
91-
tc::FLAGS_tuner_proto = proto;
92-
})
9388
.def(
9489
"restore_from_proto",
9590
[](tc::autotune::GeneticAutotunerATen& instance,

0 commit comments

Comments
 (0)