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

Forward backward #559

Closed
wants to merge 21 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove repr from remote kv cache
  • Loading branch information
dvmazur committed Feb 2, 2024
commit 027b506508ce9f1b5b2b0fdb32f286fd4f32004a
3 changes: 0 additions & 3 deletions src/petals/client/remote_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ def update_seen(self, new_seen: int) -> None:
def reorder_cache(self, beam_idx):
pass

def __repr__(self) -> str:
return f"{self.__class__.__name__}({self.seen_tokens=})"


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

Expand Down