Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Enabling cudf.pandas leads to exception when using a Numpy array #15637

Open
betatim opened this issue May 2, 2024 · 3 comments
Open
Labels
bug Something isn't working cudf.pandas Issues specific to cudf.pandas

Comments

@betatim
Copy link
Member

betatim commented May 2, 2024

Describe the bug
When cudf.pandas is enabled then passing a Numpy array to ExponentialSmoothing from statsmodels.tsa.holtwinters involves the pandas accelerator (odd no?) and leads to an exception.

Steps/Code to reproduce bug

import cudf.pandas
cudf.pandas.install()
import numpy as np
from statsmodels.tsa.holtwinters import ExponentialSmoothing
airpassengers = [
    112,
    118,
    132,
    129,
    121,
    135,
    148,
    148,
    136,
    119,
    104,
    118,
    115,
    126,
    141,
    135,
    125,
    149,
    170,
    170,
    158,
    133,
    114,
    140,
    145,
    150,
    178,
    163,
    172,
    178,
    199,
    199,
    184,
    162,
    146,
    166,
    171,
    180,
    193,
    181,
    183,
    218,
    230,
    242,
    209,
    191,
    172,
    194,
    196,
    196,
    236,
    235,
    229,
    243,
    264,
    272,
    237,
    211,
    180,
    201,
    204,
    188,
    235,
    227,
    234,
    264,
    302,
    293,
    259,
    229,
    203,
    229,
    242,
    233,
    267,
    269,
    270,
    315,
    364,
    347,
    312,
    274,
    237,
    278,
    284,
    277,
    317,
    313,
    318,
    374,
    413,
    405,
    355,
    306,
    271,
    306,
    315,
    301,
    356,
    348,
    355,
    422,
    465,
    467,
    404,
    347,
    305,
    336,
    340,
    318,
    362,
    348,
    363,
    435,
    491,
    505,
    404,
    359,
    310,
    337,
]
airpassengers = np.asarray(airpassengers, dtype=np.float64)

# this line leads to the traceback
ExponentialSmoothing(airpassengers, initialization_method='heuristic', seasonal='additive', seasonal_periods=12)
Full traceback

NotImplementedError Traceback (most recent call last)
File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:888, in _fast_slow_function_call(func, *args, **kwargs)
883 with nvtx.annotate(
884 "EXECUTE_FAST",
885 color=_CUDF_PANDAS_NVTX_COLORS["EXECUTE_FAST"],
886 domain="cudf_pandas",
887 ):
--> 888 fast_args, fast_kwargs = _fast_arg(args), _fast_arg(kwargs)
889 result = func(*fast_args, **fast_kwargs)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:1007, in _fast_arg(arg)
1006 seen: Set[int] = set()
-> 1007 return _transform_arg(arg, "_fsproxy_fast", seen)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:934, in _transform_arg(arg, attribute_name, seen)
932 if type(arg) is tuple:
933 # Must come first to avoid infinite recursion
--> 934 return tuple(_transform_arg(a, attribute_name, seen) for a in arg)
935 elif hasattr(arg, "getnewargs_ex"):
936 # Partial implementation of to reconstruct with
937 # transformed pieces
938 # This handles scipy._lib._bunch._make_tuple_bunch

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:934, in (.0)
932 if type(arg) is tuple:
933 # Must come first to avoid infinite recursion
--> 934 return tuple(_transform_arg(a, attribute_name, seen) for a in arg)
935 elif hasattr(arg, "getnewargs_ex"):
936 # Partial implementation of to reconstruct with
937 # transformed pieces
938 # This handles scipy._lib._bunch._make_tuple_bunch

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:917, in _transform_arg(arg, attribute_name, seen)
916 if isinstance(arg, (_FastSlowProxy, _FastSlowProxyMeta, _FunctionProxy)):
--> 917 typ = getattr(arg, attribute_name)
918 if typ is _Unusable:

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:528, in _FastSlowProxy._fsproxy_fast(self)
523 """
524 Returns the wrapped object. If the wrapped object is of "slow"
525 type, replaces it with the corresponding "fast" object before
526 returning it.
527 """
--> 528 self._fsproxy_wrapped = self._fsproxy_slow_to_fast()
529 return self._fsproxy_wrapped

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/nvtx/nvtx.py:116, in annotate.call..inner(*args, **kwargs)
115 libnvtx_push_range(self.attributes, self.domain.handle)
--> 116 result = func(*args, **kwargs)
117 libnvtx_pop_range(self.domain.handle)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:786, in _IntermediateProxy._fsproxy_slow_to_fast(self)
785 func, args, kwargs = self._method_chain
--> 786 args, kwargs = _fast_arg(args), _fast_arg(kwargs)
787 return func(*args, **kwargs)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:1007, in _fast_arg(arg)
1006 seen: Set[int] = set()
-> 1007 return _transform_arg(arg, "_fsproxy_fast", seen)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:934, in _transform_arg(arg, attribute_name, seen)
932 if type(arg) is tuple:
933 # Must come first to avoid infinite recursion
--> 934 return tuple(_transform_arg(a, attribute_name, seen) for a in arg)
935 elif hasattr(arg, "getnewargs_ex"):
936 # Partial implementation of to reconstruct with
937 # transformed pieces
938 # This handles scipy._lib._bunch._make_tuple_bunch

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:934, in (.0)
932 if type(arg) is tuple:
933 # Must come first to avoid infinite recursion
--> 934 return tuple(_transform_arg(a, attribute_name, seen) for a in arg)
935 elif hasattr(arg, "getnewargs_ex"):
936 # Partial implementation of to reconstruct with
937 # transformed pieces
938 # This handles scipy._lib._bunch._make_tuple_bunch

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:917, in _transform_arg(arg, attribute_name, seen)
916 if isinstance(arg, (_FastSlowProxy, _FastSlowProxyMeta, _FunctionProxy)):
--> 917 typ = getattr(arg, attribute_name)
918 if typ is _Unusable:

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:528, in _FastSlowProxy._fsproxy_fast(self)
523 """
524 Returns the wrapped object. If the wrapped object is of "slow"
525 type, replaces it with the corresponding "fast" object before
526 returning it.
527 """
--> 528 self._fsproxy_wrapped = self._fsproxy_slow_to_fast()
529 return self._fsproxy_wrapped

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/nvtx/nvtx.py:116, in annotate.call..inner(*args, **kwargs)
115 libnvtx_push_range(self.attributes, self.domain.handle)
--> 116 result = func(*args, **kwargs)
117 libnvtx_pop_range(self.domain.handle)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:787, in _IntermediateProxy._fsproxy_slow_to_fast(self)
786 args, kwargs = _fast_arg(args), _fast_arg(kwargs)
--> 787 return func(*args, **kwargs)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:30, in call_operator(fn, args, kwargs)
29 def call_operator(fn, args, kwargs):
---> 30 return fn(*args, **kwargs)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:76, in _Unusable.call(self, *args, **kwds)
75 def call(self, *args: Any, **kwds: Any) -> Any:
---> 76 raise NotImplementedError(
77 "Fast implementation not available. "
78 "Falling back to the slow implementation"
79 )

NotImplementedError: Fast implementation not available. Falling back to the slow implementation

During handling of the above exception, another exception occurred:

TypeError Traceback (most recent call last)
Cell In[1], line 130
127 airpassengers = np.asarray(airpassengers, dtype=np.float64)
129 # this line leads to the traceback
--> 130 ExponentialSmoothing(airpassengers, initialization_method='heuristic', seasonal='additive', seasonal_periods=12)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:837, in _CallableProxyMixin.call(self, *args, **kwargs)
836 def call(self, *args, **kwargs) -> Any:
--> 837 result, _ = _fast_slow_function_call(
838 # We cannot directly call self here because we need it to be
839 # converted into either the fast or slow object (by
840 # _fast_slow_function_call) to avoid infinite recursion.
841 # TODO: When Python 3.11 is the minimum supported Python version
842 # this can use operator.call
843 call_operator,
844 self,
845 args,
846 kwargs,
847 )
848 return result

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:902, in _fast_slow_function_call(func, *args, **kwargs)
900 slow_args, slow_kwargs = _slow_arg(args), _slow_arg(kwargs)
901 with disable_module_accelerator():
--> 902 result = func(*slow_args, **slow_kwargs)
903 return _maybe_wrap_result(result, func, *args, **kwargs), fast

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/cudf/pandas/fast_slow_proxy.py:30, in call_operator(fn, args, kwargs)
29 def call_operator(fn, args, kwargs):
---> 30 return fn(*args, **kwargs)

File /nvme/1/thead/miniconda/envs/cuml-dev-24.06/lib/python3.11/site-packages/pandas/util/_decorators.py:213, in deprecate_kwarg.._deprecate_kwarg..wrapper(*args, **kwargs)
211 raise TypeError(msg)
212 kwargs[new_arg_name] = new_arg_value
--> 213 return func(*args, **kwargs)

TypeError: ExponentialSmoothing.init() missing 1 required positional argument: 'endog'

Expected behavior
No error

Environment overview (please complete the following information)
Setup cuml dev environment using a conda env

Environment details
Please run and paste the output of the cudf/print_env.sh script here, to gather any other relevant environment details

