Commit 31c3a89e authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

alert output and comment

parent 542d5e85
...@@ -129,8 +129,9 @@ void OverallConfig::CheckParamConflict() { ...@@ -129,8 +129,9 @@ void OverallConfig::CheckParamConflict() {
} else if (gbdt_config->tree_learner_type == TreeLearnerType::kDataParallelTreeLearner) { } else if (gbdt_config->tree_learner_type == TreeLearnerType::kDataParallelTreeLearner) {
is_parallel_find_bin = true; is_parallel_find_bin = true;
if (gbdt_config->tree_config.histogram_pool_size >= 0) { if (gbdt_config->tree_config.histogram_pool_size >= 0) {
Log::Error("Auto set histogram_pool_size to non-limit, to reduce communication cost"); Log::Error("Histogram LRU queue was enabled (histogram_pool_size=%f). Will disable this for reducing communication cost."
// To reduce communication cost, not limit pool size when using data parallel , tree_config.histogram_pool_size);
// Change pool size to -1(not limit) when using data parallel for reducing communication cost
gbdt_config->tree_config.histogram_pool_size = -1; gbdt_config->tree_config.histogram_pool_size = -1;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment