You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use PyIRT, however it seems that the library has some issues with how it uses multiprocessing. I guess it used to be fine some time ago, I'm currently using Python 3.9.1.
It seems that essentially PyIRT passes a local update function as a target to Process. In effect, when multiprocessing tries to fork and spawn a new process, it tries to dump a pickle of the function, which fails with AttributeError: Can't pickle local object 'IRT_MMLE_2PL.__update_theta_distr.<locals>.update'.
Does anyone have a solution or a workaround to this issue?
The text was updated successfully, but these errors were encountered:
I'm trying to use PyIRT, however it seems that the library has some issues with how it uses
multiprocessing
. I guess it used to be fine some time ago, I'm currently using Python 3.9.1.It seems that essentially PyIRT passes a local
update
function as atarget
toProcess
. In effect, whenmultiprocessing
tries to fork and spawn a new process, it tries to dump a pickle of the function, which fails withAttributeError: Can't pickle local object 'IRT_MMLE_2PL.__update_theta_distr.<locals>.update'
.Does anyone have a solution or a workaround to this issue?
The text was updated successfully, but these errors were encountered: