Skip to content

Fix import for DART in XGBoost 3.3 and 3.4 - #688

Merged
chyunsu3 merged 2 commits into
dmlc:mainlinefrom
chyunsu3:fix_xgb_dart
Aug 23, 2026
Merged

Fix import for DART in XGBoost 3.3 and 3.4#688
chyunsu3 merged 2 commits into
dmlc:mainlinefrom
chyunsu3:fix_xgb_dart

Conversation

@chyunsu3

Copy link
Copy Markdown
Collaborator

Closes #668

}

bool GradientBoosterHandler::EndObject() {
if (name == "dart" && !weight_drop.empty()) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

XGBoost 3.3 no longer specifies a separate "dart" booster type for DART.

@chyunsu3 chyunsu3 mentioned this pull request Aug 22, 2026
3 tasks
@codecov

codecov Bot commented Aug 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.39%. Comparing base (b249a42) to head (d4ffed3).

Additional details and impacted files
@@             Coverage Diff              @@
##           mainline     #688      +/-   ##
============================================
- Coverage     84.70%   84.39%   -0.32%     
============================================
  Files            75       75              
  Lines          6860     6862       +2     
  Branches        557      557              
============================================
- Hits           5811     5791      -20     
- Misses         1049     1071      +22     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chyunsu3

Copy link
Copy Markdown
Collaborator Author

@trivialfis Can you review?

@chyunsu3
chyunsu3 merged commit efc1fc1 into dmlc:mainline Aug 23, 2026
19 of 20 checks passed
@chyunsu3
chyunsu3 deleted the fix_xgb_dart branch August 23, 2026 06:12
@chyunsu3 chyunsu3 mentioned this pull request Aug 24, 2026
18 tasks
chyunsu3 added a commit to chyunsu3/treelite that referenced this pull request Aug 25, 2026
* Fix import for DART in XGBoost 3.4

* Fix import for DART in XGBoost 3.3
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.

test_xgboost_integration::test_xgb_dart is failing with XGBoost 3.3.0

2 participants