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

Return more infos for computing average acceptance length #3152

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

merrymercy
Copy link
Contributor

@merrymercy merrymercy commented Jan 26, 2025

Return ret["meta_info"]["spec_verify_ct"] for computing average acceptance length during speculative decoding.

average acceptance length = ret["meta_info"]["completion_tokens"] / ret["meta_info"]["spec_verify_ct"]

@merrymercy merrymercy changed the title Return more infos for printing average acceptance length Return more infos for computing average acceptance length Jan 26, 2025
@merrymercy merrymercy merged commit 1dda8c5 into main Jan 26, 2025
18 checks passed
@merrymercy merrymercy deleted the logprob-chunked-prefill branch January 26, 2025 12: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