Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make SupraSeal take less memory and work with large batches
SupraSeal is so efficient as it leverages the fact that the Filecoin circuits have a specific shape. This can also be used for a more memory efficient representation during synthesis. This makes the synthesis less memory intensive and thus makes it possible to synthesize more circuits in parallel. The prover still needs the normal representation, hence is still memory intensive. We run a batch size of 5 instead of 10, which even reduces that memory footprint a lot which justified the additional computation costs. Those changes enables proving a large number of proofs pretty efficiently, which makes it suitable for Filecoins non-interactive PoRep. All those optimization are only for the SupraSeal code path as they are kind of Filecoin specific.
- Loading branch information