diff --git a/jvm-packages/xgboost4j-spark-gpu/src/main/scala/ml/dmlc/xgboost4j/scala/rapids/spark/GpuPreXGBoost.scala b/jvm-packages/xgboost4j-spark-gpu/src/main/scala/ml/dmlc/xgboost4j/scala/rapids/spark/GpuPreXGBoost.scala index d34802805d79..7e83dc6f17b0 100644 --- a/jvm-packages/xgboost4j-spark-gpu/src/main/scala/ml/dmlc/xgboost4j/scala/rapids/spark/GpuPreXGBoost.scala +++ b/jvm-packages/xgboost4j-spark-gpu/src/main/scala/ml/dmlc/xgboost4j/scala/rapids/spark/GpuPreXGBoost.scala @@ -160,7 +160,7 @@ object GpuPreXGBoost extends PreXGBoostProvider { // Check columns and build column data batch val trainingData = GpuUtils.buildColumnDataBatch(feturesCols, - labelName, weightName, marginName, "", castedDF) + labelName, weightName, marginName, groupName, castedDF) // eval map val evalDataMap = evalSets.map {