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] GPU-accelerated file reads fail on WSL2 #9861

Closed
charlesbluca opened this issue Dec 7, 2021 · 9 comments
Closed

[BUG] GPU-accelerated file reads fail on WSL2 #9861

charlesbluca opened this issue Dec 7, 2021 · 9 comments
Labels
bug Something isn't working cuIO cuIO issue

Comments

@charlesbluca
Copy link
Member

Describe the bug
When trying to read a dataframe from file on Windows Subsystem for Linux (WSL) using a GPU-accelerated reader method (e.g. all the reader methods but to_feather), the operation fails and crashes the Python kernel:

Assertion failure, file index :cufio-udev  line :143
Aborted

Steps/Code to reproduce bug
Working with the latest cuDF source on WSL2 Ubuntu 20.04:

import cudf

df = cudf.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
pdf = df.to_pandas()

pdf.to_parquet("test")
pdf.to_csv("test2")

cudf.read_parquet("test")
cudf.read_csv("test2")

Expected behavior
A dataframe to successfully be loaded from the file(s).

Environment overview (please complete the following information)

  • Environment location: bare-metal
  • Method of cuDF install: source

Environment details

Click here to see environment details
 **git***
 commit 8c82d6acd14b28a74228ba20b765925beea2c383 (HEAD -> branch-22.02, upstream/branch-22.02)
 Author: Mayank Anand <36782063+mayankanand007@users.noreply.github.com>
 Date:   Tue Dec 7 09:32:55 2021 -0500
 
 adding `series.transpose` (#9835)
 
 Fixes: #9605
 
 Authors:
 - Mayank Anand (https://github.com/mayankanand007)
 
 Approvers:
 - Michael Wang (https://github.com/isVoid)
 - GALI PREM SAGAR (https://github.com/galipremsagar)
 
 URL: https://github.com/rapidsai/cudf/pull/9835
 **git submodules***
 
 ***OS Information***
 DISTRIB_ID=Ubuntu
 DISTRIB_RELEASE=20.04
 DISTRIB_CODENAME=focal
 DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
 NAME="Ubuntu"
 VERSION="20.04.3 LTS (Focal Fossa)"
 ID=ubuntu
 ID_LIKE=debian
 PRETTY_NAME="Ubuntu 20.04.3 LTS"
 VERSION_ID="20.04"
 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"
 VERSION_CODENAME=focal
 UBUNTU_CODENAME=focal
 Linux charlesb-dt 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
 
 ***GPU Information***
 Tue Dec  7 14:19:24 2021
 +-----------------------------------------------------------------------------+
 | NVIDIA-SMI 510.00       Driver Version: 510.06       CUDA Version: 11.6     |
 |-------------------------------+----------------------+----------------------+
 | 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  Quadro RTX 8000     On   | 00000000:15:00.0 Off |                  Off |
 | 34%   32C    P8    17W / 260W |    444MiB / 49152MiB |     N/A      Default |
 |                               |                      |                  N/A |
 +-------------------------------+----------------------+----------------------+
 |   1  Quadro RTX 8000     On   | 00000000:2D:00.0  On |                  Off |
 | 33%   59C    P2    68W / 260W |   1841MiB / 49152MiB |     N/A      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
 Byte Order:                      Little Endian
 Address sizes:                   46 bits physical, 48 bits virtual
 CPU(s):                          12
 On-line CPU(s) list:             0-11
 Thread(s) per core:              2
 Core(s) per socket:              6
 Socket(s):                       1
 Vendor ID:                       GenuineIntel
 CPU family:                      6
 Model:                           85
 Model name:                      Intel(R) Xeon(R) Gold 6128 CPU @ 3.40GHz
 Stepping:                        4
 CPU MHz:                         3391.500
 BogoMIPS:                        6783.00
 Virtualization:                  VT-x
 Hypervisor vendor:               Microsoft
 Virtualization type:             full
 L1d cache:                       192 KiB
 L1i cache:                       192 KiB
 L2 cache:                        6 MiB
 L3 cache:                        19.3 MiB
 Vulnerability Itlb multihit:     KVM: Mitigation: VMX disabled
 Vulnerability L1tf:              Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
 Vulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
 Vulnerability Meltdown:          Mitigation; PTI
 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; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling
 Vulnerability Srbds:             Not affected
 Vulnerability Tsx async abort:   Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
 Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves flush_l1d arch_capabilities
 
 ***CMake***
 /home/charlesb/miniconda3/envs/rapids-dask/bin/cmake
 cmake version 3.21.3
 
 CMake suite maintained and supported by Kitware (kitware.com/cmake).
 
 ***g++***
 /usr/bin/g++
 g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
 Copyright (C) 2019 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***
 
 ***Python***
 /home/charlesb/miniconda3/envs/rapids-dask/bin/python
 Python 3.8.12
 
 ***Environment Variables***
 PATH                            : /home/charlesb/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/bin:/home/charlesb/miniconda3/envs/rapids-dask/bin:/home/charlesb/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program
 Files/PowerShell/7:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program: Files/Microsoft
 VS                              : Code/bin:/mnt/c/Program
 Files/PowerShell/7:/mnt/c/Users/geniu/AppData/Local/Microsoft/WindowsApps:/snap/bin:
 LD_LIBRARY_PATH                 :
 NUMBAPRO_NVVM                   :
 NUMBAPRO_LIBDEVICE              :
 CONDA_PREFIX                    : /home/charlesb/miniconda3/envs/rapids-dask
 PYTHON_PATH                     :
 
 ***conda packages***
 /home/charlesb/miniconda3/condabin/conda
 # packages in environment at /home/charlesb/miniconda3/envs/rapids-dask:
 #
 # Name                    Version                   Build  Channel
 _libgcc_mutex             0.1                 conda_forge    conda-forge
 _openmp_mutex             4.5                       1_gnu    conda-forge
 abseil-cpp                20210324.2           h9c3ff4c_0    conda-forge
 adagio                    0.2.3              pyhd8ed1ab_0    conda-forge
 aiobotocore               2.0.1              pyhd8ed1ab_0    conda-forge
 aiohttp                   3.8.1            py38h497a2fe_0    conda-forge
 aioitertools              0.8.0              pyhd8ed1ab_0    conda-forge
 aiosignal                 1.2.0              pyhd8ed1ab_0    conda-forge
 alabaster                 0.7.12                     py_0    conda-forge
 alembic                   1.4.1                      py_0    conda-forge
 alsa-lib                  1.2.3                h516909a_0    conda-forge
 antlr-python-runtime      4.9.3              pyhd8ed1ab_1    conda-forge
 antlr4-python3-runtime    4.9.3              pyh1a96a4e_1    conda-forge
 anyio                     3.4.0            py38h578d9bd_0    conda-forge
 appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
 argon2-cffi               21.1.0           py38h497a2fe_2    conda-forge
 arrow-cpp                 5.0.0           py38hc3077b4_18_cuda    conda-forge
 arrow-cpp-proc            3.0.0                      cuda    conda-forge
 asciitree                 0.3.3                      py_2    conda-forge
 asgiref                   3.4.1              pyhd8ed1ab_0    conda-forge
 asn1crypto                1.4.0              pyh9f0ad1d_0    conda-forge
 async-timeout             4.0.1              pyhd8ed1ab_0    conda-forge
 async_generator           1.10                       py_0    conda-forge
 asyncssh                  2.8.1              pyhd8ed1ab_0    conda-forge
 atk-1.0                   2.36.0               h3371d22_4    conda-forge
 attrs                     21.2.0             pyhd8ed1ab_0    conda-forge
 aws-c-auth                0.6.8                hfef2836_0    conda-forge
 aws-c-cal                 0.5.12               h70efedd_7    conda-forge
 aws-c-common              0.6.17               h7f98852_0    conda-forge
 aws-c-compression         0.2.14               h7c7754b_7    conda-forge
 aws-c-event-stream        0.2.7               hb80ed28_31    conda-forge
 aws-c-http                0.6.10               h58a30cf_2    conda-forge
 aws-c-io                  0.10.13              he836878_5    conda-forge
 aws-c-mqtt                0.7.9                h042a236_0    conda-forge
 aws-c-s3                  0.1.27              h4f4cd48_12    conda-forge
 aws-c-sdkutils            0.1.1                h7c7754b_4    conda-forge
 aws-checksums             0.1.12               h7c7754b_6    conda-forge
 aws-crt-cpp               0.17.9               hc7d31a4_1    conda-forge
 aws-sdk-cpp               1.9.154              h77f1c7e_0    conda-forge
 aws-xray-sdk              2.9.0              pyhd8ed1ab_0    conda-forge
 babel                     2.9.1              pyh44b312d_0    conda-forge
 backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
 backports                 1.0                        py_2    conda-forge
 backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
 backports.tempfile        1.0                        py_0    conda-forge
 backports.weakref         1.0.post1       py38h32f6830_1002    conda-forge
 backports.zoneinfo        0.2.1            py38h497a2fe_4    conda-forge
 bcolz                     1.2.1           py38hb3f55d8_1001    conda-forge
 bcrypt                    3.2.0            py38h497a2fe_2    conda-forge
 beautifulsoup4            4.10.0             pyha770c72_0    conda-forge
 binutils_impl_linux-64    2.36.1               h193b22a_2    conda-forge
 black                     19.10b0                    py_4    conda-forge
 bleach                    4.1.0              pyhd8ed1ab_0    conda-forge
 blosc                     1.21.0               h9c3ff4c_0    conda-forge
 bokeh                     2.4.2            py38h578d9bd_0    conda-forge
 boto                      2.49.0                     py_0    conda-forge
 boto3                     1.19.8             pyhd8ed1ab_0    conda-forge
 botocore                  1.22.8             pyhd8ed1ab_0    conda-forge
 brotli                    1.0.9                h7f98852_6    conda-forge
 brotli-bin                1.0.9                h7f98852_6    conda-forge
 brotlipy                  0.7.0           py38h497a2fe_1003    conda-forge
 brunsli                   0.1                  h9c3ff4c_0    conda-forge
 bzip2                     1.0.8                h7f98852_4    conda-forge
 c-ares                    1.18.1               h7f98852_0    conda-forge
 c-blosc2                  2.0.4                h5f21a17_1    conda-forge
 ca-certificates           2021.10.8            ha878542_0    conda-forge
 cached-property           1.5.2                hd8ed1ab_1    conda-forge
 cached_property           1.5.2              pyha770c72_1    conda-forge
 cachetools                4.2.4              pyhd8ed1ab_0    conda-forge
 cachey                    0.2.1              pyh9f0ad1d_0    conda-forge
 cairo                     1.16.0            h6cf1ce9_1008    conda-forge
 certifi                   2021.10.8        py38h578d9bd_1    conda-forge
 cffi                      1.15.0           py38h3931269_0    conda-forge
 cfgv                      3.3.1              pyhd8ed1ab_0    conda-forge
 cfitsio                   4.0.0                h9a35b8e_0    conda-forge
 cftime                    1.5.1.1          py38h6c62de6_1    conda-forge
 charls                    2.2.0                h9c3ff4c_0    conda-forge
 charset-normalizer        2.0.9              pyhd8ed1ab_0    conda-forge
 ciso8601                  2.2.0            py38h497a2fe_1    conda-forge
 clang                     11.1.0               ha770c72_1    conda-forge
 clang-11                  11.1.0          default_ha53f305_1    conda-forge
 clang-tools               11.1.0          default_ha53f305_1    conda-forge
 clangxx                   11.1.0          default_ha53f305_1    conda-forge
 click                     8.0.3            py38h578d9bd_1    conda-forge
 cloudpickle               2.0.0              pyhd8ed1ab_0    conda-forge
 cmake                     3.21.3               h8897547_0    conda-forge
 cmake_setuptools          0.1.3                      py_0    rapidsai
 colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
 commonmark                0.9.1                      py_0    conda-forge
 configparser              5.2.0              pyhd8ed1ab_0    conda-forge
 cookies                   2.2.1                      py_0    conda-forge
 coverage                  6.2              py38h497a2fe_0    conda-forge
 cramjam                   2.3.1            py38h497a2fe_1    conda-forge
 crick                     0.0.3           py38h6c62de6_1002    conda-forge
 cryptography              36.0.0           py38h3e25421_0    conda-forge
 cudatoolkit               11.5.0               h36ae40a_9    nvidia
 cudf                      22.2.0a0+156.g8c82d6acd1           dev_0    <develop>
 cupy                      9.6.0            py38h177b0fd_0    conda-forge
 cupy-cuda115              9.6.0                    pypi_0    pypi
 curl                      7.80.0               h2574ce0_0    conda-forge
 cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
 cyrus-sasl                2.1.27               h230043b_5    conda-forge
 cython                    0.29.25          py38h709712a_0    conda-forge
 cytoolz                   0.11.2           py38h497a2fe_1    conda-forge
 dask                      2021.11.2+18.g43247806           dev_0    <develop>
 dask-cuda                 22.2.0a0+41.g2e9a429           dev_0    <develop>
 dask-cudf                 22.2.0a0+156.g8c82d6acd1           dev_0    <develop>
 dask-glm                  0.2.0                      py_1    conda-forge
 dask-ml                   2021.11.30         pyhd8ed1ab_0    conda-forge
 dask-sql                  2021.11.1.dev7+gebbfc2f           dev_0    <develop>
 databricks-cli            0.12.1             pyhd8ed1ab_0    conda-forge
 dataclasses               0.8                pyhc8e2a94_3    conda-forge
 deap                      1.3.1            py38h43a58ef_3    conda-forge
 debugpy                   1.5.1            py38h709712a_0    conda-forge
 decorator                 5.1.0              pyhd8ed1ab_0    conda-forge
 defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
 dicttoxml                 1.7.4              pyhd8ed1ab_2    conda-forge
 distlib                   0.3.3              pyhd8ed1ab_0    conda-forge
 distributed               2021.11.2+19.gababd210           dev_0    <develop>
 dlpack                    0.5                  h9c3ff4c_0    conda-forge
 docker-py                 5.0.3            py38h578d9bd_1    conda-forge
 docker-pycreds            0.4.0                      py_0    conda-forge
 docutils                  0.17.1           py38h578d9bd_1    conda-forge
 double-conversion         3.1.6                h9c3ff4c_0    conda-forge
 ecdsa                     0.17.0             pyhd8ed1ab_0    conda-forge
 editdistance-s            1.0.0            py38h1fd1430_2    conda-forge
 entrypoints               0.3             pyhd8ed1ab_1003    conda-forge
 execnet                   1.9.0              pyhd8ed1ab_0    conda-forge
 expat                     2.4.1                h9c3ff4c_0    conda-forge
 fastapi                   0.70.0             pyhd8ed1ab_0    conda-forge
 fastavro                  1.4.7            py38h497a2fe_1    conda-forge
 fasteners                 0.16               pyhd8ed1ab_0    conda-forge
 fastparquet               0.7.2            py38h6c62de6_0    conda-forge
 fastrlock                 0.8              py38h709712a_1    conda-forge
 filelock                  3.4.0              pyhd8ed1ab_0    conda-forge
 filesystem-spec           0.2.0                      py_0    conda-forge
 flake8                    3.8.3                      py_1    conda-forge
 flask                     2.0.2              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                 hab24e00_0    conda-forge
 fontconfig                2.13.1            hba837de_1005    conda-forge
 fonts-conda-ecosystem     1                             0    conda-forge
 fonts-conda-forge         1                             0    conda-forge
 fonttools                 4.28.3           py38h497a2fe_0    conda-forge
 freetype                  2.10.4               h0708190_1    conda-forge
 fribidi                   1.0.10               h36c2ea0_0    conda-forge
 frozenlist                1.2.0            py38h497a2fe_1    conda-forge
 fs                        2.4.11           py38h578d9bd_3    conda-forge
 fsspec                    2021.11.1          pyhd8ed1ab_0    conda-forge
 fugue                     0.6.4                    pypi_0    pypi
 future                    0.18.2           py38h578d9bd_4    conda-forge
 gcc_impl_linux-64         11.2.0              h82a94d6_11    conda-forge
 gdk-pixbuf                2.42.6               h04a7f16_0    conda-forge
 gettext                   0.19.8.1          h73d1719_1008    conda-forge
 gflags                    2.2.2             he1b5a44_1004    conda-forge
 giflib                    5.2.1                h36c2ea0_2    conda-forge
 gitdb                     4.0.9              pyhd8ed1ab_0    conda-forge
 gitpython                 3.1.24             pyhd8ed1ab_0    conda-forge
 glog                      0.5.0                h48cff8f_0    conda-forge
 gmp                       6.2.1                h58526e2_0    conda-forge
 graphite2                 1.3.13            h58526e2_1001    conda-forge
 graphviz                  2.50.0               h85b4f2f_0    conda-forge
 grpc-cpp                  1.42.0               h7e358d9_0    conda-forge
 gtk2                      2.24.33              h539f30e_1    conda-forge
 gts                       0.7.6                h64030ff_2    conda-forge
 gunicorn                  20.1.0           py38h578d9bd_1    conda-forge
 h11                       0.12.0             pyhd8ed1ab_0    conda-forge
 h5py                      3.6.0           nompi_py38hfbb2109_100    conda-forge
 harfbuzz                  2.9.1                h83ec7ef_1    conda-forge
 hdf4                      4.2.15               h10796ff_3    conda-forge
 hdf5                      1.12.1          nompi_h2750804_103    conda-forge
 heapdict                  1.0.1                      py_0    conda-forge
 httpretty                 1.1.4              pyhd8ed1ab_0    conda-forge
 huggingface_hub           0.2.1              pyhd8ed1ab_0    conda-forge
 hypothesis                6.30.1             pyhd8ed1ab_0    conda-forge
 icu                       68.2                 h9c3ff4c_0    conda-forge
 identify                  2.3.7              pyhd8ed1ab_0    conda-forge
 idna                      3.1                pyhd3deb0d_0    conda-forge
 imagecodecs               2021.11.20       py38h678ac2f_1    conda-forge
 imageio                   2.13.2             pyh239f2a4_0    conda-forge
 imagesize                 1.3.0              pyhd8ed1ab_0    conda-forge
 importlib-metadata        4.8.2            py38h578d9bd_0    conda-forge
 importlib_metadata        4.8.2                hd8ed1ab_0    conda-forge
 importlib_resources       5.4.0              pyhd8ed1ab_0    conda-forge
 iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
 intake                    0.6.4              pyhd8ed1ab_0    conda-forge
 intel-openmp              2021.4.0          h06a4308_3561
 ipykernel                 6.6.0            py38he5a9106_0    conda-forge
 ipython                   7.30.1           py38h578d9bd_0    conda-forge
 ipython_genutils          0.2.0                      py_1    conda-forge
 ipywidgets                7.6.5              pyhd8ed1ab_0    conda-forge
 itsdangerous              2.0.1              pyhd8ed1ab_0    conda-forge
 jbig                      2.1               h7f98852_2003    conda-forge
 jedi                      0.18.1           py38h578d9bd_0    conda-forge
 jinja2                    3.0.3              pyhd8ed1ab_0    conda-forge
 jmespath                  0.10.0             pyh9f0ad1d_0    conda-forge
 joblib                    1.1.0              pyhd8ed1ab_0    conda-forge
 jpeg                      9d                   h36c2ea0_0    conda-forge
 jpype1                    1.3.0            py38h1fd1430_2    conda-forge
 json5                     0.9.5              pyh9f0ad1d_0    conda-forge
 jsondiff                  1.1.1                      py_0    conda-forge
 jsonschema                4.2.1              pyhd8ed1ab_0    conda-forge
 jupyter_client            7.1.0              pyhd8ed1ab_0    conda-forge
 jupyter_core              4.9.1            py38h578d9bd_1    conda-forge
 jupyter_server            1.13.0             pyhd8ed1ab_0    conda-forge
 jupyterlab                3.2.4              pyhd8ed1ab_0    conda-forge
 jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
 jupyterlab_server         2.8.2              pyhd8ed1ab_0    conda-forge
 jupyterlab_widgets        1.0.2              pyhd8ed1ab_0    conda-forge
 jxrlib                    1.1                  h7f98852_2    conda-forge
 keras                     2.7.0                    pypi_0    pypi
 kernel-headers_linux-64   2.6.32              he073ed8_15    conda-forge
 kiwisolver                1.3.2            py38h1fd1430_1    conda-forge
 krb5                      1.19.2               hcc1bbae_3    conda-forge
 lcms2                     2.12                 hddcbb42_0    conda-forge
 ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
 lerc                      3.0                  h9c3ff4c_0    conda-forge
 libaec                    1.0.6                h9c3ff4c_0    conda-forge
 libblas                   3.9.0            12_linux64_mkl    conda-forge
 libbrotlicommon           1.0.9                h7f98852_6    conda-forge
 libbrotlidec              1.0.9                h7f98852_6    conda-forge
 libbrotlienc              1.0.9                h7f98852_6    conda-forge
 libcblas                  3.9.0            12_linux64_mkl    conda-forge
 libclang-cpp11.1          11.1.0          default_ha53f305_1    conda-forge
 libcudf                   22.02.00a211207 cuda11_gccab7aefbb_155    rapidsai-nightly
 libcurl                   7.80.0               h2574ce0_0    conda-forge
 libdeflate                1.8                  h7f98852_0    conda-forge
 libedit                   3.1.20191231         he28a2e2_2    conda-forge
 libev                     4.33                 h516909a_1    conda-forge
 libevent                  2.1.10               h9b69904_4    conda-forge
 libffi                    3.4.2                h7f98852_5    conda-forge
 libgcc-devel_linux-64     11.2.0              h0952999_11    conda-forge
 libgcc-ng                 11.2.0              h1d223b6_11    conda-forge
 libgcrypt                 1.9.4                h7f98852_0    conda-forge
 libgd                     2.3.3                h6ad9fb6_0    conda-forge
 libgfortran-ng            11.2.0              h69a702a_11    conda-forge
 libgfortran5              11.2.0              h5c6108e_11    conda-forge
 libglib                   2.70.2               h174f98d_0    conda-forge
 libgomp                   11.2.0              h1d223b6_11    conda-forge
 libgpg-error              1.42                 h9c3ff4c_0    conda-forge
 libgsasl                  1.10.0               h5b4c23d_0    conda-forge
 libhwloc                  2.3.0                h5e5b7d1_1    conda-forge
 libiconv                  1.16                 h516909a_0    conda-forge
 liblapack                 3.9.0            12_linux64_mkl    conda-forge
 libllvm11                 11.1.0               hf817b99_2    conda-forge
 libnetcdf                 4.8.1           nompi_hb3fd0d9_101    conda-forge
 libnghttp2                1.43.0               h812cca2_1    conda-forge
 libnsl                    2.0.0                h7f98852_0    conda-forge
 libntlm                   1.4               h7f98852_1002    conda-forge
 libpng                    1.6.37               h21135ba_2    conda-forge
 libpq                     14.1                 hd57d9b9_1    conda-forge
 libprotobuf               3.18.1               h780b84a_0    conda-forge
 librdkafka                1.7.0                hc49e61c_0    conda-forge
 librmm                    22.02.00a211207 cuda11_gbd5aa5d_20    rapidsai-nightly
 librsvg                   2.52.4               hc3c00ef_0    conda-forge
 libsanitizer              11.2.0              he4da1e4_11    conda-forge
 libsodium                 1.0.18               h36c2ea0_1    conda-forge
 libssh2                   1.10.0               ha56f1ee_2    conda-forge
 libstdcxx-ng              11.2.0              he4da1e4_11    conda-forge
 libthrift                 0.15.0               he6d91bd_1    conda-forge
 libtiff                   4.3.0                h6f004c6_2    conda-forge
 libtool                   2.4.6             h9c3ff4c_1008    conda-forge
 libutf8proc               2.6.1                h7f98852_0    conda-forge
 libuuid                   2.32.1            h7f98852_1000    conda-forge
 libuv                     1.42.0               h7f98852_0    conda-forge
 libwebp                   1.2.1                h3452ae3_0    conda-forge
 libwebp-base              1.2.1                h7f98852_0    conda-forge
 libxcb                    1.13              h7f98852_1004    conda-forge
 libxgboost                1.5.0dev.rapidsai22.02      cuda11.2_0    rapidsai-nightly
 libxml2                   2.9.12               h72842e0_0    conda-forge
 libxslt                   1.1.33               h15afd5d_2    conda-forge
 libzip                    1.8.0                h4de3113_1    conda-forge
 libzlib                   1.2.11            h36c2ea0_1013    conda-forge
 libzopfli                 1.0.3                h9c3ff4c_0    conda-forge
 lightgbm                  3.3.1            py38h709712a_1    conda-forge
 llvmlite                  0.37.0           py38h4630a5e_1    conda-forge
 locket                    0.2.1                    pypi_0    pypi
 lxml                      4.6.4            py38hf1fe3a4_0    conda-forge
 lz4                       3.1.10           py38hebdc3cf_0    conda-forge
 lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
 lzo                       2.10              h516909a_1000    conda-forge
 mako                      1.1.6              pyhd8ed1ab_0    conda-forge
 markdown                  3.3.6              pyhd8ed1ab_0    conda-forge
 markupsafe                2.0.1            py38h497a2fe_1    conda-forge
 matplotlib-base           3.5.0            py38hf4fb855_0    conda-forge
 matplotlib-inline         0.1.3              pyhd8ed1ab_0    conda-forge
 maven                     3.6.3                ha770c72_0    conda-forge
 mccabe                    0.6.1                      py_1    conda-forge
 mimesis                   4.0.0              pyh9f0ad1d_0    conda-forge
 mistune                   0.8.4           py38h497a2fe_1005    conda-forge
 mkl                       2021.4.0           h06a4308_640
 mlflow                    1.22.0           py38he918c71_0    conda-forge
 mmh3                      3.0.0            py38h709712a_1    conda-forge
 mock                      4.0.3            py38h578d9bd_2    conda-forge
 monotonic                 1.5                        py_0    conda-forge
 more-itertools            8.12.0             pyhd8ed1ab_0    conda-forge
 moto                      1.3.7                      py_0    conda-forge
 msgpack-python            1.0.3            py38h1fd1430_0    conda-forge
 multidict                 5.2.0            py38h497a2fe_1    conda-forge
 multipledispatch          0.6.0                      py_0    conda-forge
 munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
 mypy                      0.782                      py_0    conda-forge
 mypy_extensions           0.4.3            py38h578d9bd_4    conda-forge
 nbclassic                 0.3.4              pyhd8ed1ab_0    conda-forge
 nbclient                  0.5.9              pyhd8ed1ab_0    conda-forge
 nbconvert                 6.3.0            py38h578d9bd_1    conda-forge
 nbformat                  5.1.3              pyhd8ed1ab_0    conda-forge
 nbsphinx                  0.8.7              pyhd8ed1ab_0    conda-forge
 nccl                      2.11.4.1             hdc17891_0    conda-forge
 ncurses                   6.2                  h58526e2_4    conda-forge
 nest-asyncio              1.5.4              pyhd8ed1ab_0    conda-forge
 netcdf4                   1.5.8           nompi_py38h2823cc8_101    conda-forge
 networkx                  2.6.3              pyhd8ed1ab_1    conda-forge
 ninja                     1.10.2               h4bd325d_1    conda-forge
 nodeenv                   1.6.0              pyhd8ed1ab_0    conda-forge
 notebook                  6.4.6              pyha770c72_0    conda-forge
 numba                     0.54.1           py38h4bf6c61_0    conda-forge
 numcodecs                 0.9.1            py38h709712a_2    conda-forge
 numexpr                   2.7.3            py38h43a58ef_1    conda-forge
 numpy                     1.20.3           py38h9894fe3_1    conda-forge
 numpydoc                  1.1.0                      py_1    conda-forge
 nvtx                      0.2.3            py38h497a2fe_1    conda-forge
 olefile                   0.46               pyh9f0ad1d_1    conda-forge
 openjdk                   11.0.9.1             h5cc2fde_1    conda-forge
 openjpeg                  2.4.0                hb52868f_1    conda-forge
 openssl                   1.1.1l               h7f98852_0    conda-forge
 orc                       1.7.1                h68e2c4e_0    conda-forge
 packaging                 21.3               pyhd8ed1ab_0    conda-forge
 pandas                    1.2.5            py38h1abd341_0    conda-forge
 pandas-datareader         0.10.0             pyh6c4a22f_0    conda-forge
 pandoc                    1.19.2                        0    conda-forge
 pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
 pango                     1.48.10              hb8ff022_1    conda-forge
 paramiko                  2.8.1              pyhd8ed1ab_0    conda-forge
 parquet-cpp               1.5.1                         2    conda-forge
 parso                     0.8.3              pyhd8ed1ab_0    conda-forge
 partd                     1.2.0              pyhd8ed1ab_0    conda-forge
 pathspec                  0.9.0              pyhd8ed1ab_0    conda-forge
 pcre                      8.45                 h9c3ff4c_0    conda-forge
 pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
 pickleshare               0.7.5                   py_1003    conda-forge
 pillow                    8.4.0            py38h8e6f84c_0    conda-forge
 pip                       20.2.4                     py_0    conda-forge
 pixman                    0.40.0               h36c2ea0_0    conda-forge
 pluggy                    1.0.0            py38h578d9bd_2    conda-forge
 pooch                     1.5.2              pyhd8ed1ab_0    conda-forge
 pre-commit                2.16.0           py38h578d9bd_0    conda-forge
 prometheus_client         0.12.0             pyhd8ed1ab_0    conda-forge
 prometheus_flask_exporter 0.18.6             pyhd8ed1ab_0    conda-forge
 prompt-toolkit            3.0.23             pyha770c72_0    conda-forge
 prompt_toolkit            3.0.23               hd8ed1ab_0    conda-forge
 protobuf                  3.18.1           py38h709712a_0    conda-forge
 psutil                    5.8.0            py38h497a2fe_2    conda-forge
 psycopg2                  2.9.2            py38h497a2fe_1    conda-forge
 pthread-stubs             0.4               h36c2ea0_1001    conda-forge
 ptxcompiler               0.1.0            py38hb739d79_0    rapidsai
 ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
 pure-sasl                 0.6.2              pyhd8ed1ab_0    conda-forge
 py                        1.11.0             pyh6c4a22f_0    conda-forge
 py-cpuinfo                8.0.0              pyhd8ed1ab_0    conda-forge
 py-xgboost                1.5.0dev.rapidsai22.02  cuda11.2py38_0    rapidsai-nightly
 pyaml                     20.4.0             pyh9f0ad1d_0    conda-forge
 pyarrow                   5.0.0           py38hb90f683_18_cuda    conda-forge
 pycodestyle               2.6.0              pyh9f0ad1d_0    conda-forge
 pycparser                 2.21               pyhd8ed1ab_0    conda-forge
 pycryptodome              3.12.0           py38h80e8405_0    conda-forge
 pydantic                  1.8.2            py38h497a2fe_2    conda-forge
 pydata-sphinx-theme       0.7.2              pyhd8ed1ab_0    conda-forge
 pydocstyle                6.1.1              pyhd8ed1ab_0    conda-forge
 pyflakes                  2.2.0              pyh9f0ad1d_0    conda-forge
 pygments                  2.10.0             pyhd8ed1ab_0    conda-forge
 pyhive                    0.6.4              pyhd8ed1ab_0    conda-forge
 pynacl                    1.4.0            py38h497a2fe_3    conda-forge
 pynvml                    11.0.0             pyhd8ed1ab_0    conda-forge
 pyopenssl                 21.0.0             pyhd8ed1ab_0    conda-forge
 pyorc                     0.5.0                    pypi_0    pypi
 pyparsing                 3.0.6              pyhd8ed1ab_0    conda-forge
 pyrsistent                0.18.0           py38h497a2fe_0    conda-forge
 pysocks                   1.7.1            py38h578d9bd_4    conda-forge
 pytables                  3.6.1            py38hdb04529_5    conda-forge
 pytest                    6.2.5            py38h578d9bd_1    conda-forge
 pytest-asyncio            0.12.0           py38h32f6830_2    conda-forge
 pytest-benchmark          3.4.1              pyhd8ed1ab_0    conda-forge
 pytest-cov                3.0.0              pyhd8ed1ab_0    conda-forge
 pytest-faulthandler       2.0.1                      py_0    conda-forge
 pytest-forked             1.3.0              pyhd3deb0d_0    conda-forge
 pytest-repeat             0.8.0                      py_0    conda-forge
 pytest-rerunfailures      10.2               pyhd8ed1ab_0    conda-forge
 pytest-timeout            2.0.1              pyhd8ed1ab_0    conda-forge
 pytest-xdist              2.4.0              pyhd8ed1ab_0    conda-forge
 python                    3.8.12          hb7a2778_2_cpython    conda-forge
 python-confluent-kafka    1.7.0            py38h497a2fe_2    conda-forge
 python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
 python-editor             1.0.4                      py_0    conda-forge
 python-graphviz           0.19               pyhaef67bd_0    conda-forge
 python-gssapi             1.7.2            py38hacac60f_1    conda-forge
 python-jose               2.0.2                      py_0    conda-forge
 python-snappy             0.6.0            py38h49bdff1_1    conda-forge
 python-tzdata             2021.5             pyhd8ed1ab_0    conda-forge
 python-xxhash             2.0.2            py38h497a2fe_1    conda-forge
 python_abi                3.8                      2_cp38    conda-forge
 pytorch                   1.10.0          cpu_py38h1ee18c8_0    conda-forge
 pytz                      2021.3             pyhd8ed1ab_0    conda-forge
 pytz-deprecation-shim     0.1.0.post0      py38h578d9bd_1    conda-forge
 pywavelets                1.2.0            py38h6c62de6_1    conda-forge
 pyyaml                    6.0              py38h497a2fe_3    conda-forge
 pyzmq                     22.3.0           py38h2035c66_1    conda-forge
 qpd                       0.2.5                    pypi_0    pypi
 querystring_parser        1.2.4                      py_0    conda-forge
 rapidjson                 1.1.0             he1b5a44_1002    conda-forge
 re2                       2021.11.01           h9c3ff4c_0    conda-forge
 readline                  8.1                  h46c0cb4_0    conda-forge
 recommonmark              0.7.1              pyhd8ed1ab_0    conda-forge
 regex                     2021.11.10       py38h497a2fe_0    conda-forge
 requests                  2.26.0             pyhd8ed1ab_1    conda-forge
 responses                 0.16.0             pyhd8ed1ab_0    conda-forge
 rhash                     1.4.1                h7f98852_0    conda-forge
 rmm                       22.02.00a211207 cuda11_py38_gbd5aa5d_20_has_cma    rapidsai-nightly
 s2n                       1.3.0                h9b69904_0    conda-forge
 s3fs                      2021.11.1          pyhd8ed1ab_0    conda-forge
 s3transfer                0.5.0              pyhd8ed1ab_0    conda-forge
 sacremoses                0.0.46             pyhd8ed1ab_0    conda-forge
 scikit-image              0.18.3           py38h43a58ef_1    conda-forge
 scikit-learn              1.0.1            py38h1561384_2    conda-forge
 scipy                     1.7.3            py38h56a6a73_0    conda-forge
 send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
 setuptools                59.4.0           py38h578d9bd_0    conda-forge
 six                       1.16.0             pyh6c4a22f_0    conda-forge
 sleef                     3.5.1                h9b69904_2    conda-forge
 smmap                     3.0.5              pyh44b312d_0    conda-forge
 snappy                    1.1.8                he1b5a44_3    conda-forge
 sniffio                   1.2.0            py38h578d9bd_2    conda-forge
 snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
 sortedcollections         2.1.0              pyhd8ed1ab_0    conda-forge
 sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
 soupsieve                 2.3.1              pyhd8ed1ab_0    conda-forge
 sparse                    0.13.0             pyhd8ed1ab_0    conda-forge
 spdlog                    1.8.5                h4bd325d_0    conda-forge
 sphinx                    4.3.1              pyh6c4a22f_0    conda-forge
 sphinx-copybutton         0.4.0              pyhd8ed1ab_0    conda-forge
 sphinx-markdown-tables    0.0.15             pyhd3deb0d_0    conda-forge
 sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
 sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
 sphinxcontrib-htmlhelp    2.0.0              pyhd8ed1ab_0    conda-forge
 sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
 sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
 sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_1    conda-forge
 sphinxcontrib-websupport  1.2.4              pyhd8ed1ab_1    conda-forge
 sqlalchemy                1.3.23           py38h497a2fe_0    conda-forge
 sqlite                    3.37.0               h9cd32fc_0    conda-forge
 sqlparse                  0.4.2              pyhd8ed1ab_0    conda-forge
 starlette                 0.16.0             pyhd8ed1ab_0    conda-forge
 stopit                    1.1.2                      py_0    conda-forge
 streamz                   0.6.3              pyh6c4a22f_0    conda-forge
 sysroot_linux-64          2.12                he073ed8_15    conda-forge
 tabulate                  0.8.9              pyhd8ed1ab_0    conda-forge
 tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
 tenacity                  8.0.1              pyhd8ed1ab_0    conda-forge
 terminado                 0.12.1           py38h578d9bd_1    conda-forge
 testpath                  0.5.0              pyhd8ed1ab_0    conda-forge
 threadpoolctl             3.0.0              pyh8a188c0_0    conda-forge
 thrift                    0.15.0           py38h709712a_1    conda-forge
 thrift_sasl               0.4.3              pyhd8ed1ab_1    conda-forge
 tifffile                  2021.11.2          pyhd8ed1ab_0    conda-forge
 tiledb                    2.5.2                h2038895_0    conda-forge
 tiledb-py                 0.11.2           py38h9ab8c24_0    conda-forge
 tk                        8.6.11               h27826a3_1    conda-forge
 tokenizers                0.10.3           py38hb63a372_1    conda-forge
 toml                      0.10.2             pyhd8ed1ab_0    conda-forge
 tomli                     1.2.2              pyhd8ed1ab_0    conda-forge
 toolz                     0.11.2             pyhd8ed1ab_0    conda-forge
 tornado                   6.1              py38h497a2fe_2    conda-forge
 tpot                      0.11.7             pyhd8ed1ab_1    conda-forge
 tqdm                      4.62.3             pyhd8ed1ab_0    conda-forge
 traitlets                 5.1.1              pyhd8ed1ab_0    conda-forge
 transformers              4.10.3             pyhd8ed1ab_0    conda-forge
 triad                     0.5.7              pyhd8ed1ab_0    conda-forge
 typed-ast                 1.4.3            py38h497a2fe_1    conda-forge
 typing-extensions         4.0.1                hd8ed1ab_0    conda-forge
 typing_extensions         4.0.1              pyha770c72_0    conda-forge
 tzdata                    2021e                he74cb21_0    conda-forge
 tzlocal                   4.1              py38h578d9bd_1    conda-forge
 ucx                       1.11.2+gef2bbcf      cuda11.2_0    rapidsai-nightly
 ucx-proc                  1.0.0                       gpu    rapidsai-nightly
 ucx-py                    0.24.0a211207   py38_gef2bbcf_16    rapidsai-nightly
 unicodedata2              13.0.0.post2     py38h497a2fe_4    conda-forge
 update_checker            0.18.0             pyh9f0ad1d_0    conda-forge
 urllib3                   1.26.7             pyhd8ed1ab_0    conda-forge
 uvicorn                   0.15.0           py38h578d9bd_2    conda-forge
 virtualenv                20.4.7           py38h578d9bd_1    conda-forge
 wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
 webencodings              0.5.1                      py_1    conda-forge
 websocket-client          1.2.2              pyhd8ed1ab_0    conda-forge
 werkzeug                  2.0.1              pyhd8ed1ab_0    conda-forge
 wheel                     0.37.0             pyhd8ed1ab_1    conda-forge
 widgetsnbextension        3.5.2            py38h578d9bd_1    conda-forge
 wrapt                     1.13.3           py38h497a2fe_1    conda-forge
 xarray                    0.20.1             pyhd8ed1ab_0    conda-forge
 xmltodict                 0.12.0                     py_0    conda-forge
 xorg-fixesproto           5.0               h7f98852_1002    conda-forge
 xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
 xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
 xorg-libice               1.0.10               h7f98852_0    conda-forge
 xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
 xorg-libx11               1.7.2                h7f98852_0    conda-forge
 xorg-libxau               1.0.9                h7f98852_0    conda-forge
 xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
 xorg-libxext              1.3.4                h7f98852_1    conda-forge
 xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
 xorg-libxi                1.7.10               h7f98852_0    conda-forge
 xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
 xorg-libxtst              1.2.3             h7f98852_1002    conda-forge
 xorg-recordproto          1.14.2            h7f98852_1002    conda-forge
 xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
 xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
 xorg-xproto               7.0.31            h7f98852_1007    conda-forge
 xxhash                    0.8.0                h7f98852_3    conda-forge
 xz                        5.2.5                h516909a_1    conda-forge
 yaml                      0.2.5                h516909a_0    conda-forge
 yarl                      1.7.2            py38h497a2fe_1    conda-forge
 zarr                      2.10.3             pyhd8ed1ab_0    conda-forge
 zeromq                    4.3.4                h9c3ff4c_1    conda-forge
 zfp                       0.5.5                h9c3ff4c_8    conda-forge
 zict                      2.0.0                    pypi_0    pypi
 zipp                      3.6.0              pyhd8ed1ab_0    conda-forge
 zlib                      1.2.11            h36c2ea0_1013    conda-forge
 zstandard                 0.16.0           py38h497a2fe_2    conda-forge
 zstd                      1.5.0                ha95c52a_0    conda-forge

Additional context
Related to #9859, which deals with writing dataframes to file.

@charlesbluca charlesbluca added bug Something isn't working Needs Triage Need team to review and classify labels Dec 7, 2021
@github-actions
Copy link

github-actions bot commented Jan 6, 2022

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

@charlesbluca
Copy link
Member Author

To provide some additional context here, the generated cufile.log:

 03-02-2022 10:35:00:623 [pid=2389 tid=2389] NOTICE  cufio-drv:636 running in compatible mode
 03-02-2022 10:35:00:623 [pid=2389 tid=2389] ERROR  cufio-plat:95 cannot open path /sys/bus/pci/devices/0000:15:00.0/resource No such file or directory
 03-02-2022 10:35:00:623 [pid=2389 tid=2389] ERROR  cufio-plat:95 cannot open path /sys/bus/pci/devices/0000:2d:00.0/resource No such file or directory
 03-02-2022 10:35:00:623 [pid=2389 tid=2389] ERROR  cufio-udev:142 failed in udev device create

@Arkaikus
Copy link

Same problem here when running

import cudf
df = cudf.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})

got

Traceback (most recent call last):
  File "/home/sgiraldo/miniconda3/envs/rapids-22.02/lib/python3.8/site-packages/cudf/core/column/column.py", line 2051, in as_column
    memoryview(arbitrary), dtype=dtype, nan_as_null=nan_as_null
TypeError: memoryview: a bytes-like object is required, not 'list'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sgiraldo/tesis/EarthQuakeGNN/scripts/cudf_test.py", line 12, in <module>
    df = cudf.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
  File "/home/sgiraldo/miniconda3/envs/rapids-22.02/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/sgiraldo/miniconda3/envs/rapids-22.02/lib/python3.8/site-packages/cudf/core/dataframe.py", line 622, in __init__
    self._init_from_dict_like(
  File "/home/sgiraldo/miniconda3/envs/rapids-22.02/lib/python3.8/site-packages/cudf/core/dataframe.py", line 800, in _init_from_dict_like
    data[col_name] = column.as_column(
  File "/home/sgiraldo/miniconda3/envs/rapids-22.02/lib/python3.8/site-packages/cudf/core/column/column.py", line 2142, in as_column
    data = as_column(
  File "/home/sgiraldo/miniconda3/envs/rapids-22.02/lib/python3.8/site-packages/cudf/core/column/column.py", line 1816, in as_column
    col = ColumnBase.from_arrow(arbitrary)
  File "/home/sgiraldo/miniconda3/envs/rapids-22.02/lib/python3.8/site-packages/cudf/core/column/column.py", line 300, in from_arrow
    result = libcudf.interop.from_arrow(data, data.column_names)[0]["None"]
  File "cudf/_lib/interop.pyx", line 167, in cudf._lib.interop.from_arrow
RuntimeError: CUDA error encountered at: ../src/bitmask/null_mask.cu:93: 801 cudaErrorNotSupported operation not supported

@Arkaikus
Copy link

Getting this with README example, idk if the installation is broken

import cudf, io, requests
from io import StringIO

url = "https://github.com/plotly/datasets/raw/master/tips.csv"
content = requests.get(url).content.decode('utf-8')

tips_df = cudf.read_csv(StringIO(content))
tips_df['tip_percentage'] = tips_df['tip'] / tips_df['total_bill'] * 100

# display average tip by dining party size
print(tips_df.groupby('size').tip_percentage.mean())
Traceback (most recent call last):
  File "/home/sgiraldo/tesis/EarthQuakeGNN/scripts/cudf_test.py", line 24, in <module>
    tips_df = cudf.read_csv(StringIO(content))
  File "/home/sgiraldo/miniconda3/envs/rapids-22.02/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/sgiraldo/miniconda3/envs/rapids-22.02/lib/python3.8/site-packages/cudf/io/csv.py", line 73, in read_csv
    return libcudf.csv.read_csv(
  File "cudf/_lib/csv.pyx", line 430, in cudf._lib.csv.read_csv
MemoryError: std::bad_alloc: CUDA error at: /home/sgiraldo/miniconda3/envs/rapids-22.02/include/rmm/mr/device/cuda_memory_resource.hpp

@galipremsagar galipremsagar added the cuIO cuIO issue label Feb 18, 2022
@devavret
Copy link
Contributor

@Arkaikus , Any chance you're using a pascal GPU? There is a known issue with Pascal #9753

@Arkaikus
Copy link

@Arkaikus , Any chance you're using a pascal GPU? There is a known issue with Pascal #9753

I see, yes gtx 1050 mobile, I opened the issue #10308 I thought it was mainly a library problem, thanks

@charlesbluca
Copy link
Member Author

Looks like this no longer fails on the latest nightlies? Though I still do get a cufile.log:

 24-03-2022 09:49:50:74 [pid=8451 tid=8451] ERROR  cufio-drv:632 nvidia-fs.ko driver not loaded

Would be interested in pinpointing what exactly changed here, as I can still reproduce this failure using 22.02 on my setup.

@quasiben
Copy link
Member

@cnewburn has cuFILE/GDS been tested on WSL2 ?

@charlesbluca
Copy link
Member Author

It looks like this issue was due to a broken WSL2 CUDA toolkit installation? I uninstalled CTK apt packages and retried with stable 22.02 conda packages (including the conda CTK package) and things were resolved - this can be closed.

cc @taureandyernv in case you have any additional context to provide here

@bdice bdice removed the Needs Triage Need team to review and classify label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuIO cuIO issue
Projects
None yet
Development

No branches or pull requests

6 participants