Skip to content

Fixed multi-threading bug and faster compute through caching of find_necessary_steps

Compare
Choose a tag to compare
@huyng huyng released this 22 Feb 23:25
· 4 commits to master since this release
af0f7b2

We've introduced a cache to avoid computing find_necessary_steps multiple times during each inference call.

This has 2 benefits:

  1. It reduces computation time of the compute call
  2. It avoids a subtle multi-threading bug in networkx when accessing the graph from a high number of threads.