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

Use precomputed twiddles #494

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

spapinistarkware
Copy link
Contributor

@spapinistarkware spapinistarkware commented Mar 16, 2024

This change is Reviewable

This was referenced Mar 16, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (spapini/03-16-add_measurement_logs@1b54a8c). Click here to learn what that means.

Additional details and impacted files
@@                          Coverage Diff                          @@
##             spapini/03-16-add_measurement_logs     #494   +/-   ##
=====================================================================
  Coverage                                      ?   94.26%           
=====================================================================
  Files                                         ?       66           
  Lines                                         ?     8407           
  Branches                                      ?     8407           
=====================================================================
  Hits                                          ?     7925           
  Misses                                        ?      418           
  Partials                                      ?       64           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@spapinistarkware spapinistarkware force-pushed the spapini/03-16-add_measurement_logs branch from f4b7c15 to 07a62f9 Compare March 28, 2024 09:44
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-use_precomputed_twiddles branch from 2bf22ce to 34378d1 Compare March 28, 2024 09:44
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-add_measurement_logs branch from 07a62f9 to 7240676 Compare April 3, 2024 06:22
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-use_precomputed_twiddles branch from 34378d1 to d73baf2 Compare April 3, 2024 06:22
@spapinistarkware spapinistarkware mentioned this pull request Apr 3, 2024
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-add_measurement_logs branch from 7240676 to 60bf0a0 Compare April 4, 2024 09:52
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-use_precomputed_twiddles branch from d73baf2 to bf937f6 Compare April 4, 2024 09:53
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-add_measurement_logs branch from 60bf0a0 to c048950 Compare April 4, 2024 12:20
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-use_precomputed_twiddles branch from bf937f6 to 13fdd89 Compare April 4, 2024 12:20
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-add_measurement_logs branch from c048950 to c61c35b Compare April 4, 2024 12:26
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-use_precomputed_twiddles branch from 13fdd89 to 400f7b3 Compare April 4, 2024 12:26
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-add_measurement_logs branch from c61c35b to 82a86ae Compare April 15, 2024 08:56
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-use_precomputed_twiddles branch from 400f7b3 to 87aa9c7 Compare April 15, 2024 08:56
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-add_measurement_logs branch from 82a86ae to eeb1ad0 Compare April 15, 2024 10:53
Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @alonh5 and @spapinistarkware)


src/core/prover/mod.rs line 75 at r1 (raw file):

    let span = span!(Level::INFO, "Precompute twiddle").entered();
    let twiddles = B::precompute_twiddles(
        CanonicCoset::new(air.composition_log_degree_bound() + 1)
  • LOG_BLOWUP_FACTOR?

Code quote:

 + 1

src/core/prover/mod.rs line 387 at r1 (raw file):

            },
        };
        let domain = CanonicCoset::new(LOG_DOMAIN_SIZE).circle_domain();

What's that change?

Code quote:

CanonicCoset::new(LOG_DOMAIN_SIZE).circle_domain();

@spapinistarkware spapinistarkware force-pushed the spapini/03-16-add_measurement_logs branch from eeb1ad0 to c79fbdb Compare April 15, 2024 11:01
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-use_precomputed_twiddles branch from 87aa9c7 to da509ab Compare April 15, 2024 11:01
Copy link
Contributor Author

@spapinistarkware spapinistarkware left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 of 2 files reviewed, 2 unresolved discussions (waiting on @alonh5 and @shaharsamocha7)


src/core/prover/mod.rs line 75 at r1 (raw file):

Previously, shaharsamocha7 wrote…
  • LOG_BLOWUP_FACTOR?

Done.


src/core/prover/mod.rs line 387 at r1 (raw file):

Previously, shaharsamocha7 wrote…

What's that change?

Done.

Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @alonh5 and @spapinistarkware)

a discussion (no related file):
Do we need to add a "Could not compute twiddles for this domain" error?


Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @alonh5)

@spapinistarkware spapinistarkware force-pushed the spapini/03-16-add_measurement_logs branch from c79fbdb to 1b54a8c Compare April 15, 2024 11:10
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-use_precomputed_twiddles branch from da509ab to 1d0bcc6 Compare April 15, 2024 11:11
Copy link
Contributor Author

spapinistarkware commented Apr 15, 2024

Merge activity

@spapinistarkware spapinistarkware changed the base branch from spapini/03-16-add_measurement_logs to dev April 15, 2024 11:31
@spapinistarkware spapinistarkware force-pushed the spapini/03-16-use_precomputed_twiddles branch from 1d0bcc6 to 164887a Compare April 15, 2024 11:32
@spapinistarkware spapinistarkware merged commit ae2aa27 into dev Apr 15, 2024
12 checks passed
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.

3 participants