Skip to main content

xgboost_rs

Fast, pure Rust implementation of XGBoost with CPU and GPU acceleration.

Features

  • Pure Rust Engine: High-performance histogram-based decision tree growth (hist).
  • Support for Grow Policies: depthwise (depth-first level-by-level) and lossguide (leaf-wise best-first).
  • GPU Acceleration: Optional GPU backend via cubecl / Vulkan / CUDA.
  • Python Bindings: Ready for PyPI installation via maturin.

Installation

Rust Crate

Add to your Cargo.toml:

[dependencies]
xgboost_rs = { version = "0.1.0", default-features = false }

To enable GPU acceleration:

[dependencies]
xgboost_rs = { version = "0.1.0", features = ["gpu"] }

Python Package (PyPI)

pip install xgboost_rs

Quick Start (Rust)

use xgboost_rs::parameters::{TrainParam, GrowPolicy};

let param = TrainParam {
    max_depth: 6,
    grow_policy: GrowPolicy::DepthWise,
    ..Default::default()
};

License

Licensed under Apache License, Version 2.0 (LICENSE).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xgboost_rs-0.1.0.tar.gz (583.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

xgboost_rs-0.1.0-py3-none-win_amd64.whl (1.1 MB view details)

Uploaded Python 3Windows x86-64

xgboost_rs-0.1.0-py3-none-manylinux_2_35_x86_64.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

xgboost_rs-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

xgboost_rs-0.1.0-py3-none-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

xgboost_rs-0.1.0-py3-none-macosx_10_12_x86_64.whl (1.4 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file xgboost_rs-0.1.0.tar.gz.

File metadata

  • Download URL: xgboost_rs-0.1.0.tar.gz
  • Upload date:
  • Size: 583.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xgboost_rs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3034d1961299ce5bd1781eb0657965195df3baaed888888b878101bf24830f76
MD5 5244ef93321ff69988efb7e83367d608
BLAKE2b-256 3a33d8fb917c784115e563de13d58c66cc212c1d91e3581dc977672e8a6ecb10

See more details on using hashes here.

Provenance

The following attestation bundles were made for xgboost_rs-0.1.0.tar.gz:

Publisher: publish.yml on BectorVoom/xgboost_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xgboost_rs-0.1.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: xgboost_rs-0.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xgboost_rs-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 227fced351ae53d4f7914edcca08be1c9e1d14e87f9b33fba21bc3a778e61c4c
MD5 dc6ed01d3a61f9f6ab1fceb2c63113f8
BLAKE2b-256 6965bb21d000e07705fbb91a931bbaa2f74d7322e46507bc0a868a4dcb4c8d1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for xgboost_rs-0.1.0-py3-none-win_amd64.whl:

Publisher: publish.yml on BectorVoom/xgboost_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xgboost_rs-0.1.0-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for xgboost_rs-0.1.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 1fb800573a66f1e31f4255cdadfe60af76fa826f7a3a539540401b5f6306890d
MD5 e2165474a66f26cb60a1a6e7a7790860
BLAKE2b-256 a1c8d0c8f842c3d59889cb310dcf04ae9a4f1d6a687e9c1614079fdad5f95277

See more details on using hashes here.

Provenance

The following attestation bundles were made for xgboost_rs-0.1.0-py3-none-manylinux_2_35_x86_64.whl:

Publisher: publish.yml on BectorVoom/xgboost_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xgboost_rs-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for xgboost_rs-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bc004812f8673dcf0986ccc9ee9bf62fa5a4e753ae808d49a5ca1274f636d331
MD5 fde45ec8db0acf23af0a768a1b4d305e
BLAKE2b-256 c2678a2b1f0617c4f6748a9784f70e90b7cd309086456744c9e3df02713818c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for xgboost_rs-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on BectorVoom/xgboost_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xgboost_rs-0.1.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xgboost_rs-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 429043e884136c2fc9f250710167d0c75d9c70ce514522a9bb49b5684bfd9253
MD5 4fc197643ba99bb73c1e357bf5cae45e
BLAKE2b-256 2f4e2c0a768bdd500a9edeb69457b7443d84de8fef20cd778af85f0d0d732f4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for xgboost_rs-0.1.0-py3-none-macosx_11_0_arm64.whl:

Publisher: publish.yml on BectorVoom/xgboost_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xgboost_rs-0.1.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for xgboost_rs-0.1.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c40d5e3e352b404f8c6e7bfac5827654a31118c8adce36edce620b0fbc1bd786
MD5 e9b9d1d6436350c6e44e10e033b3693c
BLAKE2b-256 a498cd3a2eccf59981c90a90973c40b61d32c938e4a686122fb9c826a966b911

See more details on using hashes here.

Provenance

The following attestation bundles were made for xgboost_rs-0.1.0-py3-none-macosx_10_12_x86_64.whl:

Publisher: publish.yml on BectorVoom/xgboost_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

6 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page