From 0476ca1ac9867002427f84f58aeaae74f7c684d5 Mon Sep 17 00:00:00 2001 From: Tilps Date: Mon, 22 Mar 2021 13:38:15 +1100 Subject: [PATCH] Make multi-gather default. --- src/mcts/params.cc | 4 ++-- src/selfplay/tournament.cc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mcts/params.cc b/src/mcts/params.cc index bce4cbde51..2fba819acb 100644 --- a/src/mcts/params.cc +++ b/src/mcts/params.cc @@ -341,7 +341,7 @@ void SearchParams::Populate(OptionsParser* options) { options->Add(kCacheHistoryLengthId, 0, 7) = 0; options->Add(kPolicySoftmaxTempId, 0.1f, 10.0f) = 1.359f; options->Add(kMaxCollisionEventsId, 1, 65536) = 32; - options->Add(kMaxCollisionVisitsId, 1, 1000000) = 9999; + options->Add(kMaxCollisionVisitsId, 1, 1000000) = 32; options->Add(kOutOfOrderEvalId) = true; options->Add(kMaxOutOfOrderEvalsId, 0.0f, 100.0f) = 2.4f; options->Add(kStickyEndgamesId) = true; @@ -372,7 +372,7 @@ void SearchParams::Populate(OptionsParser* options) { options->Add(kDrawScoreBlackId, -100, 100) = 0; options->Add(kNpsLimitId, 0.0f, 1e6f) = 0.0f; options->Add(kSolidTreeThresholdId, 1, 2000000000) = 100; - options->Add(kMultiGatherEnabledId) = false; + options->Add(kMultiGatherEnabledId) = true; options->Add(kTaskWorkersPerSearchWorkerId, 0, 128) = 4; options->Add(kMinimumWorkSizeForProcessingId, 2, 100000) = 20; options->Add(kMinimumWorkSizeForPickingId, 1, 100000) = 1; diff --git a/src/selfplay/tournament.cc b/src/selfplay/tournament.cc index 5831f12005..0e26595f2b 100644 --- a/src/selfplay/tournament.cc +++ b/src/selfplay/tournament.cc @@ -139,6 +139,7 @@ void SelfPlayTournament::PopulateOptions(OptionsParser* options) { defaults->Set(NetworkFactory::kBackendId, "multiplexing"); defaults->Set(SearchParams::kStickyEndgamesId, false); defaults->Set(SearchParams::kTwoFoldDrawsId, false); + defaults->Set(SearchParams::kTaskWorkersPerSearchWorkerId, 0); } SelfPlayTournament::SelfPlayTournament(