Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
31c3a89e
Commit
31c3a89e
authored
Oct 23, 2016
by
Guolin Ke
Committed by
GitHub
Oct 23, 2016
Browse files
alert output and comment
parent
542d5e85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/io/config.cpp
src/io/config.cpp
+3
-2
No files found.
src/io/config.cpp
View file @
31c3a89e
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment