Skip to content

Commit

Permalink
Merge branch '6021-fix_single_row_contention_v4' into 6021-fix_single…
Browse files Browse the repository at this point in the history
…_row_contention
  • Loading branch information
Ten0 committed Jan 12, 2024
2 parents 6db33b3 + 03ebb88 commit 2022132
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/c_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2121,6 +2121,8 @@ int LGBM_BoosterCalcNumPredict(BoosterHandle handle,

// TODO in future versions of LightGBM, public API named around `FastConfig` should be made named around
// `SingleRowPredictor`, because it is specific to single row prediction, and doesn't actually hold only config.
// At the same time, one should consider removing the old non-fast single row public API that stores its Predictor
// in the booster, because that will enable removing these Predictors from the Booster, and associated initialization.
int LGBM_FastConfigFree(FastConfigHandle fastConfig) {
API_BEGIN();
delete reinterpret_cast<SingleRowPredictor*>(fastConfig);
Expand Down

0 comments on commit 2022132

Please sign in to comment.