File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ makedocs(
4848 " Python to Julia" => " conversion-to-julia.md" ,
4949 ],
5050 " compat.md" ,
51+ " faq.md" ,
5152 " pycall.md" ,
5253 " releasenotes.md" ,
5354 ]
Original file line number Diff line number Diff line change 1+ # FAQ & Troubleshooting
2+
3+ ## Heap corruption when using PyTorch ([ issue 215] ( https://github.com/cjdoris/PythonCall.jl/issues/215 ) )
4+
5+ On some systems, you may see an error like the following when using ` torch ` and ` juliacall ` :
6+ ``` text
7+ Python(65251,0x104cf8580) malloc: Heap corruption detected, free list is damaged at 0x600001c17280
8+ *** Incorrect guard value: 1903002876
9+ Python(65251,0x104cf8580) malloc: *** set a breakpoint in malloc_error_break to debug
10+ [1] 65251 abort ipython
11+ ```
12+
13+ A solution is to ensure that ` juliacall ` is imported before ` torch ` .
You can’t perform that action at this time.
0 commit comments