From 3609d57e926480ea6d1d068ccb01085acf2ea953 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Tue, 26 Apr 2022 10:41:36 -0400 Subject: [PATCH] Fix `cupy` function in notebook This PR updates a `from_dlpack` call that was missed in #10631. --- docs/cudf/source/user_guide/10min-cudf-cupy.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cudf/source/user_guide/10min-cudf-cupy.ipynb b/docs/cudf/source/user_guide/10min-cudf-cupy.ipynb index 1bcb9335256..35ca21f380e 100644 --- a/docs/cudf/source/user_guide/10min-cudf-cupy.ipynb +++ b/docs/cudf/source/user_guide/10min-cudf-cupy.ipynb @@ -1067,7 +1067,7 @@ " if sparseformat == 'row':\n", " _sparse_constructor = cp.sparse.csr_matrix\n", "\n", - " return _sparse_constructor(cp.from_dlpack(data.to_dlpack()))" + " return _sparse_constructor(cupy_from_dlpack(data.to_dlpack()))" ] }, {