Clear configuration cache. (#7826)

This commit is contained in:
Jiaming Yuan
2022-04-21 19:09:54 +08:00
committed by GitHub
parent 52d4eda786
commit 401d451569

View File

@@ -397,7 +397,7 @@ class LearnerConfiguration : public Learner {
this->ValidateParameters();
}
// FIXME(trivialfis): Clear the cache once binary IO is gone.
cfg_.clear();
monitor_.Stop("Configure");
}