rapidsai / cudf

cuDF - GPU DataFrame Library
https://docs.rapids.ai/api/cudf/stable/
Apache License 2.0
8.27k stars 884 forks source link

[DOC] cudf/source/user_guide/10min.ipynb gives warning on docs build as dask_cudf is missing #16264

Open raybellwaves opened 2 months ago

raybellwaves commented 2 months ago

When the docs build it gives a warning

/home/ubuntu/cudf/docs/cudf/source/user_guide/10min.ipynb: WARNING: Executing notebook failed: CellExecutionError [mystnb.exec] /home/ubuntu/cudf/docs/cudf/source/user_guide/10min.ipynb: WARNING: Notebook exception traceback saved in: /home/ubuntu/cudf/docs/cudf/build/html/reports/user_guide/10min.err.log [mystnb.exec]

and the log is


ModuleNotFoundError Traceback (most recent call last) Cell In[1], line 7 4 import pandas as pd 6 import cudf ----> 7 import dask_cudf

This is related to https://docs.rapids.ai/api/cudf/stable/user_guide/10min/

bdice commented 1 month ago

@raybellwaves Following up on this. Did you install dask-cudf before building the documentation? The docs builds require both cudf and dask-cudf to be installed so that the notebooks can be rendered.

However you chose to build/install cudf (devcontainers, from source in a conda environment, etc.), it should be easy to install dask-cudf as it is a pure Python package. Its source is here: https://github.com/rapidsai/cudf/tree/branch-24.10/python/dask_cudf

raybellwaves commented 4 weeks ago

I'm afraid I can't remember. If I get some time i'll look into this again.