[EM] Support ExtMemQdm in the GPU predictor. (#10694)

This commit is contained in:
Jiaming Yuan
2024-08-13 12:21:11 +08:00
committed by GitHub
parent 43704549a2
commit 2ecc85ffad
6 changed files with 124 additions and 129 deletions

View File

@@ -494,7 +494,7 @@ XGB_DLL int XGDMatrixCreateFromCallback(DataIterHandle iter, DMatrixHandle proxy
* - missing: Which value to represent missing value
* - nthread (optional): Number of threads used for initializing DMatrix.
* - max_bin (optional): Maximum number of bins for building histogram.
* \param out The created Device Quantile DMatrix
* \param out The created Quantile DMatrix.
*
* \return 0 when success, -1 when failure happens
*/

View File

@@ -72,7 +72,7 @@ class MetaInfo {
* if specified, xgboost will start from this init margin
* can be used to specify initial prediction to boost from.
*/
linalg::Tensor<float, 2> base_margin_; // NOLINT
linalg::Matrix<float> base_margin_; // NOLINT
/*!
* \brief lower bound of the label, to be used for survival analysis (censored regression)
*/

View File

@@ -1,5 +1,5 @@
/**
* Copyright 2017-2023 by Contributors
* Copyright 2017-2024, XGBoost Contributors
* \file predictor.h
* \brief Interface of predictor,
* performs predictions for a gradient booster.
@@ -15,7 +15,6 @@
#include <functional> // for function
#include <memory> // for shared_ptr
#include <string>
#include <utility> // for make_pair
#include <vector>
// Forward declarations