ActivitySim / activitysim

An Open Platform for Activity-Based Travel Modeling
https://activitysim.github.io
BSD 3-Clause "New" or "Revised" License
189 stars 96 forks source link

PopulationSim Threading #719

Open joecastiglione opened 10 months ago

joecastiglione commented 10 months ago

Add parallelization to PopulationSim in order to significantly improve runtimes in the case of multiple seed geographies. The planned parallelization strategy is to use Python’s multiprocessing library to process each seed geography, which is typically a Census PUMA, using a separate processor.

lmz commented 9 months ago

It would be useful to have include some runtimes here to understand if this is a problem. In my experience, it hasn't been an issue.

stefancoe commented 9 months ago

It looks like multiprocessing was added: https://github.com/ActivitySim/populationsim/pull/130