I trained a xgboost model using the gpu_hist algorithm and verified that it was indeed trained using a GPU (watch -n 1 nvidia-smi).
Then I saved the model via
Next I am loading the model via
model = xgb.Booster()
However, when I now predict using
the predictions are performed using the CPU. What am I doing wrong?
XGboost 1.2.0, Python 3.7
Thank you very much