You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The forest_inference_demo.ipynb notebook here is broken. XGBoost model loading with FIL is failing.
I've observed this behavior on the 24.08 release of cuml and all its dependencies. I suspect it's a problem on 24.10 as well, but haven't tested that yet.
Steps/Code to reproduce bug
Created a conda environment and installed cuml, jupyterlab, and xgboost into it.
setup (click me)
Ran the following from the root of the repo, on a machine with V100s and CUDA 12.2.
The error is likely due to the change of XGBoost version. Starting with 2.1.0 version, XGBoost defaults to using UBJSON format when saving the model.
Treelite 4.3 contains support for UBJSON, but regrettably FIL was not yet updated to recognize the UBJSON format, hence the error. Let me prepare a pull request.
Describe the bug
The
forest_inference_demo.ipynb
notebook here is broken. XGBoost model loading with FIL is failing.I've observed this behavior on the 24.08 release of
cuml
and all its dependencies. I suspect it's a problem on 24.10 as well, but haven't tested that yet.Steps/Code to reproduce bug
Created a conda environment and installed
cuml
,jupyterlab
, andxgboost
into it.setup (click me)
Ran the following from the root of the repo, on a machine with V100s and CUDA 12.2.
Then launched JupyterLab.
Ran the cells in
notebooks/forest_inference_demo.ipynb
in order.This call to
ForestInference.load()
cuml/notebooks/forest_inference_demo.ipynb
Line 273 in e571aba
Fails like this:
This same error can be seen in the most recent run of this notebook in the CI for
rapidsai/docker
: https://github.com/rapidsai/docker/actions/runs/10244736365/job/28356773321#step:9:15Expected behavior
Expected this notebook to run end-to-end without error.
Environment details (please complete the following information):
output of 'conda info' (click me)
output of 'nvidia-smi' (click me)
Additional context
This was only noticed because of a CI failure over in
rapidsai/docker
: rapidsai/docker#699 (comment).Ideally, it could be caught here in
cuml
's CI. As of this writing, this notebook is not tested in CI.(build link)
This notebook has been running in
rapidsai/docker
CI for a while. It passed on 24.08 as recently as 2 weeks ago.(build link)
So I suspect this is a result of a recent change. Maybe some mix of these:
The text was updated successfully, but these errors were encountered: