Skip to content

Introduce Histogram pruning for SearchV2 algorithms#196

Open
SimBe195 wants to merge 7 commits intomasterfrom
histogram_pruning
Open

Introduce Histogram pruning for SearchV2 algorithms#196
SimBe195 wants to merge 7 commits intomasterfrom
histogram_pruning

Conversation

@SimBe195
Copy link
Collaborator

This PR replaces the beam-size-pruning using std::nth_element with histogram pruning. The beamSizePruning and scorePruning functions of LexiconfreeTimesyncBeamSearch, LexiconfreeLabelsyncBeamSearch and TreeTimesyncBeamSearch have been combined into one function that can do both at once by incorporating the histogram.

The advantage in terms of speed is only minor; I measured around 1-2% search RTF reduction.

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