rapidsai / cuml

cuML - RAPIDS Machine Learning Library
https://docs.rapids.ai/api/cuml/stable/
Apache License 2.0
4.03k stars 520 forks source link

[BUG] Random Forest issue with more than 2 models with different criterion settings #5884

Open tiraldj opened 1 month ago

tiraldj commented 1 month ago

hello, i replicated a simple glitch in cuml. it has to do with Random Forrest. when I change the split-criterion setting and do more than 2 random forests the kernal crashes

rforest0 = cuRFC(split_criterion=0)
rforest0.fit(X_train,y_train)
print("Split Criterion 0")
print('Random Forest accuracy on Training Data: ', round(rforest0.score(X_train,y_train),3))
print('Random Forest accuracy on Test Data: ', round(rforest0.score(X_test,y_test),3))

Expected behavior A clear and concise description of what you expected to happen.

I was expecting to have multiple random forest models and compare their accuracy versus each other. I did not expect models to stop after 2 were generated

so i did that multiple times, each time changing the name of the random forest and changing the split criterion after 2 or 3 times (feels random) the notebook crashes. When I originally had this problem the gpu crashed so hard that i couldn't restart my ubuntu machine.

At first I thought it was a GPU VRAM issue but there is plenty of memory available. Then I wondered if one of the splits criterion was buggy and everything else works but that wasn't the case either. I then tried not naming the random forest more than once (so that the machine keeps overwriting the previous one) and that didn't work either.

So basically i was able to do 2 different versions of random forest one after another.

the dataset I'm using is not big. ~24k rows, 500 columns

here is the first error message. the second time the kernal crashes. This glitch was replicated on a on prem Titan RTX and on Paperspace Gradient cloud computer using RAPIDS image and P6000

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Cell In[112], line 3
      1 rforest3 = cuRFC(split_criterion=3)
----> 3 rforest3.fit(X_train,y_train)
      5 print("Split Criterion 3")
      6 print('Random Forest accuracy on Training Data: ', round(rforest3.score(X_train,y_train),3))

File /media/mosman/tank/anaconda/envs/rapids/lib/python3.11/site-packages/nvtx/nvtx.py:116, in annotate.__call__.<locals>.inner(*args, **kwargs)
    113 @wraps(func)
    114 def inner(*args, **kwargs):
    115     libnvtx_push_range(self.attributes, self.domain.handle)
--> 116     result = func(*args, **kwargs)
    117     libnvtx_pop_range(self.domain.handle)
    118     return result

File /media/mosman/tank/anaconda/envs/rapids/lib/python3.11/site-packages/cuml/internals/api_decorators.py:188, in _make_decorator_function.<locals>.decorator_function.<locals>.decorator_closure.<locals>.wrapper(*args, **kwargs)
    185     set_api_output_dtype(output_dtype)
    187 if process_return:
--> 188     ret = func(*args, **kwargs)
    189 else:
    190     return func(*args, **kwargs)

File randomforestclassifier.pyx:452, in cuml.ensemble.randomforestclassifier.RandomForestClassifier.fit()

