CI job is choking on new NumPy memory allocator warnings
See original GitHub issueExample: https://github.com/scipy/scipy/runs/4005856905?check_suite_focus=true
There’s lots of this:
scipy/interpolate/tests/test_rbf.py .......... [ 17%]
Exception ignored in: 'array_dealloc'
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 59, in __exit__
del self.unraisable
RuntimeWarning: Trying to dealloc data, but a memory policy is not set. If you take ownership of the data, you must also set a memory policy.
This looks like it’s in Pythran code, but nothing changed there - it seems to be due to the new memory allocator in NumPy main. @mattip can you have a look at this?
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Memory leak with Numpy arrays and the threaded scheduler
This doesn't happen when I run it with the single-threaded scheduler. Calling gc.collect() doesn't help. Allocating a new large numpy array ...
Read more >numpy.memmap: bogus memory allocation - Stack Overflow
When you create a memory map, the kernel allocates a new block of addresses within the virtual address space of the calling process...
Read more >Using Python on Hopper, Carver and Edison - NERSC
Python base package is installed in /usr/common/ usg/python/x.y.z (x.y.z is a version number). • Other individual packages are installed in ...
Read more >12.010 Computational Methods of Scientific Programming
Modules; File IO; Time; Exceptions; Parsing command line options/arguments; CGI programming; Database access; Math Modules numpy and scipy ...
Read more >Python for Scientists and Engineers - eScholarship
SciPy provides additional functionality for NumPy arrays including toolboxes for IO, linear algebra, statistics, optimization, integration, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I believe the cron jobs don’t run if a build was run in the previous 24 hours, which can be the result of a merge or a deliberate trigger.
Hmm odd. Yes you are right, thanks @seberg. It looks like the NumPy nightlies arrive inconsistently, the last 3 uploads were 2, 4 and 9 days ago: https://anaconda.org/scipy-wheels-nightly/numpy/files