lava icon indicating copy to clipboard operation
lava copied to clipboard

EPIC: Compiler Optimization

Open mgkwill opened this issue 2 years ago • 0 comments

User story

As a user, I want a compiler that is performant so that large compilations are completed quickly, and compilation speed allows for very large chip and neuron compilations to be completed.

Conditions of satisfaction

  • RegViews are investigated to see if they are released between partitions and garbage collected by Python https://github.com/lava-nc/lava/issues/694
  • If needed, based on the RegViews investigation, a RegView Manager is created to re-use RegViews on partitions that have converged instead of instead of repartition said layers https://github.com/lava-nc/lava/issues/695
  • Investigate RegView reuse in cases where the layer has not converged and come up with an algorithm to increase perf
  • Investigate further paths to speed up compiler speed and efficiency

Acceptance tests

  • Benchmarking for feed_forward compilation shows a significant speedup on 10 layer network.

mgkwill avatar May 15 '23 16:05 mgkwill