XGBoost Python Package
Project Links
Meta
Author: Hyunsu Cho, Jiaming Yuan
Requires Python: >=3.12
Classifiers
Development Status
- 5 - Production/Stable
Operating System
- OS Independent
Typing
- Typed
Programming Language
- Python
- Python :: 3
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
The xgboost-cpu package provides for a minimal installation, with no support for the GPU algorithms or federated learning. It is provided to allow XGBoost to be installed in a space-constrained environment.
Note. xgboost-cpu package is only provided for x86_64 (amd64) Linux and Windows platforms. For other platforms, please install xgboost from https://pypi.org/project/xgboost/.
Note. xgboost-cpu does not provide an sdist (source distribution). You may install sdist from https://pypi.org/project/xgboost/.
Installation
From PyPI
For a stable version, install using pip:
pip install xgboost-cpu
For building from source, see build.
3.4.1
Aug 15, 2026
3.4.0
Aug 04, 2026
3.3.0
Jun 17, 2026
3.2.0
Feb 10, 2026
3.1.3
Jan 10, 2026
3.1.2
Nov 20, 2025
3.1.1
Oct 21, 2025
3.1.0
Oct 17, 2025
3.1.0rc1
Sep 26, 2025
3.0.5
Sep 05, 2025
3.0.4
Aug 11, 2025
3.0.3
Jul 30, 2025
3.0.2
May 25, 2025
3.0.1
May 13, 2025
3.0.0
Mar 15, 2025
2.1.4
Feb 06, 2025
2.1.3
Nov 26, 2024
2.1.2
Oct 23, 2024
2.1.1
Jul 31, 2024