Click here to see environment details
 **git***
 Not inside a git repository

 ***OS Information***
 DISTRIB_ID=Ubuntu
 DISTRIB_RELEASE=22.04
 DISTRIB_CODENAME=jammy
 DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
 PRETTY_NAME="Ubuntu 22.04.2 LTS"
 NAME="Ubuntu"
 VERSION_ID="22.04"
 VERSION="22.04.2 LTS (Jammy Jellyfish)"
 VERSION_CODENAME=jammy
 ID=ubuntu
 ID_LIKE=debian
 HOME_URL="https://www.ubuntu.com/"
 SUPPORT_URL="https://help.ubuntu.com/"
 BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
 PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
 UBUNTU_CODENAME=jammy
 Linux dt05 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

 ***GPU Information***
 Thu May  2 08:41:30 2024
 +---------------------------------------------------------------------------------------+
 | NVIDIA-SMI 535.129.03             Driver Version: 535.129.03   CUDA Version: 12.2     |
 |-----------------------------------------+----------------------+----------------------+
 | GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
 | Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
 |                                         |                      |               MIG M. |
 |=========================================+======================+======================|
 |   0  Tesla T4                       On  | 00000000:3B:00.0 Off |                    0 |
 | N/A   36C    P8              15W /  70W |      2MiB / 15360MiB |      0%      Default |
 |                                         |                      |                  N/A |
 +-----------------------------------------+----------------------+----------------------+
 |   1  Tesla T4                       On  | 00000000:5E:00.0 Off |                    0 |
 | N/A   35C    P8              10W /  70W |      2MiB / 15360MiB |      0%      Default |
 |                                         |                      |                  N/A |
 +-----------------------------------------+----------------------+----------------------+
 |   2  Tesla T4                       On  | 00000000:AF:00.0 Off |                    0 |
 | N/A   29C    P8               9W /  70W |      2MiB / 15360MiB |      0%      Default |
 |                                         |                      |                  N/A |
 +-----------------------------------------+----------------------+----------------------+
 |   3  Tesla T4                       On  | 00000000:D8:00.0 Off |                    0 |
 | N/A   29C    P8               9W /  70W |      2MiB / 15360MiB |      0%      Default |
 |                                         |                      |                  N/A |
 +-----------------------------------------+----------------------+----------------------+

 +---------------------------------------------------------------------------------------+
 | Processes:                                                                            |
 |  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
 |        ID   ID                                                             Usage      |
 |=======================================================================================|
 |  No running processes found                                                           |
 +---------------------------------------------------------------------------------------+

 ***CPU***
 Architecture:                       x86_64
 CPU op-mode(s):                     32-bit, 64-bit
 Address sizes:                      46 bits physical, 48 bits virtual
 Byte Order:                         Little Endian
 CPU(s):                             64
 On-line CPU(s) list:                0-63
 Vendor ID:                          GenuineIntel
 Model name:                         Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
 CPU family:                         6
 Model:                              85
 Thread(s) per core:                 2
 Core(s) per socket:                 16
 Socket(s):                          2
 Stepping:                           4
 CPU max MHz:                        3700.0000
 CPU min MHz:                        1000.0000
 BogoMIPS:                           4200.00
 Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd mba ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke md_clear flush_l1d arch_capabilities
 Virtualization:                     VT-x
 L1d cache:                          1 MiB (32 instances)
 L1i cache:                          1 MiB (32 instances)
 L2 cache:                           32 MiB (32 instances)
 L3 cache:                           44 MiB (2 instances)
 NUMA node(s):                       2
 NUMA node0 CPU(s):                  0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62
 NUMA node1 CPU(s):                  1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63
 Vulnerability Gather data sampling: Mitigation; Microcode
 Vulnerability Itlb multihit:        KVM: Mitigation: VMX disabled
 Vulnerability L1tf:                 Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
 Vulnerability Mds:                  Mitigation; Clear CPU buffers; SMT vulnerable
 Vulnerability Meltdown:             Mitigation; PTI
 Vulnerability Mmio stale data:      Mitigation; Clear CPU buffers; SMT vulnerable
 Vulnerability Retbleed:             Mitigation; IBRS
 Vulnerability Spec rstack overflow: Not affected
 Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl and seccomp
 Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
 Vulnerability Spectre v2:           Mitigation; IBRS, IBPB conditional, STIBP conditional, RSB filling, PBRSB-eIBRS Not affected
 Vulnerability Srbds:                Not affected
 Vulnerability Tsx async abort:      Mitigation; Clear CPU buffers; SMT vulnerable

 ***CMake***
 /nvme/1/thead/miniconda/envs/cuml-dev-24.06/bin/cmake
 cmake version 3.29.2

 CMake suite maintained and supported by Kitware (kitware.com/cmake).

 ***g++***
 /nvme/1/thead/miniconda/envs/cuml-dev-24.06/bin/g++
 g++ (conda-forge gcc 11.4.0-6) 11.4.0
 Copyright (C) 2021 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 ***nvcc***
 /nvme/1/thead/miniconda/envs/cuml-dev-24.06/bin/nvcc
 nvcc: NVIDIA (R) Cuda compiler driver
 Copyright (c) 2005-2023 NVIDIA Corporation
 Built on Tue_Aug_15_22:02:13_PDT_2023
 Cuda compilation tools, release 12.2, V12.2.140
 Build cuda_12.2.r12.2/compiler.33191640_0

 ***Python***
 /nvme/1/thead/miniconda/envs/cuml-dev-24.06/bin/python
 Python 3.11.9

 ***Environment Variables***
 PATH                            : /home/nfs/thead/.local/bin:/home/nfs/thead/.local/bin:/nvme/1/thead/miniconda/envs/cuml-dev-24.06/bin:/nvme/1/thead/miniconda/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
 LD_LIBRARY_PATH                 :
 NUMBAPRO_NVVM                   :
 NUMBAPRO_LIBDEVICE              :
 CONDA_PREFIX                    : /nvme/1/thead/miniconda/envs/cuml-dev-24.06
 PYTHON_PATH                     :

 ***conda packages***
 /nvme/1/thead/miniconda/condabin/conda
 # packages in environment at /nvme/1/thead/miniconda/envs/cuml-dev-24.06:
 #
 # Name                    Version                   Build  Channel
 _libgcc_mutex             0.1                 conda_forge    conda-forge
 _openmp_mutex             4.5                       2_gnu    conda-forge
 _sysroot_linux-64_curr_repodata_hack 3                   h69a702a_14    conda-forge
 accessible-pygments       0.0.4              pyhd8ed1ab_0    conda-forge
 alabaster                 0.7.16             pyhd8ed1ab_0    conda-forge
 asttokens                 2.4.1              pyhd8ed1ab_0    conda-forge
 atk-1.0                   2.38.0               h04ea711_2    conda-forge
 attrs                     23.2.0             pyh71513ae_0    conda-forge
 aws-c-auth                0.7.18               he0b1f16_0    conda-forge
 aws-c-cal                 0.6.11               heb1d5e4_0    conda-forge
 aws-c-common              0.9.15               hd590300_0    conda-forge
 aws-c-compression         0.2.18               hce8ee76_3    conda-forge
 aws-c-event-stream        0.4.2                h01f5eca_8    conda-forge
 aws-c-http                0.8.1               hdb68c23_10    conda-forge
 aws-c-io                  0.14.7               hbfbeace_6    conda-forge
 aws-c-mqtt                0.10.4               h50844eb_0    conda-forge
 aws-c-s3                  0.5.7                h6be9164_2    conda-forge
 aws-c-sdkutils            0.1.15               hce8ee76_3    conda-forge
 aws-checksums             0.1.18               hce8ee76_3    conda-forge
 aws-crt-cpp               0.26.8               h2150271_2    conda-forge
 aws-sdk-cpp               1.11.267             hddb5a97_7    conda-forge
 babel                     2.14.0             pyhd8ed1ab_0    conda-forge
 backports.zoneinfo        0.2.1           py311h38be061_8    conda-forge
 beautifulsoup4            4.12.3             pyha770c72_0    conda-forge
 binutils                  2.40                 h4852527_0    conda-forge
 binutils_impl_linux-64    2.40                 ha885e6a_0    conda-forge
 binutils_linux-64         2.40                 hdade7a5_3    conda-forge
 bleach                    6.1.0              pyhd8ed1ab_0    conda-forge
 bokeh                     3.4.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
 bzip2                     1.0.8                hd590300_5    conda-forge
 c-ares                    1.28.1               hd590300_0    conda-forge
 c-compiler                1.5.2                h0b41bf4_0    conda-forge
 ca-certificates           2024.2.2             hbcca054_0    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
 charset-normalizer        3.3.2              pyhd8ed1ab_0    conda-forge
 click                     8.1.7           unix_pyh707e725_0    conda-forge
 cloudpickle               3.0.0              pyhd8ed1ab_0    conda-forge
 cmake                     3.29.2               hcfe8598_0    conda-forge
 colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
 comm                      0.2.2              pyhd8ed1ab_0    conda-forge
 commonmark                0.9.1                      py_0    conda-forge
 contourpy                 1.2.1           py311h9547e67_0    conda-forge
 coverage                  7.5.0           py311h331c9d8_0    conda-forge
 cuda-cccl_linux-64        12.2.140             ha770c72_0    conda-forge
 cuda-crt-dev_linux-64     12.2.140             ha770c72_1    conda-forge
 cuda-crt-tools            12.2.140             ha770c72_1    conda-forge
 cuda-cudart               12.2.140             hd3aeb46_0    conda-forge
 cuda-cudart-dev           12.2.140             hd3aeb46_0    conda-forge
 cuda-cudart-dev_linux-64  12.2.140             h59595ed_0    conda-forge
 cuda-cudart-static        12.2.140             hd3aeb46_0    conda-forge
 cuda-cudart-static_linux-64 12.2.140             h59595ed_0    conda-forge
 cuda-cudart_linux-64      12.2.140             h59595ed_0    conda-forge
 cuda-driver-dev_linux-64  12.2.140             h59595ed_0    conda-forge
 cuda-nvcc                 12.2.140             hcdd1206_0    conda-forge
 cuda-nvcc-dev_linux-64    12.2.140             ha770c72_1    conda-forge
 cuda-nvcc-impl            12.2.140             hd3aeb46_1    conda-forge
 cuda-nvcc-tools           12.2.140             hd3aeb46_1    conda-forge
 cuda-nvcc_linux-64        12.2.140             h8a487aa_0    conda-forge
 cuda-nvrtc                12.2.140             hd3aeb46_0    conda-forge
 cuda-nvvm-dev_linux-64    12.2.140             ha770c72_1    conda-forge
 cuda-nvvm-impl            12.2.140             h59595ed_1    conda-forge
 cuda-nvvm-tools           12.2.140             h59595ed_1    conda-forge
 cuda-profiler-api         12.2.140             ha770c72_0    conda-forge
 cuda-python               12.4.0          py311h7f239a6_1    conda-forge
 cuda-version              12.2                 he2b69de_3    conda-forge
 cudf                      24.06.00a164    cuda12_py311_240430_gab5e3f3bc8_164    rapidsai-nightly
 cuml                      24.6.0                   pypi_0    pypi
 cupy                      13.1.0          py311hf829483_4    conda-forge
 cupy-core                 13.1.0          py311he1e6e68_4    conda-forge
 cxx-compiler              1.5.2                hf52228f_0    conda-forge
 cycler                    0.12.1             pyhd8ed1ab_0    conda-forge
 cython                    3.0.10          py311hb755f60_0    conda-forge
 cytoolz                   0.12.3          py311h459d7ec_0    conda-forge
 dask                      2024.4.3a240423  py_g5a588aee_1    dask/label/dev
 dask-core                 2024.4.3a240429 py_gb958ce2dc_9    dask/label/dev
 dask-cuda                 24.06.00a12     py311_240430_g85cbd00_12    rapidsai-nightly
 dask-cudf                 24.06.00a164    cuda12_py311_240430_gab5e3f3bc8_164    rapidsai-nightly
 dask-expr                 1.0.13a240425     py_g301c1a6_5    dask/label/dev
 dask-glm                  0.3.0                    pypi_0    pypi
 dask-ml                   2024.3.20          pyhd8ed1ab_0    conda-forge
 debugpy                   1.8.1           py311hb755f60_0    conda-forge
 decopatch                 1.4.10             pyhd8ed1ab_0    conda-forge
 decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
 defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
 distributed               2024.4.3a240423  py_g5a588aee_1    dask/label/dev
 dlpack                    0.8                  h59595ed_3    conda-forge
 docutils                  0.19            py311h38be061_1    conda-forge
 doxygen                   1.9.1                hb166930_1    conda-forge
 entrypoints               0.4                pyhd8ed1ab_0    conda-forge
 exceptiongroup            1.2.0              pyhd8ed1ab_2    conda-forge
 execnet                   2.1.1              pyhd8ed1ab_0    conda-forge
 executing                 2.0.1              pyhd8ed1ab_0    conda-forge
 expat                     2.6.2                h59595ed_0    conda-forge
 fastrlock                 0.8.2           py311hb755f60_2    conda-forge
 fmt                       10.2.1               h00ab1b0_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.51.0          py311h459d7ec_0    conda-forge
 freetype                  2.12.1               h267a509_2    conda-forge
 fribidi                   1.0.10               h36c2ea0_0    conda-forge
 fsspec                    2024.3.1           pyhca7485f_0    conda-forge
 future                    1.0.0              pyhd8ed1ab_0    conda-forge
 gcc                       11.4.0               h602e360_6    conda-forge
 gcc_impl_linux-64         11.4.0               h7abf839_6    conda-forge
 gcc_linux-64              11.4.0               h0f0c6b6_3    conda-forge
 gdk-pixbuf                2.42.11              hb9ae30d_0    conda-forge
 gflags                    2.2.2             he1b5a44_1004    conda-forge
 giflib                    5.2.2                hd590300_0    conda-forge
 glog                      0.7.0                hed5481d_0    conda-forge
 graphite2                 1.3.13            h59595ed_1003    conda-forge
 graphviz                  9.0.0                h78e8752_1    conda-forge
 gtk2                      2.24.33              h280cfa0_4    conda-forge
 gts                       0.7.6                h977cf35_4    conda-forge
 gxx                       11.4.0               h602e360_6    conda-forge
 gxx_impl_linux-64         11.4.0               h7abf839_6    conda-forge
 gxx_linux-64              11.4.0               h2730b16_3    conda-forge
 harfbuzz                  8.4.0                h3d44ed6_0    conda-forge
 hdbscan                   0.8.30          py311h1f0f07a_0    conda-forge
 hypothesis                6.100.2            pyha770c72_0    conda-forge
 icu                       73.2                 h59595ed_0    conda-forge
 idna                      3.7                pyhd8ed1ab_0    conda-forge
 imagesize                 1.4.1              pyhd8ed1ab_0    conda-forge
 importlib-metadata        7.1.0              pyha770c72_0    conda-forge
 importlib-resources       6.4.0              pyhd8ed1ab_0    conda-forge
 importlib_metadata        7.1.0                hd8ed1ab_0    conda-forge
 importlib_resources       6.4.0              pyhd8ed1ab_0    conda-forge
 iniconfig                 2.0.0              pyhd8ed1ab_0    conda-forge
 ipykernel                 6.29.3             pyhd33586a_0    conda-forge
 ipython                   8.22.2             pyh707e725_0    conda-forge
 jedi                      0.19.1             pyhd8ed1ab_0    conda-forge
 jinja2                    3.1.3              pyhd8ed1ab_0    conda-forge
 joblib                    1.4.0              pyhd8ed1ab_0    conda-forge
 jsonschema                4.21.1             pyhd8ed1ab_0    conda-forge
 jsonschema-specifications 2023.12.1          pyhd8ed1ab_0    conda-forge
 jupyter_client            8.6.1              pyhd8ed1ab_0    conda-forge
 jupyter_core              5.7.2           py311h38be061_0    conda-forge
 jupyterlab_pygments       0.3.0              pyhd8ed1ab_1    conda-forge
 kernel-headers_linux-64   3.10.0              h4a8ded7_14    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
 lcms2                     2.16                 hb7c19ff_0    conda-forge
 ld_impl_linux-64          2.40                 h55db66e_0    conda-forge
 lerc                      4.0.0                h27087fc_0    conda-forge
 libabseil                 20240116.2      cxx17_h59595ed_0    conda-forge
 libarrow                  14.0.2          hefa796f_19_cpu    conda-forge
 libarrow-acero            14.0.2          hbabe93e_19_cpu    conda-forge
 libarrow-dataset          14.0.2          hbabe93e_19_cpu    conda-forge
 libarrow-flight           14.0.2          hc4f8a93_19_cpu    conda-forge
 libarrow-flight-sql       14.0.2          he4f5ca8_19_cpu    conda-forge
 libarrow-gandiva          14.0.2          hc1954e9_19_cpu    conda-forge
 libarrow-substrait        14.0.2          he4f5ca8_19_cpu    conda-forge
 libblas                   3.9.0           22_linux64_openblas    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           22_linux64_openblas    conda-forge
 libcrc32c                 1.1.2                h9c3ff4c_0    conda-forge
 libcublas                 12.2.5.6             hd3aeb46_0    conda-forge
 libcublas-dev             12.2.5.6             hd3aeb46_0    conda-forge
 libcudf                   24.06.00a164    cuda12_240430_gab5e3f3bc8_164    rapidsai-nightly
 libcufft                  11.0.8.103           hd3aeb46_0    conda-forge
 libcufft-dev              11.0.8.103           hd3aeb46_0    conda-forge
 libcufile                 1.7.2.10             hd3aeb46_0    conda-forge
 libcufile-dev             1.7.2.10             hd3aeb46_0    conda-forge
 libcumlprims              24.06.00a       cuda12_240429_g98a3699_7    rapidsai-nightly
 libcurand                 10.3.3.141           hd3aeb46_0    conda-forge
 libcurand-dev             10.3.3.141           hd3aeb46_0    conda-forge
 libcurl                   8.7.1                hca28451_0    conda-forge
 libcusolver               11.5.2.141           hd3aeb46_0    conda-forge
 libcusolver-dev           11.5.2.141           hd3aeb46_0    conda-forge
 libcusparse               12.1.2.141           hd3aeb46_0    conda-forge
 libcusparse-dev           12.1.2.141           hd3aeb46_0    conda-forge
 libdeflate                1.20                 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-devel_linux-64     11.4.0             hc2b0fca_106    conda-forge
 libgcc-ng                 13.2.0               hc881cc4_6    conda-forge
 libgd                     2.3.3                h119a65a_9    conda-forge
 libgfortran-ng            13.2.0               h69a702a_6    conda-forge
 libgfortran5              13.2.0               h43f5ff8_6    conda-forge
 libglib                   2.80.0               hf2295e7_6    conda-forge
 libgomp                   13.2.0               hc881cc4_6    conda-forge
 libgoogle-cloud           2.23.0               h9be4e54_1    conda-forge
 libgoogle-cloud-storage   2.23.0               hc7a4891_1    conda-forge
 libgrpc                   1.62.2               h15f2491_0    conda-forge
 libhwloc                  2.10.0          default_h2fb2949_1000    conda-forge
 libiconv                  1.17                 hd590300_2    conda-forge
 libjpeg-turbo             3.0.0                hd590300_1    conda-forge
 libkvikio                 24.06.00a       cuda12_240430_g7b0231c_11    rapidsai-nightly
 liblapack                 3.9.0           22_linux64_openblas    conda-forge
 libllvm14                 14.0.6               hcd5def8_4    conda-forge
 libllvm15                 15.0.7               hb3ce162_4    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.2.140             hd3aeb46_0    conda-forge
 libopenblas               0.3.27          pthreads_h413a1c8_0    conda-forge
 libparquet                14.0.2          hacf5a1f_19_cpu    conda-forge
 libpng                    1.6.43               h2797004_0    conda-forge
 libprotobuf               4.25.3               h08a7969_0    conda-forge
 libraft                   24.06.00a42     cuda12_240429_gd4d92ce9_42    rapidsai-nightly
 libraft-headers           24.06.00a42     cuda12_240429_gd4d92ce9_42    rapidsai-nightly
 libraft-headers-only      24.06.00a42     cuda12_240429_gd4d92ce9_42    rapidsai-nightly
 libre2-11                 2023.09.01           h5a48ba9_2    conda-forge
 librmm                    24.06.00a14     cuda12_240430_g9e6db746_14    rapidsai-nightly
 librsvg                   2.58.0               hadf69e7_1    conda-forge
 libsanitizer              11.4.0               hc2b0fca_6    conda-forge
 libsodium                 1.0.18               h36c2ea0_1    conda-forge
 libsqlite                 3.45.3               h2797004_0    conda-forge
 libssh2                   1.11.0               h0841786_0    conda-forge
 libstdcxx-devel_linux-64  11.4.0             hc2b0fca_106    conda-forge
 libstdcxx-ng              13.2.0               h95c4c6d_6    conda-forge
 libthrift                 0.19.0               hb90f79a_1    conda-forge
 libtiff                   4.6.0                h1dd3fc0_3    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_1    conda-forge
 libxcb                    1.15                 h0b41bf4_0    conda-forge
 libxcrypt                 4.4.36               hd590300_1    conda-forge
 libxml2                   2.12.6               h232c23b_2    conda-forge
 libzlib                   1.2.13               hd590300_5    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
 makefun                   1.15.2             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.4           py311h54ef318_0    conda-forge
 matplotlib-inline         0.1.7              pyhd8ed1ab_0    conda-forge
 mdurl                     0.1.2              pyhd8ed1ab_0    conda-forge
 mistune                   3.0.2              pyhd8ed1ab_0    conda-forge
 msgpack-python            1.0.7           py311h9547e67_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                 7.16.3               hd8ed1ab_1    conda-forge
 nbconvert-core            7.16.3             pyhd8ed1ab_1    conda-forge
 nbconvert-pandoc          7.16.3               hd8ed1ab_1    conda-forge
 nbformat                  5.10.4             pyhd8ed1ab_0    conda-forge
 nbsphinx                  0.9.3              pyhd8ed1ab_0    conda-forge
 nccl                      2.21.5.1             h3a97aeb_0    conda-forge
 ncurses                   6.4.20240210         h59595ed_0    conda-forge
 nest-asyncio              1.6.0              pyhd8ed1ab_0    conda-forge
 ninja                     1.12.0               h00ab1b0_0    conda-forge
 nltk                      3.8.1              pyhd8ed1ab_0    conda-forge
 numba                     0.59.1          py311h96b013e_0    conda-forge
 numpy                     1.26.4          py311h64a7726_0    conda-forge
 numpydoc                  1.7.0              pyhd8ed1ab_0    conda-forge
 nvcomp                    3.0.6                h10b603f_0    conda-forge
 nvtx                      0.2.10          py311h459d7ec_0    conda-forge
 openjpeg                  2.5.2                h488ebb8_0    conda-forge
 openssl                   3.2.1                hd590300_1    conda-forge
 orc                       2.0.0                h17fec99_1    conda-forge
 packaging                 24.0               pyhd8ed1ab_0    conda-forge
 pandas                    2.2.2           py311h320fe9a_0    conda-forge
 pandoc                    3.1.13               ha770c72_0    conda-forge
 pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
 pango                     1.52.2               ha41ecd1_0    conda-forge
 parso                     0.8.4              pyhd8ed1ab_0    conda-forge
 partd                     1.4.1              pyhd8ed1ab_0    conda-forge
 pathspec                  0.12.1             pyhd8ed1ab_0    conda-forge
 patsy                     0.5.6              pyhd8ed1ab_0    conda-forge
 pcre2                     10.43                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.1              pyhd8ed1ab_0    conda-forge
 pluggy                    1.5.0              pyhd8ed1ab_0    conda-forge
 prompt-toolkit            3.0.42             pyha770c72_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
 py-cpuinfo                9.0.0              pyhd8ed1ab_0    conda-forge
 pyarrow                   14.0.2          py311hd5e4297_19_cpu    conda-forge
 pydata-sphinx-theme       0.15.2             pyhd8ed1ab_0    conda-forge
 pygments                  2.17.2             pyhd8ed1ab_0    conda-forge
 pylibraft                 24.06.00a42     cuda12_py311_240429_gd4d92ce9_42    rapidsai-nightly
 pynndescent               0.5.8              pyh1a96a4e_0    conda-forge
 pynvjitlink               0.2.2           py311hdaa3023_0    rapidsai
 pynvml                    11.4.1             pyhd8ed1ab_0    conda-forge
 pyparsing                 3.1.2              pyhd8ed1ab_0    conda-forge
 pysocks                   1.7.1              pyha2e5f31_6    conda-forge
 pytest                    7.4.4              pyhd8ed1ab_0    conda-forge
 pytest-benchmark          4.0.0              pyhd8ed1ab_0    conda-forge
 pytest-cases              3.8.5              pyhd8ed1ab_0    conda-forge
 pytest-cov                5.0.0              pyhd8ed1ab_0    conda-forge
 pytest-xdist              3.5.0              pyhd8ed1ab_0    conda-forge
 python                    3.11.9          hb806964_0_cpython    conda-forge
 python-dateutil           2.9.0              pyhd8ed1ab_0    conda-forge
 python-fastjsonschema     2.19.1             pyhd8ed1ab_0    conda-forge
 python-tzdata             2024.1             pyhd8ed1ab_0    conda-forge
 python_abi                3.11                    4_cp311    conda-forge
 pytz                      2024.1             pyhd8ed1ab_0    conda-forge
 pyyaml                    6.0.1           py311h459d7ec_1    conda-forge
 pyzmq                     26.0.2          py311h08a0b41_0    conda-forge
 raft-dask                 24.06.00a42     cuda12_py311_240429_gd4d92ce9_42    rapidsai-nightly
 rapids-dask-dependency    24.06.00a20                py_0    rapidsai-nightly
 rdma-core                 51.0                 hd3aeb46_0    conda-forge
 re2                       2023.09.01           h7f4b329_2    conda-forge
 readline                  8.2                  h8228510_1    conda-forge
 recommonmark              0.7.1              pyhd8ed1ab_0    conda-forge
 referencing               0.35.0             pyhd8ed1ab_0    conda-forge
 regex                     2024.4.28       py311h331c9d8_0    conda-forge
 requests                  2.31.0             pyhd8ed1ab_0    conda-forge
 rhash                     1.4.4                hd590300_0    conda-forge
 rich                      13.7.1             pyhd8ed1ab_0    conda-forge
 rmm                       24.06.00a14     cuda12_py311_240430_g9e6db746_14    rapidsai-nightly
 rpds-py                   0.18.0          py311h46250e7_0    conda-forge
 s2n                       1.4.12               h06160fa_0    conda-forge
 scikit-build-core         0.9.2              pyh4af843d_0    conda-forge
 scikit-learn              1.2.0           py311h67c5ca5_0    conda-forge
 scipy                     1.13.0          py311h64a7726_0    conda-forge
 seaborn                   0.13.2               hd8ed1ab_0    conda-forge
 seaborn-base              0.13.2             pyhd8ed1ab_0    conda-forge
 setuptools                69.5.1             pyhd8ed1ab_0    conda-forge
 six                       1.16.0             pyh6c4a22f_0    conda-forge
 snappy                    1.2.0                hdb0a2a9_1    conda-forge
 snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
 sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
 soupsieve                 2.5                pyhd8ed1ab_1    conda-forge
 sparse                    0.15.1             pyhd8ed1ab_1    conda-forge
 spdlog                    1.12.0               hd2e6256_2    conda-forge
 sphinx                    5.3.0              pyhd8ed1ab_0    conda-forge
 sphinx-copybutton         0.5.2              pyhd8ed1ab_0    conda-forge
 sphinx-markdown-tables    0.0.17             pyh6c4a22f_0    conda-forge
 sphinxcontrib-applehelp   1.0.8              pyhd8ed1ab_0    conda-forge
 sphinxcontrib-devhelp     1.0.6              pyhd8ed1ab_0    conda-forge
 sphinxcontrib-htmlhelp    2.0.5              pyhd8ed1ab_0    conda-forge
 sphinxcontrib-jsmath      1.0.1              pyhd8ed1ab_0    conda-forge
 sphinxcontrib-qthelp      1.0.7              pyhd8ed1ab_0    conda-forge
 sphinxcontrib-serializinghtml 1.1.10             pyhd8ed1ab_0    conda-forge
 stack_data                0.6.2              pyhd8ed1ab_0    conda-forge
 statsmodels               0.14.1          py311h1f0f07a_0    conda-forge
 sysroot_linux-64          2.17                h4a8ded7_14    conda-forge
 tabulate                  0.9.0              pyhd8ed1ab_1    conda-forge
 tbb                       2021.12.0            h00ab1b0_0    conda-forge
 tblib                     3.0.0              pyhd8ed1ab_0    conda-forge
 threadpoolctl             3.5.0              pyhc1e730c_0    conda-forge
 tinycss2                  1.3.0              pyhd8ed1ab_0    conda-forge
 tk                        8.6.13          noxft_h4845f30_101    conda-forge
 toml                      0.10.2             pyhd8ed1ab_0    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.3             pyhd8ed1ab_0    conda-forge
 treelite                  4.1.2           py311he8f9275_1    conda-forge
 typing-extensions         4.11.0               hd8ed1ab_0    conda-forge
 typing_extensions         4.11.0             pyha770c72_0    conda-forge
 tzdata                    2024a                h0c530f3_0    conda-forge
 ucx                       1.15.0               hda83522_8    conda-forge
 ucx-proc                  1.0.0                       gpu    rapidsai
 ucx-py                    0.38.00a4       py311_240430_g03c864b_4    rapidsai-nightly
 umap-learn                0.5.3           py311h38be061_1    conda-forge
 urllib3                   2.2.1              pyhd8ed1ab_0    conda-forge
 wcwidth                   0.2.13             pyhd8ed1ab_0    conda-forge
 webencodings              0.5.1              pyhd8ed1ab_2    conda-forge
 wheel                     0.43.0             pyhd8ed1ab_1    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.9                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
 zeromq                    4.3.5                h59595ed_1    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
 zstd                      1.5.5                hfc55251_0    conda-forge

