Remove unused parameters in RABIT. (#9108)
This commit is contained in:
@@ -200,12 +200,6 @@ void AllreduceBase::SetParam(const char *name, const char *val) {
|
||||
if (!strcmp(name, "DMLC_WORKER_CONNECT_RETRY")) {
|
||||
connect_retry = atoi(val);
|
||||
}
|
||||
if (!strcmp(name, "rabit_bootstrap_cache")) {
|
||||
rabit_bootstrap_cache = utils::StringToBool(val);
|
||||
}
|
||||
if (!strcmp(name, "rabit_debug")) {
|
||||
rabit_debug = utils::StringToBool(val);
|
||||
}
|
||||
if (!strcmp(name, "rabit_timeout")) {
|
||||
rabit_timeout = utils::StringToBool(val);
|
||||
}
|
||||
|
||||
@@ -487,10 +487,6 @@ class AllreduceBase : public IEngine {
|
||||
int world_size; // NOLINT
|
||||
// connect retry time
|
||||
int connect_retry; // NOLINT
|
||||
// enable bootstrap cache 0 false 1 true
|
||||
bool rabit_bootstrap_cache = false; // NOLINT
|
||||
// enable detailed logging
|
||||
bool rabit_debug = false; // NOLINT
|
||||
// by default, if rabit worker not recover in half an hour exit
|
||||
std::chrono::seconds timeout_sec{std::chrono::seconds{1800}}; // NOLINT
|
||||
// flag to enable rabit_timeout
|
||||
|
||||
Reference in New Issue
Block a user