h2oai/h2o4gpu

H2Oai GPU Edition

What it solves

H2O4GPU accelerates machine learning workflows by providing GPU-optimized versions of common algorithms. It serves as a drop-in replacement for scikit-learn, allowing users to leverage GPU hardware for faster computation while maintaining compatibility with existing scikit-learn code.

How it works

The project provides Python and R APIs that mirror standard scikit-learn interfaces. When a user calls a supported algorithm, the library attempts to execute it on the GPU. If a specific algorithm or configuration is not supported on the GPU, the library automatically falls back to the standard CPU-based scikit-learn implementation, ensuring the code remains functional.

Who it’s for

Data scientists and machine learning engineers who use scikit-learn and want to reduce training or inference times by utilizing NVIDIA GPU hardware without rewriting their entire codebase.

Highlights

  • Drop-in compatibility with the scikit-learn API.
  • Supports GPU-accelerated versions of GLM (Lasso, Ridge, Logistic Regression), KMeans, Gradient Boosting (via XGBoost), SVD, and PCA.
  • Provides both Python and R interfaces.
  • Automatic fallback to CPU algorithms when GPU support is unavailable for specific parameters.

Related

  • Project
  • Project
  • Project
  • Project
  • Project