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

Prover/vertical splitting for limitless prover #547

Conversation

Soleimani193
Copy link
Contributor

This PR implements the vertical splitting of CompiledIOP and its corresponding prover.

Checklist

  • I wrote new tests for my new core changes.
  • I have successfully ran tests, style checker and build against my new changes locally.
  • I have informed the team of any breaking changes if there are any.

@Soleimani193 Soleimani193 self-assigned this Jan 14, 2025
@Soleimani193 Soleimani193 added the Prover Tag to use for all work impacting the prover label Jan 14, 2025
Copy link

cla-assistant bot commented Jan 14, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

cla-assistant bot commented Jan 14, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ arijitdutta67
✅ AlexandreBelling
❌ Soleimani193
You have signed the CLA already but the status is still pending? Let us recheck it.

@Soleimani193 Soleimani193 changed the base branch from main to prover/limitless-top-level January 14, 2025 14:54
@Soleimani193 Soleimani193 marked this pull request as ready for review January 14, 2025 14:58
return ContinueCompilation(comp, compilers...)
}

// ContinueCompilation continues a set of compilation steps over a initial CompiledIOP object.
Copy link
Contributor

Choose a reason for hiding this comment

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

It's a good idea to add that IMO

…ea-monorepo into prover/vertical-splitting-for-limitless-prover
if run.ParentRuntime == nil {
utils.Panic("invalid call: the runtime does not have a [ParentRuntime]")
}
if run.ProverID > p.numSegments {
Copy link
Contributor

Choose a reason for hiding this comment

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

You should make ProverID a field of segmentModuleProver and not ProverRuntime

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ModulCop for all segments should remain the same and proverID should only affect the prover.

On the other hand the run time already has the parent run time and is natural to say what is the position of the prover among its siblings.

@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.49%. Comparing base (9257757) to head (a470cdf).

Additional details and impacted files
@@                      Coverage Diff                      @@
##             prover/limitless-top-level     #547   +/-   ##
=============================================================
  Coverage                         68.49%   68.49%           
  Complexity                         1130     1130           
=============================================================
  Files                               321      321           
  Lines                             12842    12842           
  Branches                           1287     1287           
=============================================================
  Hits                               8796     8796           
  Misses                             3506     3506           
  Partials                            540      540           
Flag Coverage Δ *Carryforward flag
hardhat 98.74% <ø> (ø)
kotlin 66.05% <ø> (ø) Carriedforward from 78f45e6

*This pull request uses carry forward flags. Click here to find out more.

@Soleimani193 Soleimani193 merged commit 1ebac35 into prover/limitless-top-level Jan 16, 2025
12 of 15 checks passed
@Soleimani193 Soleimani193 deleted the prover/vertical-splitting-for-limitless-prover branch January 16, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prover Tag to use for all work impacting the prover
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants