Skip to content

Replace LogitsWarper with LogitsProcessor#159

Merged
noamgat merged 1 commit intonoamgat:mainfrom
hmellor:fix-logits-warper
Feb 26, 2025
Merged

Replace LogitsWarper with LogitsProcessor#159
noamgat merged 1 commit intonoamgat:mainfrom
hmellor:fix-logits-warper

Conversation

@hmellor
Copy link
Contributor

@hmellor hmellor commented Feb 26, 2025

LogitsWarper contains the deprecation warning:

LogitsWarper is deprecated and will be removed in v4.48. Your class should inherit LogitsProcessor instead, which has the same properties and interface.

This PR does that.

Fixes #158

@noamgat noamgat merged commit 0d3dfeb into noamgat:main Feb 26, 2025
1 check passed
@hmellor hmellor deleted the fix-logits-warper branch February 26, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecated LogitsWarper usage

2 participants