Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Should launch search in a thread #383

Open
MilesCranmer opened this issue Jul 18, 2023 · 2 comments
Open

[Feature]: Should launch search in a thread #383

MilesCranmer opened this issue Jul 18, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@MilesCranmer
Copy link
Owner

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 MilesCranmer added the enhancement New feature or request label Jul 18, 2023
@MilesCranmer
Copy link
Owner Author

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

@MilesCranmer
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant