I've been trying to use Nova to fold Circom & arkworks circuits in this repo: https://github.com/arnaucube/hash-chain-sonobe
and specially when folding arkworks circuits, the memory usage keeps growing while the prove_step is being called over and over.
Automating the usage of profiling tools of the memory usage, so that we can be aware of the concrete improvements (for this time but also for the future)
Reduce memory usage, specially focusing on the .prove_step() method
I've been trying to use Nova to fold Circom & arkworks circuits in this repo: https://github.com/arnaucube/hash-chain-sonobe and specially when folding arkworks circuits, the memory usage keeps growing while the
prove_step
is being called over and over.I've started to update Sonobe removing a bunch of
.clone()
s and removed the usage ofVec<_>
along thenova.prove_step
method in the branch https://github.com/privacy-scaling-explorations/sonobe/tree/reduce-memory-usage, but more work needs to be done on it.To test it, there is a branch in the hash-chain-sonobe repo that uses the
reduce-memory-usage
branch of sonobe: https://github.com/arnaucube/hash-chain-sonobe/tree/reduce-memory-usage , since the interfaces have changed in sonobe's branch.The task of this issue would be:
.prove_step()
method