RuntimeError: exception occurred! file=/opt/conda/conda-bld/work/cpp/src/decisiontree/decisiontree.cu line=38: MAE not supported.
Obtained 52 stack frames
#1 in /media/mosman/tank/anaconda/envs/rapids/lib/python3.11/site-packages/cuml/internals/../../../../libcuml++.so(+0x187b36) [0x7d47c6b87b36]
#2 in /media/mosman/tank/anaconda/envs/rapids/lib/python3.11/site-packages/cuml/internals/../../../../libcuml++.so: ML::DT::set_tree_params(ML::DT::DecisionTreeParams&, int, int, float, int, int, int, float, ML::CRITERION, int) +0x61 [0x7d47c6f29ff1]
#3 in /media/mosman/tank/anaconda/envs/rapids/lib/python3.11/site-packages/cuml/internals/../../../../libcuml++.so: ML::set_rf_params(int, int, float, int, int, int, float, bool, int, float, unsigned long, ML::CRITERION, int, int) +0x45 [0x7d47c779b105]
#4 in /media/mosman/tank/anaconda/envs/rapids/lib/python3.11/site-packages/cuml/ensemble/randomforestclassifier.cpython-311-x86_64-linux-gnu.so(+0x2c88b) [0x7d47f1f7188b]
#5 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x49f9 [0x57cfd10e7119]
#6 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyFunction_Vectorcall +0x181 [0x57cfd11064c1]
#7 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x49f9 [0x57cfd10e7119]
#8 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2a442d) [0x57cfd119942d]
#9 in /media/mosman/tank/anaconda/envs/rapids/bin/python: PyEval_EvalCode +0x9f [0x57cfd1198abf]
#10 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2bb07e) [0x57cfd11b007e]
#11 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x3a86 [0x57cfd10e61a6]
#12 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b85c9) [0x57cfd11ad5c9]
#13 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x3341 [0x57cfd10e5a61]
#14 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b85c9) [0x57cfd11ad5c9]
#15 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x3341 [0x57cfd10e5a61]
#16 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b85c9) [0x57cfd11ad5c9]
#17 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b8f47) [0x57cfd11adf47]
#18 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x396a [0x57cfd10e608a]
#19 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2303a4) [0x57cfd11253a4]
#20 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x22fb8e) [0x57cfd1124b8e]
#21 in /media/mosman/tank/anaconda/envs/rapids/bin/python: PyObject_Call +0x130 [0x57cfd11101e0]
#22 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x49f9 [0x57cfd10e7119]
#23 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b85c9) [0x57cfd11ad5c9]
#24 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x3341 [0x57cfd10e5a61]
#25 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b85c9) [0x57cfd11ad5c9]
#26 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x3341 [0x57cfd10e5a61]
#27 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b85c9) [0x57cfd11ad5c9]
#28 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x3341 [0x57cfd10e5a61]
#29 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b85c9) [0x57cfd11ad5c9]
#30 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x3341 [0x57cfd10e5a61]
#31 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b85c9) [0x57cfd11ad5c9]
#32 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x3341 [0x57cfd10e5a61]
#33 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2b85c9) [0x57cfd11ad5c9]
#34 in /media/mosman/tank/anaconda/envs/rapids/lib/python3.11/lib-dynload/_asyncio.cpython-311-x86_64-linux-gnu.so(+0x78b6) [0x7d4887e528b6]
#35 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x1fff1a) [0x57cfd10f4f1a]
#36 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x199a53) [0x57cfd108ea53]
#37 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x19bb03) [0x57cfd1090b03]
#38 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x1faadf) [0x57cfd10efadf]
#39 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x9004 [0x57cfd10eb724]
#40 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2a442d) [0x57cfd119942d]
#41 in /media/mosman/tank/anaconda/envs/rapids/bin/python: PyEval_EvalCode +0x9f [0x57cfd1198abf]
#42 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2bb07e) [0x57cfd11b007e]
#43 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x1faadf) [0x57cfd10efadf]
#44 in /media/mosman/tank/anaconda/envs/rapids/bin/python: PyObject_Vectorcall +0x2c [0x57cfd10ef9cc]
#45 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyEval_EvalFrameDefault +0x716 [0x57cfd10e2e36]
#46 in /media/mosman/tank/anaconda/envs/rapids/bin/python: _PyFunction_Vectorcall +0x181 [0x57cfd11064c1]
#47 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x2cdb38) [0x57cfd11c2b38]
#48 in /media/mosman/tank/anaconda/envs/rapids/bin/python: Py_RunMain +0x139 [0x57cfd11c24b9]
#49 in /media/mosman/tank/anaconda/envs/rapids/bin/python: Py_BytesMain +0x37 [0x57cfd1188a77]
#50 in /lib/x86_64-linux-gnu/libc.so.6(+0x28150) [0x7d4887c28150]
#51 in /lib/x86_64-linux-gnu/libc.so.6: __libc_start_main +0x89 [0x7d4887c28209]
#52 in /media/mosman/tank/anaconda/envs/rapids/bin/python(+0x29391d) [0x57cfd118891d]

Environment details (please complete the following information):

results from conda list

Name Version Build Channel

_libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_kmp_llvm conda-forge absl-py 2.1.0 pyhd8ed1ab_0 conda-forge aiohttp 3.9.3 py311h459d7ec_1 conda-forge aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge annotated-types 0.6.0 pyhd8ed1ab_0 conda-forge anyio 3.7.1 pyhd8ed1ab_0 conda-forge aom 3.8.2 h59595ed_0 conda-forge appdirs 1.4.4 pyh9f0ad1d_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py311h459d7ec_4 conda-forge arrow 1.3.0 pyhd8ed1ab_0 conda-forge asttokens 2.4.1 pyhd8ed1ab_0 conda-forge astunparse 1.6.3 pyhd8ed1ab_0 conda-forge async-lru 2.0.4 pyhd8ed1ab_0 conda-forge attrs 23.2.0 pyh71513ae_0 conda-forge aws-c-auth 0.7.11 h0b4cabd_1 conda-forge aws-c-cal 0.6.9 h14ec70c_3 conda-forge aws-c-common 0.9.12 hd590300_0 conda-forge aws-c-compression 0.2.17 h572eabf_8 conda-forge aws-c-event-stream 0.4.1 h97bb272_2 conda-forge aws-c-http 0.8.0 h9129f04_2 conda-forge aws-c-io 0.14.0 hf8f278a_1 conda-forge aws-c-mqtt 0.10.1 h2b97f5f_0 conda-forge aws-c-s3 0.4.9 hca09fc5_0 conda-forge aws-c-sdkutils 0.1.13 h572eabf_1 conda-forge aws-checksums 0.1.17 h572eabf_7 conda-forge aws-crt-cpp 0.26.0 h04327c0_8 conda-forge aws-sdk-cpp 1.11.210 hba3e011_10 conda-forge azure-core-cpp 1.10.3 h91d86a7_1 conda-forge azure-storage-blobs-cpp 12.10.0 h00ab1b0_0 conda-forge azure-storage-common-cpp 12.5.0 hb858b4b_2 conda-forge babel 2.14.0 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.12.3 pyha770c72_0 conda-forge bleach 6.1.0 pyhd8ed1ab_0 conda-forge blinker 1.7.0 pyhd8ed1ab_0 conda-forge blosc 1.21.5 h0f2a231_0 conda-forge bokeh 3.4.0 pyhd8ed1ab_0 conda-forge branca 0.7.1 pyhd8ed1ab_0 conda-forge brotli 1.1.0 hd590300_1 conda-forge brotli-bin 1.1.0 hd590300_1 conda-forge brotli-python 1.1.0 py311hb755f60_1 conda-forge brunsli 0.1 h9c3ff4c_0 conda-forge bzip2 1.0.8 hd590300_5 conda-forge c-ares 1.28.1 hd590300_0 conda-forge c-blosc2 2.14.1 hb4ffafa_0 conda-forge ca-certificates 2024.2.2 hbcca054_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cachetools 5.3.3 pyhd8ed1ab_0 conda-forge cairo 1.18.0 h3faef2a_0 conda-forge certifi 2024.2.2 pyhd8ed1ab_0 conda-forge cffi 1.16.0 py311hb3a22ac_0 conda-forge cfitsio 4.3.1 hbdc6101_0 conda-forge charls 2.4.2 h59595ed_0 conda-forge charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge click 8.1.7 unix_pyh707e725_0 conda-forge click-plugins 1.1.1 py_0 conda-forge cligj 0.7.2 pyhd8ed1ab_1 conda-forge cloudpickle 3.0.0 pyhd8ed1ab_0 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge colorcet 3.1.0 pyhd8ed1ab_0 conda-forge comm 0.2.2 pyhd8ed1ab_0 conda-forge contourpy 1.2.0 py311h9547e67_0 conda-forge cryptography 42.0.5 py311h63ff55d_0 conda-forge cucim 24.04.00a33 cuda12_py311_240404_g2a06d5c_33 rapidsai-nightly cuda-cccl_linux-64 12.0.90 ha770c72_1 conda-forge cuda-cudart 12.0.107 hd3aeb46_8 conda-forge cuda-cudart-dev 12.0.107 hd3aeb46_8 conda-forge cuda-cudart-dev_linux-64 12.0.107 h59595ed_8 conda-forge cuda-cudart-static 12.0.107 hd3aeb46_8 conda-forge cuda-cudart-static_linux-64 12.0.107 h59595ed_8 conda-forge cuda-cudart_linux-64 12.0.107 h59595ed_8 conda-forge cuda-nvcc-dev_linux-64 12.0.76 ha770c72_1 conda-forge cuda-nvcc-impl 12.0.76 h59595ed_1 conda-forge cuda-nvcc-tools 12.0.76 h59595ed_1 conda-forge cuda-nvrtc 12.0.76 hd3aeb46_2 conda-forge cuda-nvtx 12.0.76 h59595ed_1 conda-forge cuda-profiler-api 12.0.76 ha770c72_0 conda-forge cuda-python 12.4.0 py311h7f239a6_1 conda-forge cuda-version 12.0 hffde075_3 conda-forge cudf 24.04.00a586 cuda12_py311_240404_g35f818b3e4_586 rapidsai-nightly cudnn 8.9.7.29 h092f7fd_3 conda-forge cugraph 24.04.00a114 cuda12_py311_240401_gf753e5146_114 rapidsai-nightly cuml 24.04.00a51 cuda12_py311_240404_gb9e4a6002_51 rapidsai-nightly cuproj 24.04.00a30 cuda12_py311_240404_ga6e6fd4a_30 rapidsai-nightly cupy 13.0.0 py311h8a5e998_3 conda-forge cupy-core 13.0.0 py311h84cfafc_3 conda-forge cuspatial 24.04.00a30 cuda12_py311_240404_ga6e6fd4a_30 rapidsai-nightly cuxfilter 24.04.00a17 cuda12_py311_240404_gfee99d2_17 rapidsai-nightly cycler 0.12.1 pyhd8ed1ab_0 conda-forge cytoolz 0.12.3 py311h459d7ec_0 conda-forge dash 2.16.1 pyhd8ed1ab_0 conda-forge dask 2024.1.1 pyhd8ed1ab_0 conda-forge dask-core 2024.1.1 pyhd8ed1ab_0 conda-forge dask-cuda 24.04.00a13 py311_240404_g0a297c0_13 rapidsai-nightly dask-cudf 24.04.00a586 cuda12_py311_240404_g35f818b3e4_586 rapidsai-nightly dask-expr 0.4.0 pyhd8ed1ab_0 conda-forge dask-sql 2024.3.1a240326 py311_g7600f60_1 dask/label/dev datashader 0.16.0 pyhd8ed1ab_0 conda-forge dav1d 1.2.1 hd590300_0 conda-forge debugpy 1.8.1 py311hb755f60_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge distributed 2024.1.1 pyhd8ed1ab_0 conda-forge dlpack 0.8 h59595ed_3 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge exceptiongroup 1.2.0 pyhd8ed1ab_2 conda-forge executing 2.0.1 pyhd8ed1ab_0 conda-forge expat 2.6.2 h59595ed_0 conda-forge fastapi 0.110.1 pyhd8ed1ab_0 conda-forge fastrlock 0.8.2 py311hb755f60_2 conda-forge filelock 3.13.3 pyhd8ed1ab_0 conda-forge fiona 1.9.5 py311hf8e0aa6_2 conda-forge flask 3.0.2 pyhd8ed1ab_0 conda-forge flatbuffers 23.5.26 h59595ed_1 conda-forge fmt 10.2.1 h00ab1b0_0 conda-forge folium 0.16.0 pyhd8ed1ab_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 h77eed37_1 conda-forge fontconfig 2.14.2 h14ed4e7_0 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fonttools 4.50.0 py311h459d7ec_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge freetype 2.12.1 h267a509_2 conda-forge freexl 2.0.0 h743c826_0 conda-forge frozenlist 1.4.1 py311h459d7ec_0 conda-forge fsspec 2024.3.1 pyhca7485f_0 conda-forge gast 0.5.4 pyhd8ed1ab_0 conda-forge gdal 3.8.1 py311h39b4e0e_3 conda-forge geopandas 0.14.3 pyhd8ed1ab_0 conda-forge geopandas-base 0.14.3 pyha770c72_0 conda-forge geos 3.12.1 h59595ed_0 conda-forge geotiff 1.7.1 hf074850_14 conda-forge gettext 0.21.1 h27087fc_0 conda-forge gflags 2.2.2 he1b5a44_1004 conda-forge giflib 5.2.1 h0b41bf4_3 conda-forge glog 0.6.0 h6f12383_0 conda-forge gmock 1.14.0 ha770c72_1 conda-forge gmp 6.3.0 h59595ed_1 conda-forge gmpy2 2.1.2 py311h6a5fa03_1 conda-forge google-auth 2.29.0 pyhca7485f_0 conda-forge google-auth-oauthlib 1.2.0 pyhd8ed1ab_0 conda-forge google-pasta 0.2.0 pyh8c360ce_0 conda-forge graphistry 0.33.5 pyhd8ed1ab_0 conda-forge grpcio 1.59.3 py311ha6695c7_0 conda-forge gtest 1.14.0 h00ab1b0_1 conda-forge h11 0.14.0 pyhd8ed1ab_0 conda-forge h2 4.1.0 pyhd8ed1ab_0 conda-forge h5py 3.10.0 nompi_py311hebc2b07_101 conda-forge hdf4 4.2.15 h2a13503_7 conda-forge hdf5 1.14.3 nompi_h4f84152_100 conda-forge holoviews 1.18.3 pyhd8ed1ab_0 conda-forge hpack 4.0.0 pyh9f0ad1d_0 conda-forge httpcore 1.0.5 pyhd8ed1ab_0 conda-forge httpx 0.27.0 pyhd8ed1ab_0 conda-forge hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge icu 73.2 h59595ed_0 conda-forge idna 3.6 pyhd8ed1ab_0 conda-forge imagecodecs 2024.1.1 py311hd0e15ba_2 conda-forge imageio 2.34.0 pyh4b66e23_0 conda-forge importlib-metadata 7.1.0 pyha770c72_0 conda-forge importlib_metadata 7.1.0 hd8ed1ab_0 conda-forge importlib_resources 6.4.0 pyhd8ed1ab_0 conda-forge ipykernel 6.29.3 pyhd33586a_0 conda-forge ipython 8.22.2 pyh707e725_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge itsdangerous 2.1.2 pyhd8ed1ab_0 conda-forge jbig 2.1 h7f98852_2003 conda-forge jedi 0.19.1 pyhd8ed1ab_0 conda-forge jinja2 3.1.3 pyhd8ed1ab_0 conda-forge joblib 1.3.2 pyhd8ed1ab_0 conda-forge json-c 0.17 h7ab15ed_0 conda-forge json5 0.9.24 pyhd8ed1ab_0 conda-forge jsonpointer 2.4 py311h38be061_3 conda-forge jsonschema 4.21.1 pyhd8ed1ab_0 conda-forge jsonschema-specifications 2023.12.1 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.21.1 pyhd8ed1ab_0 conda-forge jupyter-lsp 2.2.4 pyhd8ed1ab_0 conda-forge jupyter-server-proxy 4.1.2 pyhd8ed1ab_0 conda-forge jupyter_client 8.6.1 pyhd8ed1ab_0 conda-forge jupyter_core 5.7.2 py311h38be061_0 conda-forge jupyter_events 0.10.0 pyhd8ed1ab_0 conda-forge jupyter_server 2.13.0 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.5.3 pyhd8ed1ab_0 conda-forge jupyterlab 4.1.6 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.3.0 pyhd8ed1ab_1 conda-forge jupyterlab_server 2.25.4 pyhd8ed1ab_0 conda-forge jxrlib 1.1 hd590300_3 conda-forge kealib 1.5.3 h2f55d51_0 conda-forge keras 2.15.0 pyhd8ed1ab_0 conda-forge keyutils 1.6.1 h166bdaf_0 conda-forge kiwisolver 1.4.5 py311h9547e67_1 conda-forge krb5 1.21.2 h659d440_0 conda-forge lazy_loader 0.3 pyhd8ed1ab_0 conda-forge lcms2 2.16 hb7c19ff_0 conda-forge ld_impl_linux-64 2.40 h41732ed_0 conda-forge lerc 4.0.0 h27087fc_0 conda-forge libabseil 20230802.1 cxx17_h59595ed_0 conda-forge libaec 1.1.3 h59595ed_0 conda-forge libarchive 3.7.2 h2aa1ff5_1 conda-forge libarrow 14.0.2 h84dd17c_3_cpu conda-forge libarrow-acero 14.0.2 h59595ed_3_cpu conda-forge libarrow-dataset 14.0.2 h59595ed_3_cpu conda-forge libarrow-flight 14.0.2 h120cb0d_3_cpu conda-forge libarrow-flight-sql 14.0.2 h61ff412_3_cpu conda-forge libarrow-gandiva 14.0.2 hacb8726_3_cpu conda-forge libarrow-substrait 14.0.2 h61ff412_3_cpu conda-forge libavif16 1.0.4 hd9d6309_2 conda-forge libblas 3.9.0 21_linux64_openblas conda-forge libboost-headers 1.84.0 ha770c72_2 conda-forge libbrotlicommon 1.1.0 hd590300_1 conda-forge libbrotlidec 1.1.0 hd590300_1 conda-forge libbrotlienc 1.1.0 hd590300_1 conda-forge libcblas 3.9.0 21_linux64_openblas conda-forge libcrc32c 1.1.2 h9c3ff4c_0 conda-forge libcublas 12.0.1.189 hd3aeb46_3 conda-forge libcublas-dev 12.0.1.189 hd3aeb46_3 conda-forge libcucim 24.04.00a33 cuda12_240404_g2a06d5c_33 rapidsai-nightly libcudf 24.04.00a586 cuda12_240404_g35f818b3e4_586 rapidsai-nightly libcufft 11.0.0.21 hd3aeb46_2 conda-forge libcufile 1.5.0.59 hd3aeb46_1 conda-forge libcufile-dev 1.5.0.59 hd3aeb46_1 conda-forge libcugraph 24.04.00a114 cuda12_240401_gf753e5146_114 rapidsai-nightly libcugraphops 24.04.00a33 cuda12_240404_g090bfc7e_33 rapidsai-nightly libcuml 24.04.00a51 cuda12_240404_gb9e4a6002_51 rapidsai-nightly libcumlprims 24.04.00a cuda12_240404_gce09c08_12 rapidsai-nightly libcurand 10.3.1.50 hd3aeb46_1 conda-forge libcurand-dev 10.3.1.50 hd3aeb46_1 conda-forge libcurl 8.7.1 hca28451_0 conda-forge libcusolver 11.4.2.57 hd3aeb46_2 conda-forge libcusolver-dev 11.4.2.57 hd3aeb46_2 conda-forge libcusparse 12.0.0.76 hd3aeb46_2 conda-forge libcusparse-dev 12.0.0.76 hd3aeb46_2 conda-forge libcuspatial 24.04.00a30 cuda12_240404_ga6e6fd4a_30 rapidsai-nightly libdeflate 1.19 hd590300_0 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libev 4.33 hd590300_2 conda-forge libevent 2.1.12 hf998b51_1 conda-forge libexpat 2.6.2 h59595ed_0 conda-forge libffi 3.4.2 h7f98852_5 conda-forge libgcc-ng 13.2.0 h807b86a_5 conda-forge libgdal 3.8.1 h4b8bffa_3 conda-forge libgfortran-ng 13.2.0 h69a702a_5 conda-forge libgfortran5 13.2.0 ha4646dd_5 conda-forge libglib 2.78.4 h783c2da_0 conda-forge libgoogle-cloud 2.12.0 h5206363_4 conda-forge libgrpc 1.59.3 hd6c4280_0 conda-forge libhwloc 2.9.3 default_h554bfaf_1009 conda-forge libhwy 1.1.0 h00ab1b0_0 conda-forge libiconv 1.17 hd590300_2 conda-forge libjpeg-turbo 3.0.0 hd590300_1 conda-forge libjxl 0.10.1 hcae5a98_1 conda-forge libkml 1.3.0 h01aab08_1018 conda-forge libkvikio 24.04.00a cuda12_240404_g745b184_25 rapidsai-nightly liblapack 3.9.0 21_linux64_openblas conda-forge libllvm14 14.0.6 hcd5def8_4 conda-forge libllvm15 15.0.7 hb3ce162_4 conda-forge libmagma 2.7.2 h173bb3b_2 conda-forge libmagma_sparse 2.7.2 h173bb3b_3 conda-forge libnetcdf 4.9.2 nompi_h9612171_113 conda-forge libnghttp2 1.58.0 h47da74e_1 conda-forge libnl 3.9.0 hd590300_0 conda-forge libnsl 2.0.1 hd590300_0 conda-forge libnvjitlink 12.0.76 hd3aeb46_2 conda-forge libnvjpeg 12.0.0.28 h59595ed_1 conda-forge libopenblas 0.3.26 pthreads_h413a1c8_0 conda-forge libparquet 14.0.2 h352af49_3_cpu conda-forge libpng 1.6.43 h2797004_0 conda-forge libpq 16.2 h33b98f1_1 conda-forge libprotobuf 4.24.4 hf27288f_0 conda-forge libraft 24.04.00a94 cuda12_240330_g5f2bd192_94 rapidsai-nightly libraft-headers 24.04.00a94 cuda12_240330_g5f2bd192_94 rapidsai-nightly libraft-headers-only 24.04.00a94 cuda12_240330_g5f2bd192_94 rapidsai-nightly libre2-11 2023.09.01 h7a70373_1 conda-forge librmm 24.04.00a39 cuda12_240404_g0651edf0_39 rapidsai-nightly librttopo 1.1.0 h8917695_15 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libspatialindex 1.9.3 h9c3ff4c_4 conda-forge libspatialite 5.1.0 h72606ae_3 conda-forge libsqlite 3.45.2 h2797004_0 conda-forge libssh2 1.11.0 h0841786_0 conda-forge libstdcxx-ng 13.2.0 h7e041cc_5 conda-forge libthrift 0.19.0 hb90f79a_1 conda-forge libtiff 4.6.0 ha9c0a0a_2 conda-forge libtorch 2.1.2 cuda120_h86db2e7_300 conda-forge libutf8proc 2.8.0 h166bdaf_0 conda-forge libuuid 2.38.1 h0b41bf4_0 conda-forge libuv 1.48.0 hd590300_0 conda-forge libwebp 1.3.2 h658648e_1 conda-forge libwebp-base 1.3.2 hd590300_0 conda-forge libxcb 1.15 h0b41bf4_0 conda-forge libxcrypt 4.4.36 hd590300_1 conda-forge libxml2 2.12.6 h232c23b_1 conda-forge libzip 1.10.1 h2629f0a_3 conda-forge libzlib 1.2.13 hd590300_5 conda-forge libzopfli 1.0.3 h9c3ff4c_0 conda-forge linkify-it-py 2.0.3 pyhd8ed1ab_0 conda-forge llvm-openmp 18.1.2 h4dfa4b3_0 conda-forge llvmlite 0.42.0 py311ha6695c7_1 conda-forge locket 1.0.0 pyhd8ed1ab_0 conda-forge lz4 4.3.3 py311h38e4bf4_0 conda-forge lz4-c 1.9.4 hcb278e6_0 conda-forge lzo 2.10 h516909a_1000 conda-forge magma 2.7.2 h51420fd_3 conda-forge mapclassify 2.6.1 pyhd8ed1ab_0 conda-forge markdown 3.6 pyhd8ed1ab_0 conda-forge markdown-it-py 3.0.0 pyhd8ed1ab_0 conda-forge markupsafe 2.1.5 py311h459d7ec_0 conda-forge matplotlib-base 3.8.3 py311h54ef318_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mdit-py-plugins 0.4.0 pyhd8ed1ab_0 conda-forge mdurl 0.1.2 pyhd8ed1ab_0 conda-forge minizip 4.0.5 h0ab5242_0 conda-forge mistune 3.0.2 pyhd8ed1ab_0 conda-forge mkl 2023.2.0 h84fe81f_50496 conda-forge ml_dtypes 0.2.0 py311h320fe9a_2 conda-forge mpc 1.3.1 hfe3b2da_0 conda-forge mpfr 4.2.1 h9458935_0 conda-forge mpmath 1.3.0 pyhd8ed1ab_0 conda-forge msgpack-python 1.0.7 py311h9547e67_0 conda-forge multidict 6.0.5 py311h459d7ec_0 conda-forge multipledispatch 0.6.0 py_0 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge nbclient 0.10.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.16.3 pyhd8ed1ab_0 conda-forge nbformat 5.10.4 pyhd8ed1ab_0 conda-forge nccl 2.20.5.1 h3a97aeb_0 conda-forge ncurses 6.4.20240210 h59595ed_0 conda-forge nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge networkx 3.2.1 pyhd8ed1ab_0 conda-forge nodejs 20.9.0 hb753e55_1 conda-forge noise 1.2.2 py311h459d7ec_1005 conda-forge notebook-shim 0.2.4 pyhd8ed1ab_0 conda-forge nspr 4.35 h27087fc_0 conda-forge nss 3.98 h1d7d5a4_0 conda-forge numba 0.59.1 py311h96b013e_0 conda-forge numpy 1.26.4 py311h64a7726_0 conda-forge nvcomp 3.0.6 h10b603f_0 conda-forge nvtx 0.2.10 py311h459d7ec_0 conda-forge oauthlib 3.2.2 pyhd8ed1ab_0 conda-forge openjpeg 2.5.2 h488ebb8_0 conda-forge openssl 3.3.0 hd590300_0 conda-forge opt_einsum 3.3.0 pyhc1e730c_2 conda-forge orc 1.9.2 h4b38347_0 conda-forge overrides 7.7.0 pyhd8ed1ab_0 conda-forge packaging 24.0 pyhd8ed1ab_0 conda-forge palettable 3.3.3 pyhd8ed1ab_0 conda-forge pandas 2.2.1 py311h320fe9a_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge panel 1.4.0 pyhd8ed1ab_0 conda-forge param 2.1.0 pyhca7485f_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge partd 1.4.1 pyhd8ed1ab_0 conda-forge pcre2 10.42 hcad00b1_0 conda-forge pexpect 4.9.0 pyhd8ed1ab_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 10.3.0 py311h18e6fac_0 conda-forge pip 24.0 pyhd8ed1ab_0 conda-forge pixman 0.43.2 h59595ed_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 4.2.0 pyhd8ed1ab_0 conda-forge plotly 5.19.0 pyhd8ed1ab_0 conda-forge poppler 23.12.0 h590f24d_0 conda-forge poppler-data 0.4.12 hd8ed1ab_0 conda-forge postgresql 16.2 h82ecc9d_1 conda-forge proj 9.3.0 h1d62c97_2 conda-forge prometheus_client 0.20.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.42 pyha770c72_0 conda-forge protobuf 4.24.4 py311h46cbc50_0 conda-forge psutil 5.9.8 py311h459d7ec_0 conda-forge pthread-stubs 0.4 h36c2ea0_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pyarrow 14.0.2 py311h39c9aba_3_cpu conda-forge pyarrow-hotfix 0.6 pyhd8ed1ab_0 conda-forge pyasn1 0.5.1 pyhd8ed1ab_0 conda-forge pyasn1-modules 0.3.0 pyhd8ed1ab_0 conda-forge pycparser 2.22 pyhd8ed1ab_0 conda-forge pyct 0.5.0 py311h06a4308_0
pyct-core 0.5.0 pyhd8ed1ab_0 conda-forge pydantic 2.6.4 pyhd8ed1ab_0 conda-forge pydantic-core 2.16.3 py311h46250e7_0 conda-forge pyee 8.1.0 pyhd8ed1ab_0 conda-forge pygments 2.17.2 pyhd8ed1ab_0 conda-forge pyjwt 2.8.0 pyhd8ed1ab_1 conda-forge pylibcugraph 24.04.00a114 cuda12_py311_240401_gf753e5146_114 rapidsai-nightly pylibraft 24.04.00a94 cuda12_py311_240330_g5f2bd192_94 rapidsai-nightly pynvjitlink 0.2.0 py311hdaa3023_0 rapidsai-nightly pynvml 11.4.1 pyhd8ed1ab_0 conda-forge pyopenssl 24.0.0 pyhd8ed1ab_0 conda-forge pyparsing 3.1.2 pyhd8ed1ab_0 conda-forge pyppeteer 1.0.2 pyhd8ed1ab_0 conda-forge pyproj 3.6.1 py311h1facc83_4 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge python 3.11.8 hab00c5b_0_cpython conda-forge python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.19.1 pyhd8ed1ab_0 conda-forge python-flatbuffers 24.3.25 pyh59ac667_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python-tzdata 2024.1 pyhd8ed1ab_0 conda-forge python_abi 3.11 4_cp311 conda-forge pytorch 2.1.2 cuda120_py311h9588a60_300 conda-forge pytz 2024.1 pyhd8ed1ab_0 conda-forge pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge pyviz_comms 3.0.1 pyhd8ed1ab_0 conda-forge pywavelets 1.4.1 py311h1f0f07a_1 conda-forge pyyaml 6.0.1 py311h459d7ec_1 conda-forge pyzmq 25.1.2 py311h34ded2d_0 conda-forge raft-dask 24.04.00a94 cuda12_py311_240330_g5f2bd192_94 rapidsai-nightly rapids-dask-dependency 24.04.00a7 0 rapidsai-nightly rav1e 0.6.6 he8a937b_2 conda-forge rdma-core 51.0 hd3aeb46_0 conda-forge re2 2023.09.01 h7f4b329_1 conda-forge readline 8.2 h8228510_1 conda-forge referencing 0.34.0 pyhd8ed1ab_0 conda-forge requests 2.31.0 pyhd8ed1ab_0 conda-forge requests-oauthlib 2.0.0 pyhd8ed1ab_0 conda-forge retrying 1.3.3 py_2 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rich 13.7.1 pyhd8ed1ab_0 conda-forge rmm 24.04.00a39 cuda12_py311_240404_g0651edf0_39 rapidsai-nightly rpds-py 0.18.0 py311h46250e7_0 conda-forge rsa 4.9 pyhd8ed1ab_0 conda-forge rtree 1.2.0 py311h3bb2b0f_0 conda-forge s2n 1.4.1 h06160fa_0 conda-forge scikit-image 0.22.0 py311h320fe9a_2 conda-forge scikit-learn 1.4.1.post1 py311hc009520_0 conda-forge scipy 1.12.0 py311h64a7726_2 conda-forge send2trash 1.8.2 pyh41d4057_0 conda-forge setuptools 69.2.0 pyhd8ed1ab_0 conda-forge shapely 2.0.3 py311h2032efe_0 conda-forge simpervisor 1.0.0 pyhd8ed1ab_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sleef 3.5.1 h9b69904_2 conda-forge snappy 1.1.10 h9fff704_0 conda-forge sniffio 1.3.1 pyhd8ed1ab_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge spdlog 1.12.0 hd2e6256_2 conda-forge sqlite 3.45.2 h2c6b66d_0 conda-forge squarify 0.4.3 py_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge starlette 0.37.2 pyhd8ed1ab_0 conda-forge svt-av1 2.0.0 h59595ed_0 conda-forge sympy 1.12 pypyh9d50eac_103 conda-forge tabulate 0.9.0 pyhd8ed1ab_1 conda-forge tbb 2021.11.0 h00ab1b0_1 conda-forge tblib 3.0.0 pyhd8ed1ab_0 conda-forge tenacity 8.2.3 pyhd8ed1ab_0 conda-forge tensorboard 2.15.2 pyhd8ed1ab_0 conda-forge tensorboard-data-server 0.7.0 py311h63ff55d_1 conda-forge tensorflow 2.15.0 cuda120py311h5cbd639_3 conda-forge tensorflow-base 2.15.0 cuda120py311h43b5e44_3 conda-forge tensorflow-estimator 2.15.0 cuda120py311hf663016_3 conda-forge termcolor 2.4.0 pyhd8ed1ab_0 conda-forge terminado 0.18.1 pyh0d859eb_0 conda-forge threadpoolctl 3.4.0 pyhc1e730c_0 conda-forge tifffile 2024.2.12 pyhd8ed1ab_0 conda-forge tiledb 2.18.4 h4386cac_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.13 noxft_h4845f30_101 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge toolz 0.12.1 pyhd8ed1ab_0 conda-forge tornado 6.4 py311h459d7ec_0 conda-forge tqdm 4.66.2 pyhd8ed1ab_0 conda-forge traitlets 5.14.2 pyhd8ed1ab_0 conda-forge treelite 4.1.2 py311hd96da90_0 conda-forge types-python-dateutil 2.9.0.20240316 pyhd8ed1ab_0 conda-forge typing-extensions 4.10.0 hd8ed1ab_0 conda-forge typing_extensions 4.10.0 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzcode 2024a h3f72095_0 conda-forge tzdata 2024a h0c530f3_0 conda-forge tzlocal 5.2 py311h38be061_0 conda-forge uc-micro-py 1.0.3 pyhd8ed1ab_0 conda-forge ucx 1.15.0 hda83522_8 conda-forge ucx-proc 1.0.0 gpu rapidsai-nightly ucx-py 0.37.00a16 py311_240404_g105df56_16 rapidsai-nightly uri-template 1.3.0 pyhd8ed1ab_0 conda-forge uriparser 0.9.7 h59595ed_1 conda-forge urllib3 1.26.18 pyhd8ed1ab_0 conda-forge uvicorn 0.29.0 py311h38be061_0 conda-forge wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge webcolors 1.13 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.7.0 pyhd8ed1ab_0 conda-forge websockets 10.4 py311hd4cff14_1 conda-forge werkzeug 3.0.2 pyhd8ed1ab_0 conda-forge wheel 0.43.0 pyhd8ed1ab_1 conda-forge wrapt 1.14.1 py311hd4cff14_1 conda-forge xarray 2024.3.0 pyhd8ed1ab_0 conda-forge xarray-spatial 0.3.5 pyhd8ed1ab_0 conda-forge xerces-c 3.2.5 hac6953d_0 conda-forge xorg-kbproto 1.0.7 h7f98852_1002 conda-forge xorg-libice 1.1.1 hd590300_0 conda-forge xorg-libsm 1.2.4 h7391055_0 conda-forge xorg-libx11 1.8.7 h8ee46fc_0 conda-forge xorg-libxau 1.0.11 hd590300_0 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xorg-libxext 1.3.4 h0b41bf4_2 conda-forge xorg-libxrender 0.9.11 hd590300_0 conda-forge xorg-renderproto 0.11.1 h7f98852_1002 conda-forge xorg-xextproto 7.3.0 h0b41bf4_1003 conda-forge xorg-xproto 7.0.31 h7f98852_1007 conda-forge xyzservices 2024.4.0 pyhd8ed1ab_0 conda-forge xz 5.2.6 h166bdaf_0 conda-forge yaml 0.2.5 h7f98852_2 conda-forge yarl 1.9.4 py311h459d7ec_0 conda-forge zeromq 4.3.5 h59595ed_1 conda-forge zfp 1.0.1 h59595ed_0 conda-forge zict 3.0.0 pyhd8ed1ab_0 conda-forge zipp 3.17.0 pyhd8ed1ab_0 conda-forge zlib 1.2.13 hd590300_5 conda-forge zlib-ng 2.0.7 h0b41bf4_0 conda-forge zstd 1.5.5 hfc55251_0 conda-forge

Additional context Add any other context about the problem here.

dantegd commented 1 month ago

Thanks for the issue @tiraldj, the problem in the stack you posted is that the MAE criterion is not supported as can be seen here: https://docs.rapids.ai/api/cuml/stable/api/#random-forest . There was an old PR to add support for it but it wasn't merged: https://github.com/rapidsai/cuml/pull/4030. If you avoid the split criterion MAE (or 3 in the list of options), do you still encounter the issue?

We will add better handling of the parameter in the python library so that a C++ stack trace is not propagated from this issue, and will consider adding MAE in the future.

mcmrc commented 1 month ago

@tiraldj @dantegd Hello, all. I read through the discussion on PR #4030. Can I take this issue?

dantegd commented 3 weeks ago

@mcmrc apologies I missed your reply, we would be very glad for a contribution from you here!