-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pyspark] fix empty data issue when constructing DMatrix #8245
Conversation
1. Fix empty data issue when user specifies the validation col 2. Fix the empty partition issues
# construct DMatrix even there is no any data since we need to ensure every | ||
# worker do the AllReduce when constructing DMatrix, or else it may hang | ||
# forever. | ||
dvalid = make(valid_data, kwargs) if has_validation_col else None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fix. Please resolve the CI errors.
Re-running the CI, since we recently transitioned to another CI system |
|
@hcho3 could you help to re-trigger this build? |
Done |
It seems the test is failing: https://buildkite.com/xgboost/xgboost-ci/builds/127#01833e0b-06cf-4fd3-b29c-dc430e6cff04 . |
@hcho3 could you help to trigger CI? |
Started the CI. |
To fix #8221