PySR icon indicating copy to clipboard operation
PySR copied to clipboard

[Feature]: Should launch search in a thread

Open MilesCranmer opened this issue 1 year ago • 2 comments

Feature Request

PySR should launch the search process in a thread so that we can watch for stop signals. However, I'm not sure how PySR could forward the stop signal to PyJulia?

MilesCranmer avatar Jul 18 '23 14:07 MilesCranmer

This is probably the way to integrate with tqdm as well.

MilesCranmer avatar Jul 18 '23 16:07 MilesCranmer

Actually in a process. Then we can catch any interrupt and write to a "signal file" that SymbolicRegression.jl would read.

MilesCranmer avatar Feb 12 '24 09:02 MilesCranmer