Skip to content

Instantly share code, notes, and snippets.

@limafm
Last active August 28, 2020 20:35
Show Gist options
  • Select an option

  • Save limafm/7b7ecbae404605bbd060f7da497aadd5 to your computer and use it in GitHub Desktop.

Select an option

Save limafm/7b7ecbae404605bbd060f7da497aadd5 to your computer and use it in GitHub Desktop.
multiprocessing Issues
# artigo onde o autor explica o motivo de travamento
https://pythonspeed.com/articles/python-multiprocessing/
# multiprocessing.set_start_method
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.set_start_method
# AttributeError: Can't pickle local object
https://stackoverflow.com/questions/52265120/python-multiprocessing-pool-map-attributeerror-cant-pickle-local-object
# AttributeError: Can\'t pickle local object \'_objective_function_wrapper.<locals>.inner #2189
https://github.com/microsoft/LightGBM/issues/2189
# Decoration in Python done right: Decorating and pickling
http://gael-varoquaux.info/programming/decoration-in-python-done-right-decorating-and-pickling.html
# AttributeError: Can't pickle local object 'Consumer._create_process.<locals>._run'
https://github.com/coleifer/huey/issues/473
# AttributeError: Can’t pickle local object ‘Mixture._comp_dist_random_wrapper.<locals>.wrapped_random’
https://discourse.pymc.io/t/attributeerror-cant-pickle-local-object-mixture-comp-dist-random-wrapper-locals-wrapped-random/4619
# FIX: Python 2.7-3.7.1 compatible NonDaemonPool
https://github.com/nipy/nipype/pull/2754
# FIX: Python 2.7-3.7.1 compatible NonDaemonPool #2754
https://github.com/nipy/nipype/pull/2754/files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment