From 955b1f4566abccf920a022dc78a1e654acf0de16 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Sun, 5 Jan 2025 08:49:37 -0600 Subject: [PATCH] Cross-link cudf.pandas profiler documentation. (#17668) Adds a cross-link to the cudf.pandas profiler docs. This cross-linking would have helped answer a user question about how to profile. Authors: - Bradley Dice (https://github.com/bdice) - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) URL: https://github.com/rapidsai/cudf/pull/17668 --- docs/cudf/source/cudf_pandas/faq.md | 10 +++++----- docs/cudf/source/cudf_pandas/usage.md | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/cudf/source/cudf_pandas/faq.md b/docs/cudf/source/cudf_pandas/faq.md index 5024747227e..222b698a78d 100644 --- a/docs/cudf/source/cudf_pandas/faq.md +++ b/docs/cudf/source/cudf_pandas/faq.md @@ -63,11 +63,11 @@ keyword arguments, cuDF is not able to provide GPU acceleration and `cudf.pandas` will fall back to the CPU. The most accurate way to assess which functions run on the GPU is to try -running the code while using the `cudf.pandas` profiling features. The -profiler will indicate which functions ran on GPU / CPU. To improve -performance, try to use only functionality that can run entirely on GPU. -This helps reduce the number of memory transfers needed to fallback to -CPU. +running the code while using the `cudf.pandas` [profiling +features](cudf-pandas-profiling). The profiler will indicate which functions +ran on GPU / CPU. To improve performance, try to use only functionality that +can run entirely on GPU. This helps reduce the number of memory transfers +needed to fallback to CPU. ## How can I improve performance of my workflow with `cudf.pandas`? diff --git a/docs/cudf/source/cudf_pandas/usage.md b/docs/cudf/source/cudf_pandas/usage.md index 089f283e25d..fed63c2dd0f 100644 --- a/docs/cudf/source/cudf_pandas/usage.md +++ b/docs/cudf/source/cudf_pandas/usage.md @@ -75,6 +75,7 @@ with Pool(4) as pool: ... ``` +(cudf-pandas-profiling)= ## Profiling `cudf.pandas` `cudf.pandas` will attempt to use the GPU whenever possible and fall