Skip to content

Commit

Permalink
Fix MockTokenizer in the unit tests (#1774)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored Oct 24, 2024
1 parent 8f8f96a commit 87a7cfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/sglang/test/srt/sampling/penaltylib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class MockSamplingParams:
@dataclasses.dataclass
class MockTokenizer:
eos_token_id: int
additional_stop_token_ids: typing.Optional[typing.List[int]] = None


@dataclasses.dataclass
Expand Down

0 comments on commit 87a7cfa

Please sign in to comment.