Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[auto-merge] branch-24.10 to branch-24.12 [skip ci] [bot] #436

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions examples/XGBoost-Examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,13 @@

<properties>
<encoding>UTF-8</encoding>
<xgboost.version>2.1.0-SNAPSHOT</xgboost.version>
<xgboost.version>2.2.0-SNAPSHOT</xgboost.version>
<spark.version>3.5.0</spark.version>
<scala.version>2.12.8</scala.version>
<scala.binary.version>2.12</scala.binary.version>
</properties>

<dependencies>
<dependency>
<groupId>ml.dmlc</groupId>
<artifactId>xgboost4j-gpu_${scala.binary.version}</artifactId>
<version>${xgboost.version}</version>
</dependency>
<dependency>
<groupId>ml.dmlc</groupId>
<artifactId>xgboost4j-spark-gpu_${scala.binary.version}</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import com.google.common.base.CaseFormat
import scala.collection.mutable
import scala.util.Try

import ml.dmlc.xgboost4j.scala.spark.TrackerConf

private case class XGBoostArg(
required: Boolean = false,
parse: String => Any = value => value,
Expand Down Expand Up @@ -202,7 +200,7 @@ class XGBoostArgs private[utility] (

val hostIp = params.getOrElse("rabit_tracker_host", "").toString
if (!hostIp.isEmpty) {
params ++ Map("tracker_conf" -> TrackerConf(0, hostIp))
params ++ Map("rabitTrackerHostIp" -> hostIp)
} else params
}

Expand Down