EnzymeAD / EnzymeAD/Reactant.jl

Precompiling `Reactant.jl` kernels will cause segfault in `SymbolicRegressionGPU.jl`

Open
#500 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
370
Forks
74
Avg merge
18h 47m
Merged PRs (30d)
30

Description

Hi,
I found a potential bug while using Reactant.jl in my project [`SymbolicRegressionGPU.jl`](https://github.com/x66ccff/SymbolicRegressionGPU.jl)

It seems that when I enable Reactant.jl in my `precompiling.jl` will causes a segmentation fault when the main program starts. I feel like this is about some I/O being opened but not closed during precompilation, but I'm not entirely sure how to resolve it. What's even stranger is that I was originally able to use Reactant.jl during precompilation, but after I deleted the folder and re-cloned my repository, and then re-instantiated it, I encountered the issue of not being able to use Reactant.jl during precompilation. I find this problem quite puzzling. Do you have any thoughts on this?

I've documented this issue in detail here: https://github.com/x66ccff/SymbolicRegressionGPU.jl/issues/13

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.