@betatim betatim added the bug Something isn't working label May 2, 2024
@galipremsagar galipremsagar added this to the Proxying - cudf.pandas milestone May 2, 2024
@galipremsagar galipremsagar added the cudf.pandas Issues specific to cudf.pandas label May 2, 2024
@mroeschke
Copy link
Contributor

mroeschke commented May 2, 2024

Leaving some notes after a first pass investigation:

ExponentialSmoothing.__init__ is quietly a pandas function since it uses the pandas.util._decorators.deprecate_kwarg decorator. Seems like self as an arg to __init__ isn't being proxied correctly when falling back to a "slow" path.

Removing the @deprecate_kwarg allows ExponentialSmoothing to construct correctly

@mroeschke
Copy link
Contributor

Simpler repo:

In [1]: import cudf.pandas
   ...: cudf.pandas.install()
   ...: import pandas as pd

In [2]: class Foo:
   ...:     @pd.util._decorators.deprecate_kwarg("not", "important")
   ...:     def __init__(self, val, important=None):
   ...:         self.val = val
   ...: 

In [3]: Foo(1)
TypeError: Foo.__init__() missing 1 required positional argument: 'val'

@betatim betatim changed the title [BUG] [BUG] Enabling cudf.pandas leads to exception when using a Numpy array May 3, 2024
@betatim
Copy link
Member Author

betatim commented May 3, 2024

(Apologies for the crappy issue title (none at all), tried to improve it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cudf.pandas Issues specific to cudf.pandas
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants