You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Close#9404
The issue in 9404 results from that pandas computes different rolling std results on x86 compared to `aarch64` on a uniform window. In this specific test case, the window is
```
(Pdb) pdf['1'][574:576]
574 2.064967e+153
575 2.064967e+153
Name: 1, dtype: float64
```
On `aarch64`, pandas computes
```python
(Pdb) mask = np.isclose(expect['1'].fillna(0), got['1'].fillna(0).to_pandas())
(Pdb) expect['1'][~mask]
575 1.149735e+145
```
On `x86`, pandas computes
```python
(Pdb) expect['1'][575]
0.0
```
Since the results computed on uniform windows by pandas is not reliable, this PR drops these rows before comparing the results.
Authors:
- Michael Wang (https://github.com/isVoid)
Approvers:
- GALI PREM SAGAR (https://github.com/galipremsagar)
- H. Thomson Comer (https://github.com/thomcom)
- Ashwin Srinath (https://github.com/shwina)
URL: #9416
Describe the bug
On aarch64 device,
test_rolling.py::test_rolling_var_std_large
fails.Steps/Code to reproduce bug
Compile and run tests on an
aarch64
device.Expected behavior
No test failure
Environment overview (please complete the following information)
Environment details
gpuci/rapidsai-arm64:21.10-cuda11.2-devel-ubuntu18.04-py3.7
21.10
from source inside the dockerAdditional context
Failure message
The text was updated successfully, but these errors were encountered: