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

df.to_csv('./dataset.csv', index=False) crashing with "internal error" in RAPIDS 24.02 cuFile #386

Open
frasertajima opened this issue Apr 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@frasertajima
Copy link

Describe the bug
Running 02_Introduction_to_cuDF.ipynb notebook from Rapids sample notebooks results in cuFile "internal error":

File csv.pyx:545, in cudf._lib.csv.write_csv()

RuntimeError: cuFile error at: [/var/home/fraser/anaconda3/envs/rapids-24.02/include/kvikio/file_handle.hpp:178](https://file+.vscode-resource.vscode-cdn.net/var/home/fraser/anaconda3/envs/rapids-24.02/include/kvikio/file_handle.hpp:178): internal error

Fedora Silverblue 40 beta CUDA is 12.4 but the Conda environment installs CUDA 12.0:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Mon_Oct_24_19:12:58_PDT_2022
Cuda compilation tools, release 12.0, V12.0.76
Build cuda_12.0.r12.0/compiler.31968024_0

Steps/Code to reproduce bug
Screenshot from 2024-04-04 10-21-47

Run notebook cell 27:

df.to_csv('./dataset.csv', index=False)

the following notebook cell 28 also crashes with same error:

df = cudf.read_csv('./dataset.csv')

Expected behavior
Writing/reading of df dataframe to/from csv file.

Environment details (please complete the following information):

  • Ubuntu 23.04 x86_64 distrobox container hosted by Fedora Silverblue 40 beta

  • Kernel: 6.8.1-300.fc40.x86_64

  • CUDA 12.0 from conda install

  • Method of RAPIDS libraries install: [conda, Docker, or from source]

    • conda:
      conda create --solver=libmamba -n rapids-24.02 -c rapidsai -c conda-forge -c nvidia rapids=24.02 python=3.10 cuda-version=12.0

Additional context
This error has existed since January's rapids 23.12 when I last tried Rapids out. (cudf read csv)

@frasertajima frasertajima added the bug Something isn't working label Apr 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
Projects
None yet
Development

No branches or pull requests

1 participant