xgboost-ray
A Ray backend for distributed XGBoost
Decision gist · record as of 2026-08-14
No. The package is archived and abandoned as of June 2024, with no maintenance for over a year. While it has low install friction and permissive licensing, the lack of updates means it will likely fail with current versions of xgboost, ray, and modern Python releases. Use only if you are locked into an older, pinned environment. For new projects, consider Ray's native XGBoost integrations or maintained alternatives.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Ray to be initialized and running; package is archived and no longer maintained.
- Low install friction with a pure Python wheel.
- However, the package is archived and abandoned as of June 2024, with no releases for over a year.
License · maintenance · safety
Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
last release 2023-09-20 (1059 days) · last repo commit 2024-06-25 · 153 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 462,218 downloads/mo, #6,528 on PyPI
Alternatives
Verify before relying
pip install xgboost_ray
from xgboost_ray import RayDMatrix, RayParams, train
train_set = RayDMatrix(train_x, train_y)
bst = train(
{"objective": "binary:logistic"},
train_set,
ray_params=RayParams(num_actors=2))- Compatibility with XGBoost versions released after September 2023.
- Whether the package works with current Ray versions and modern Python releases.
- Status of multi-GPU training on current hardware and CUDA versions.
- Whether the scikit-learn API estimators (RayXGBClassifier, RayXGBRegressor, etc.) remain functional with current dependencies.
What it is and what it does
XGBoost-Ray wraps XGBoost's training and prediction functions to run them in parallel across a Ray cluster. Instead of the standard xgb.DMatrix, you pass data via RayDMatrix, which shards it across Ray's object store, and configure distributed training with RayParams. It provides both a functional API (train/predict) and scikit-learn-compatible estimators, making it a drop-in replacement for single-machine XGBoost when you need to scale to multiple nodes or GPUs.
The package integrates with Ray Tune for distributed hyperparameter optimization and supports various data formats (Pandas DataFrames, NumPy arrays, CSV, Parquet). However, the project is archived and has not been updated since June 2024, meaning it may not work with recent versions of xgboost, ray, or Python.
Use it for
- Train gradient boosting models on datasets too large for a single machine by distributing training across a Ray cluster.
- Run distributed hyperparameter tuning with Ray Tune, testing multiple configurations in parallel, each parallelized internally.
- Perform inference on large datasets by sharding them across Ray actors and predicting in parallel.
- Leverage multi-GPU training for XGBoost workloads on clusters with GPU nodes.
- Use RayDMatrix to load and shard Parquet files and other data formats across Ray's object store for distributed training.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is archived and abandoned as of June 2024, with no maintenance for over a year. While it has low install friction and permissive licensing, the lack of updates means it will likely fail with current versions of xgboost, ray, and modern Python releases. Use only if you are locked into an older, pinned environment. For new projects, consider Ray's native XGBoost integrations or maintained alternatives.
Install
xgboost-ray on PyPI
Before you install
Low install friction with a pure Python wheel. However, the package is archived and abandoned as of June 2024, with no releases for over a year. Depends on ray, xgboost, numpy, pandas, wrapt, and packaging—all widely maintained libraries.
Requires Ray to be initialized and running; package is archived and no longer maintained.
License in practice
Licensed under Apache 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install xgboost_ray
from xgboost_ray import RayDMatrix, RayParams, train
train_set = RayDMatrix(train_x, train_y)
bst = train(
{"objective": "binary:logistic"},
train_set,
ray_params=RayParams(num_actors=2))
Verify before relying
- Compatibility with XGBoost versions released after September 2023.
- Whether the package works with current Ray versions and modern Python releases.
- Status of multi-GPU training on current hardware and CUDA versions.
- Whether the scikit-learn API estimators (RayXGBClassifier, RayXGBRegressor, etc.) remain functional with current dependencies.
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesraynumpypandaswraptxgboostpackaging |
| Maintenance | Abandoned 1,059 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 462,218 / month, #6,528 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: xgboost_ray-0.1.19-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “distributed xgboost training”
- xgboost-rayDistributes XGBoost training and inference across multiple nodes and…
- xgboostXGBoost is a gradient boosting library that trains tree-based machine…
- xgboost-cpuXGBoost CPU-only gradient boosting library for machine learning model…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also xgboost-cpu · cosmos-xenna · dask-ml · xgboost · raydp · fairscale · prefect-ray · ngboost · spark-sklearn