lava
lava copied to clipboard
EPIC: Compiler Optimization
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.