Replies: 1 comment
-
Hi, you can use multiple cores already. Only a tiny fraction of the computing time is spend in iminuit itself, most of the computing time is spend in computing the cost function, which is under your control as the user and you can compute it in parallel. In fact, if you already use the builtin cost functions, it is sufficient to compute the pdf or cdf of your model in parallel, as shown in our tutorial on this topic: In the tutorial, we make parallelized functions from scratch with numba, but you can also use the pre-made versions here (pip install numba-stats): |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is is possible to run the iminuit optimization over multiple cores?
I looked around and think not, but perhaps (hopefully) I missed something. (I recall roofit could do this, using forks.)
If not, I was wondering if there happen to be any plans to implement this in the future?
Thanks! -Max
Beta Was this translation helpful? Give feedback.
All reactions