Change8
Error1 reports

Fix CellExecutionError

in XGBoost

Solution

CellExecutionError in xgboost often arises from a mismatch between the xgboost version and the available hardware, specifically when trying to use GPU acceleration without a GPU-enabled xgboost build. Ensure you've installed the correct xgboost version with GPU support (e.g., `xgboost-cu11` for CUDA 11) using pip, and verify that your CUDA drivers are compatible with the selected XGBoost version if you intend to leverage GPU acceleration. Furthermore, double-check that CUDA is correctly installed and accessible to your environment.

Related Issues

Real GitHub issues where developers encountered this error:

Timeline

First reported:Apr 8, 2025
Last reported:Apr 8, 2025

Need More Help?

View the full changelog and migration guides for XGBoost

View XGBoost Changelog