Skip to content
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

Use UBJSON for serializing splits for vertical data split. #10059

Merged
merged 2 commits into from
Feb 24, 2024

Conversation

trivialfis
Copy link
Member

@trivialfis trivialfis commented Feb 21, 2024

Explicitly serialize the split entry into UBJSON instead of relying on implicit binary representation.

  • Restore the test for vector leaf.
  • Use F64 for storing gradient.
  • A new allgather V to avoid using special characters.

cc @rongou .

@trivialfis
Copy link
Member Author

I think the failure is unrelated, will try to fix it in a different PR.

@@ -192,6 +192,9 @@ inline std::vector<T> AllgatherV(std::vector<T> const &input) {
return result;
}

[[nodiscard]] std::vector<std::vector<char>> VectorAllgatherV(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add some comments?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@trivialfis trivialfis merged commit 0ce4372 into dmlc:master Feb 24, 2024
29 checks passed
@trivialfis trivialfis deleted the comm-use-serialize branch February 24, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants