William Hicks
William Hicks
@Zekrom-7780 Of course! I'm "William Hicks" on the Slack channel.
Thanks very much for the thoughtful writeup on this, @DaPiePiece! It is currently possible to take advantage of cuML's GPU acceleration using sklearn's HPO implementation. That is to say, if...
> My source on the "slowness" of cuML and sklearn being used together might have just been wrong, and if they work well together, I guess my only issue was...
@Zekrom-7780 That would be wonderful! Please do reach out if you have any questions on how to proceed with it.
Sure! The general idea is that when we do: ``` from cuml import some_hpo_thing ``` this should return the corresponding sklearn object/class/function/... but with its docstring updated to make it...
I can do even better than that! ;) Looks like we already started this effort here: https://github.com/rapidsai/cuml/blob/branch-23.12/python/cuml/model_selection/__init__.py#L24. For any HPO method we want available from sklearn, we'll want to do...
Loading a model to an existing instance is not yet supported in experimental FIL. Currently, it must be loaded as: ``` fil_model = ForestInference.load_from_sklearn(skl_model, output_class=True) ```
Interesting! That import should (generally speaking) be fine because it will load numpy so long as it is available. If it is not available, we _should_ be getting an `UnavailableError`....
It's not clear to me that that will actually solve this issue or if it does that we will not see it elsewhere. Does the `host_xpy` solution above not work...
Could you switch this over to a draft PR until you're ready for review?