Fix loading DMatrix binary in distributed env. (#8149)
- Try to load DMatrix binary before trying to parse text input. - Remove some unmaintained code.
This commit is contained in:
@@ -203,9 +203,7 @@ XGB_DLL int XGBGetGlobalConfig(const char** json_str) {
|
||||
API_END();
|
||||
}
|
||||
|
||||
XGB_DLL int XGDMatrixCreateFromFile(const char *fname,
|
||||
int silent,
|
||||
DMatrixHandle *out) {
|
||||
XGB_DLL int XGDMatrixCreateFromFile(const char *fname, int silent, DMatrixHandle *out) {
|
||||
API_BEGIN();
|
||||
bool load_row_split = false;
|
||||
#if defined(XGBOOST_USE_FEDERATED)
|
||||
|
||||
Reference in New Issue
Block a user