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
I have no idea what this very strange issue comes from. It could be a combination of my specific torch version (tested 1.11-1.13, still occurs), specific operating system (macOS), specific python version (3.8.9) combined with my specific julia version (1.7.2).
Here's a minimal example:
importtorchfromjuliaimportPkgPkg.add("StatsBase")
The output is:
Python(61891,0x100598580) malloc: *** error for object 0xffffffff00000000: pointer being freed was not allocated
Python(61891,0x100598580) malloc: *** set a breakpoint in malloc_error_break to debug
signal (6): Abort trap: 6
in expression starting at none:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 11431809 (Pool: 11423282; Big: 8527); GC: 14
[1] 61891 abort ~/venvs/main/bin/ipython
However, I can make this go away with:
fromjuliaimportPkgimporttorchPkg.add("StatsBase")
This works fine.
I see this more helpful error when I run this code in a debugger:
I have no idea what this very strange issue comes from. It could be a combination of my specific torch version (tested 1.11-1.13, still occurs), specific operating system (macOS), specific python version (3.8.9) combined with my specific julia version (1.7.2).
Here's a minimal example:
The output is:
However, I can make this go away with:
This works fine.
I see this more helpful error when I run this code in a debugger:
So it seems like perhaps
pytorch
is taking over one of the pipes for printing from Python?The text was updated successfully, but these errors were encountered: