We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
inferBatchSizeParameter
1 parent 425d136 commit 5f84265Copy full SHA for 5f84265
jvm-packages/xgboost4j-spark/src/main/scala/ml/dmlc/xgboost4j/scala/spark/XGBoostEstimator.scala
@@ -630,8 +630,7 @@ private[spark] trait XGBoostModel[M <: XGBoostModel[M]] extends Model[M] with ML
630
631
// Broadcast the booster to each executor.
632
val bBooster = input.sparkSession.sparkContext.broadcast(nativeBooster)
633
- // TODO configurable
634
- val inferBatchSize = 32 << 10
+ val inferBatchSize = getInferBatchSize
635
val missing = getMissing
636
637
// Here, we use RDD instead of DF to avoid different encoders for different
0 commit comments