Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loading GPU pickle with a CPU-only xgboost distribution. #8632

Merged
merged 1 commit into from
Jan 4, 2023

Commits on Jan 4, 2023

  1. Fix loading GPU pickle with a CPU-only xgboost distribution.

    We can handle loading the pickle on a CPU only machine if the XGBoost is built with CUDA
    enabled (Linux and Windows PyPI package), but not if the distribution is CPU-only (macos
    PyPI package).
    
    To reproduce the error: train a model with GPU hist. Load it with a XGBoost build that
    doesn't have CUDA capability.
    trivialfis committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    5558c77 View commit details
    Browse the repository at this point in the history