Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestConvolve2d.test_large_array failing on Windows ILP64 CI job #12789

Closed
rgommers opened this issue Aug 29, 2020 · 0 comments · Fixed by #12790
Closed

TestConvolve2d.test_large_array failing on Windows ILP64 CI job #12789

rgommers opened this issue Aug 29, 2020 · 0 comments · Fixed by #12790
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.signal
Milestone

Comments

@rgommers
Copy link
Member

I've seen this test fail multiple times now, for example on gh-12374. The test was recently introduced in gh-12238. That test job uses more memory than other tests I suspect, so maybe this is a matter of reducing the allocated array size a little. @peterbell10 any thoughts on this one?

_______________________ TestConvolve2d.test_large_array _______________________
[gw0] win32 -- Python 3.8.5 C:\hostedtoolcache\windows\Python\3.8.5\x64\python.exe
C:\hostedtoolcache\windows\Python\3.8.5\x64\lib\site-packages\scipy\signal\tests\test_signaltools.py:422: in test_large_array
    count = signal.convolve2d(a, [[1, 1]])
        a          = array([[1, 0, 1, ..., 0, 1, 0],
       [0, 1, 0, ..., 1, 0, 1],
       [1, 0, 1, ..., 0, 1, 0],
       ...,
       [1, 0, 1, ..., 0, 1, 0],
       [0, 1, 0, ..., 1, 0, 1],
       [1, 0, 1, ..., 0, 1, 0]], dtype=int64)
        n          = 268435
        self       = <scipy.signal.tests.test_signaltools.TestConvolve2d object at 0x0000020362515790>
C:\hostedtoolcache\windows\Python\3.8.5\x64\lib\site-packages\scipy\signal\signaltools.py:1689: in convolve2d
    out = sigtools._convolve2d(in1, in2, 1, val, bval, fillvalue)
E   MemoryError: Unable to allocate 2.00 GiB for an array with shape (268435, 1001) and data type int64
@rgommers rgommers added defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.signal labels Aug 29, 2020
@tylerjereddy tylerjereddy added this to the 1.6.0 milestone Sep 1, 2020
@tylerjereddy tylerjereddy modified the milestones: 1.6.0, 1.5.4 Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.signal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants