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

Sharing exponents in sampling #802

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Sharing exponents in sampling #802

wants to merge 11 commits into from

Conversation

AYadrov
Copy link
Contributor

@AYadrov AYadrov commented May 13, 2024

This branch introduces an idea of sharing exponents among sampling runs.
This feature speeds up 'problematic' benchmarks where more that 1 iteration is usually spent for sampling.
In this branch, vstart-precs is dynamic and changes with the number of runs, where vstart-precs is the vector of precisions that are to be tried on the first iteration.
The main formula for change is:
vstart-precs += ceiling(alpha * (vprecs - vstart-precs))

Copy link
Contributor

@pavpanchekha pavpanchekha left a comment

Choose a reason for hiding this comment

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

The code is good and the results are good. I wish I had a better understanding of why it helps so much but it definitely does!

src/correct-round.rkt Outdated Show resolved Hide resolved
@pavpanchekha
Copy link
Contributor

I believe the plan is to hold off on merging this before we decide what's up with the us-v-Sollya comparisons.

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