Skip to content

Commit

Permalink
GHA: increased number of optimizations for ExampleSplinesSwameye2003.…
Browse files Browse the repository at this point in the history
…ipynb (#2237)

and use all available cores.

This example fails too frequently,
e.g. https://github.com/dweindl/AMICI/actions/runs/7193472391/job/19591997110

> Exception: All multistarts failed (n_starts is probably too small)! If this error occurred during CI, just run the workflow again.
  • Loading branch information
dweindl authored Dec 13, 2023
1 parent 93885e3 commit 9e26037
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@
"source": [
"# If running as a GitHub action, just do the minimal amount of work required to check whether the code is working\n",
"if os.getenv(\"GITHUB_ACTIONS\") is not None:\n",
" n_starts = 15\n",
" n_starts = 25\n",
" pypesto_optimizer = pypesto.optimize.FidesOptimizer(\n",
" verbose=logging.WARNING, options=dict(maxiter=10)\n",
" )\n",
" pypesto_engine = pypesto.engine.SingleCoreEngine()"
" pypesto_engine = pypesto.engine.MultiProcessEngine()"
]
},
{
Expand Down

0 comments on commit 9e26037

Please sign in to comment.