-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
feat/enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is needed / contributions welcomeExtra attention is needed / contributions welcomequestionFurther information is requestedFurther information is requestedresearchexperimental stuffexperimental stuff
Description
Description
There are starting to be locations in pyhf where one can start parallelizing certain calculations on behalf of the user (rather than the user explicitly parallelizing). For example, one that will come up is with the toy calculation added in #790 where we need to do a for-loop and calculate the test statistic for each toy.
This cannot be batched or vectorized quite simply because a statistical fit is performed for each toy (and num iterations is not necessarily the same for each toy). There may be other good examples in the code-base in the future that we will want the parallelism.
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Perhaps something like pip install pyhf[toytools] or pyhf[toys-joblib] or pyhf[toys-dask].
Describe alternatives you've considered
Dunno. I didn't think hard enough yet.
Relevant Issues and Pull Requests
Additional context
Nope.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feat/enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is needed / contributions welcomeExtra attention is needed / contributions welcomequestionFurther information is requestedFurther information is requestedresearchexperimental stuffexperimental stuff