Skip to content

Commit

Permalink
Add assert about BS
Browse files Browse the repository at this point in the history
  • Loading branch information
artek0chumak committed Apr 10, 2024
1 parent 5f91793 commit a447cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/petals/client/remote_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def update_seen(self, new_seen: int) -> None:
self.seen_tokens += new_seen

def reorder_cache(self, beam_idx):
pass
raise NotImplementedError("Beam search reordering is not implemented yet")


_skipped_tokens = ContextVar("skipped_tokens", default=0)
Expand Down

0 comments on commit a447cbe

Please sign in to comment.