Closed jpivarski closed 1 month ago
@jpivarski - yes, I can reproduce it. It did not fail when firstly the single test was run separately as:
python -m pytest tests-cuda/test_3149_complex_reducers.py
but it did fail when it was run as a full set of tests:
python -m pytest tests-cuda
Version of Awkward Array
HEAD
Description and code to reproduce
The first time I ran
pytest tests-cuda
on a new system, I got one test failure:The error is that the numerical result for this array is wrong.
Subsequently re-running this test did not result in any errors. That's very strange. I tried to make a reproducer on Google Colab, but couldn't install CuPy on it.
I also tried uninstalling and reinstalling Awkward:
But that didn't do it.
Maybe this has nothing to do with being the first time, and it's a very rare synchronization bug.
I tried running it 100 times:
but that didn't do it—it still passes.
@ianna, if you can't reproduce it, just close this issue.