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

Commit 4229ac4

Browse files
Merge pull request #282 from facebookresearch/fix-python-test
Fix broken python tests on CI
2 parents 8da9b14 + 713ac4c commit 4229ac4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/source/autotuner.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ The parameters that control the autotuner's behavior are the following:
3131
* :code:`Number of threads`: The number of threads that are used to compile different candidates in parallel.
3232
* :code:`GPUs`: A comma separated list of GPUs (ids) to use for evaluating candidates (e.g., "0,1,2,3").
3333
* :code:`RNG state`: The state used to seed the tuner's RNG.
34-
* :code:`Proto`: A protobuf filename to (re)store compilation results and profiling information of the candidate solutions.
3534
* :code:`min_launch_total_threads`: Prune out kernels mapped to fewer than this many threads and block. Set this to :code:`1` to avoid pruning.
3635

3736
Caching

tensor_comprehensions/tc_unit.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ def __init__(self, tc_lang, **kwargs):
192192

193193
def set_autotuner_parameters(
194194
self, pop_size=20, crossover_rate=80, mutation_rate=7, generations=10,
195-
number_elites=1, threads=8, gpus="0", proto="/tmp/tuner.txt",
196-
restore_from_proto=False, restore_number=10, log_generations=False,
195+
number_elites=1, threads=8, gpus="0", restore_from_proto=False,
196+
restore_number=10, log_generations=False,
197197
tuner_min_launch_total_threads=64, **kwargs
198198
):
199199
self.autotuner.pop_size(pop_size)
@@ -203,7 +203,6 @@ def set_autotuner_parameters(
203203
self.autotuner.number_elites(number_elites)
204204
self.autotuner.threads(threads)
205205
self.autotuner.gpus(gpus)
206-
self.autotuner.proto(proto)
207206
self.autotuner.restore_from_proto(restore_from_proto)
208207
self.autotuner.restore_number(restore_number)
209208
self.autotuner.log_generations(log_generations)

0 commit comments

Comments
 (0)