Skip to content

Offline DSI simulation: Immediate pruning #33

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

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

keyboardAnt
Copy link
Owner

This PR improves the accuracy of the offline DSI simulation by considering the following edge case where the first draft token of an iteration is rejected. This PR increases DSI speedups only slightly. The plots for ndim=50 in this setting do not change.

The edge case: If the current iteration's first draft token is rejected, we do not necessarily need to incur the latency of drafting. We incur the latency of drafting only if we didn't incur the latency of verifying the previous iteration. Note that the edge case holds for the online DSI simulation.

@keyboardAnt keyboardAnt merged commit a9c4907 into main Jul 16, 2024
2 checks passed
@keyboardAnt keyboardAnt deleted the nadav/offline-simul-immediate-pruning branch July 16, 2024 14:51
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.

1 participant