Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use binary format by default for now
Browse files Browse the repository at this point in the history
hcho3 committed Oct 2, 2024
1 parent 90ae57d commit 240b653
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qa/L0_e2e/generate_example_model.py
Original file line number Diff line number Diff line change
@@ -467,7 +467,9 @@ def build_model(

if output_format is None:
if model_type == "xgboost":
output_format = "xgboost_ubj"
# TODO(hcho3): Update to "xgboost_ubj" when XGBoost removes support
# for legacy binary format
output_format = "xgboost"
elif model_type == "lightgbm":
output_format = "lightgbm"
elif model_type in {"sklearn", "cuml"}:

0 comments on commit 240b653

Please sign in to comment.