cudf
cudf copied to clipboard
[DOC] cudf/source/user_guide/10min.ipynb gives warning on docs build as dask_cudf is missing
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/
@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
I'm afraid I can't remember. If I get some time i'll look into this again.
@raybellwaves did you ever get a chance to look at this again?
I'm going to close this one for now since it seems likely that the issue was just that dask_cudf wasn't installed, but feel free to reopen if there was more to it than that.