Skip to content

Commit

Permalink
Merge pull request #341 from MilesCranmer/jit-info
Browse files Browse the repository at this point in the history
Let user know when compilation is taking place
  • Loading branch information
MilesCranmer committed May 28, 2023
2 parents 2d49733 + 44e383a commit d823f99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pysr/sr.py
Expand Up @@ -1529,6 +1529,9 @@ def _run(self, X, y, mutated_params, weights, seed):
julia_kwargs = mutated_params["julia_kwargs"]

# Start julia backend processes
if not already_ran and update_verbosity != 0:
print("Compiling Julia backend...")

Main = init_julia(self.julia_project, julia_kwargs=julia_kwargs)

if cluster_manager is not None:
Expand Down

0 comments on commit d823f99

Please sign in to comment.