[Spec] Disambiguate verified_id into bonus_token(s) / accept_tokens (#24724)
This commit is contained in:
@@ -18,7 +18,7 @@ class TestBuildEagleTree(unittest.TestCase):
|
||||
|
||||
def test_build_tree_kernel_efficient(self):
|
||||
"""Test the build_tree_kernel_efficient function with known inputs and expected outputs."""
|
||||
verified_id = torch.tensor([29974, 13], device=get_device(), dtype=torch.int32)
|
||||
bonus_tokens = torch.tensor([29974, 13], device=get_device(), dtype=torch.int32)
|
||||
score_list = [
|
||||
torch.tensor(
|
||||
[
|
||||
@@ -244,7 +244,7 @@ class TestBuildEagleTree(unittest.TestCase):
|
||||
retrieve_next_sibling,
|
||||
draft_tokens,
|
||||
) = build_tree_kernel_efficient(
|
||||
verified_id=verified_id,
|
||||
bonus_tokens=bonus_tokens,
|
||||
parent_list=parent_list,
|
||||
top_scores_index=top_scores_index,
|
||||
draft_tokens=draft_tokens,
|
||||
|
||||
Reference in New Issue
Block a user