-
-
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
[breaking] Change internal model serialization to UBJSON. #7556
Conversation
Treelite doesn't need to be updated, since it already handles integer arrays for |
Ah, the parser is interesting, I should learn more about it. Thanks for sharing. |
4cfc74a
to
d9687ab
Compare
@hcho3 Could you please take another look? |
Added an extra optimization to avoid the i64 array for split index. Also, fixed the type used in the tree param.(#7565) |
This PR breaks the schema of JSON, the
default_left
field is changed from boolean to integer so that we can use typed array. XGBoost itself will continue to load the old models, third-party libraries that depend on this schema will have to make changes accordingly. I can help with treelite once the full PR is merged.Extracted from #7545 .