[QST] How to perform saving and loading of multi-GPU cuml dask RandomForestClassifier models? #3404
Labels
4 - Waiting on Author
Waiting for author to respond to review
inactive-30d
question
Further information is requested
There aren't clear documentation examples for saving and loading the 'cuml.dask.ensemble.RandomForestClassifier' trained models.
I have trained the model using 4 GPUs.
After training, I have used the 'get_combined_model()' function on the distributed model to get a single GPU model for pickling, as mentioned in:
https://docs.rapids.ai/api/cuml/stable/pickling_cuml_models.html#Distributed-Model-Pickling
When I try to load this pickled model and use it for prediction, I get an error stating:
" AttributeError: 'NoneType' object has no attribute 'predict' "
I have tried performing the save using pickle and joblib libraries, and I have tried the save file formats: .sav, .pkl, and .model.
All approaches lead to the same error mentioned above.
Can someone advise on this issue?
The text was updated successfully, but these errors were encountered: