It would be nice to programmatically select a device for cuML instead of using environment variables as mentioned in #4486
Something akin to XGBoost's ordinal with the device parameter:
https://xgboost.readthedocs.io/en/stable/parameter.html
Or maybe something similar CuPy:
https://docs.cupy.dev/en/stable/reference/generated/cupy.cuda.Device.html