NVIDIA / NVIDIA/cudf

[BUG] Investigate `nan` cases in cupy-based reductions

Open
#20,628 0 comments 0 reactions 0 assignees View on GitHub
bug Python
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

**Describe the bug**
In https://github.com/rapidsai/cudf/pull/19805, There seems to be pytest failures in `nan` cases for `cupy` based reduction we rely on.

```
======================================================= short test summary info =======================================================
FAILED python/cudf/cudf/tests/dataframe/methods/test_reductions.py::test_dataframe_reductions[True-cumsum-1-data0] - AssertionError: DataFrame.iloc[:, 1] (column name="y") are different
FAILED python/cudf/cudf/tests/dataframe/methods/test_reductions.py::test_dataframe_reductions[True-cumprod-1-data0] - AssertionError: DataFrame.iloc[:, 1] (column name="y") are different
FAILED python/cudf/cudf/tests/dataframe/methods/test_reductions.py::test_dataframe_reductions[True-any-1-data2] - AssertionError: Series are different
```

**Steps/Code to reproduce bug**
Follow this guide http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports to craft a minimal bug report. This helps us reproduce the issue you're having and resolve the issue more quickly.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Environment overview (please complete the following information)**
- Environment location: [Bare-metal, Docker, Cloud(specify cloud provider)]
- Method of cuDF install: [conda, Docker, or from source]
- If method of install is [Docker], provide `docker pull` & `docker run` commands used

**Environment details**
Please run and paste the output of the `cudf/print_env.sh` script here, to gather any other relevant environment details

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.