Skip to content

3.1.0 Release Candidate #11704

@hcho3

Description

@hcho3

Hi everyone, we are delighted to announce a new release 3.1.0 for XGBoost in the upcoming weeks. We invite everyone to try out the release candidate (RC).

Draft of the release note: https://xgboost.readthedocs.io/en/latest/changes/v3.1.0.html

Feedback period: until the end of October 10, 2025. No new feature will be added to the release branch; only bug fixes will be backported. If you have specific items that you want to include in the upcoming release, please share them in the comment below. Let's ensure that:

  • Each item has an associated ticket
  • Blocking issue must be marked as blocking
  • Breaking change must be marked as breaking

@dmlc/xgboost-committer

Available packages:

  • Python package
pip install xgboost==3.1.0rc1

For CPU-only build:

pip install xgboost-cpu==3.1.0rc1
  • New: Python package for CUDA 13 environment
pip install xgboost-cu13==3.1.0rc1
  • JVM packages
Show instructions for CPU (Maven/SBT)

Maven

<dependencies>
  ...
  <dependency>
      <groupId>ml.dmlc</groupId>
      <artifactId>xgboost4j-spark_2.13</artifactId>
      <version>3.1.0-RC1</version>
  </dependency>
</dependencies>

<repositories>
  <repository>
    <id>XGBoost4J Release Repo</id>
    <name>XGBoost4J Release Repo</name>
    <url>https://s3-us-west-2.amazonaws.com/xgboost-maven-repo/release/</url>
  </repository>
</repositories>

SBT

libraryDependencies ++= Seq(
  "org.apache.spark" %% "spark-core" % "3.5.0",
  "org.apache.spark" %% "spark-sql" % "3.5.0",
  "org.apache.spark" %% "spark-mllib" % "3.5.0",
  "ml.dmlc" %% "xgboost4j-spark" % "3.1.0-RC1"
)

resolvers += ("XGBoost4J Release Repo"
  at "https://s3-us-west-2.amazonaws.com/xgboost-maven-repo/release/")

Show instructions for GPU (Maven/SBT)

Maven

<dependencies>
  ...
  <dependency>
      <groupId>ml.dmlc</groupId>
      <artifactId>xgboost4j-spark-gpu_2.13</artifactId>
      <version>3.1.0-RC1</version>
  </dependency>
</dependencies>

<repositories>
  <repository>
    <id>XGBoost4J Release Repo</id>
    <name>XGBoost4J Release Repo</name>
    <url>https://s3-us-west-2.amazonaws.com/xgboost-maven-repo/release/</url>
  </repository>
</repositories>

SBT

libraryDependencies ++= Seq(
  "org.apache.spark" %% "spark-core" % "3.5.0",
  "org.apache.spark" %% "spark-sql" % "3.5.0",
  "org.apache.spark" %% "spark-mllib" % "3.5.0",
  "ml.dmlc" %% "xgboost4j-spark-gpu" % "3.1.0-RC1"
)

resolvers += ("XGBoost4J Release Repo"
  at "https://s3-us-west-2.amazonaws.com/xgboost-maven-repo/release/")

  • R package
    xgboost_r_gpu_linux_3.1.0.tar.gz: Download
82495db2553ec661ea7c0c3b9dab7e2073b9e99ea32518bf2bc4edc05e1396f8  xgboost_r_gpu_linux.tar.gz

Backports

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions