Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
oobabooga committed Oct 24, 2024
2 parents 8deea29 + e1061ba commit 3a92fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sampler_hijack.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def get_logits_processor_patch(self, **kwargs):
)

# Stuff we don't need
elif warpers[i].__class__.__name__ in ['SuppressTokensLogitsProcessor', 'RepetitionPenaltyLogitsProcessor']:
elif warpers[i].__class__.__name__ in ['RepetitionPenaltyLogitsProcessor']:
del warpers[i]

# Add custom warpers
Expand Down

0 comments on commit 3a92fa5

Please sign in to comment.