Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: prover memory optimizations #294

Merged
merged 22 commits into from Feb 23, 2024
Merged

Conversation

jtguibas
Copy link
Contributor

@jtguibas jtguibas commented Feb 22, 2024

Significantly decreases prover memory usage, among other performance improvements such as optimized trace generation.

@@ -87,6 +87,26 @@ pub enum ShardMainDataWrapper<SC: StarkGenericConfig> {
}

impl<SC: StarkGenericConfig> ShardMainDataWrapper<SC> {
pub fn materialize_inplace(&mut self) -> Result<&ShardMainData<SC>, Error>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe materialize_in_place

Also it's a bit of a strange name

@jtguibas jtguibas merged commit ff14294 into main Feb 23, 2024
5 checks passed
@jtguibas jtguibas deleted the john/prover-memory-optimizations branch February 23, 2024 22:29
jtguibas added a commit that referenced this pull request Mar 29, 2024
Co-authored-by: John Guibas <jtguibas@Johns-MBP.monkeybrains.net>
Co-authored-by: John Guibas <jtguibas@Johns-MacBook-Pro.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants