Task: transformers 5 support#1582
Merged
jmartin-tech merged 8 commits intoNVIDIA:mainfrom Feb 3, 2026
Merged
Conversation
de2ea96 to
7cc3c4e
Compare
erickgalinkin
approved these changes
Jan 29, 2026
Collaborator
erickgalinkin
left a comment
There was a problem hiding this comment.
Looks good to me -- support merging once all tests pass.
leondz
reviewed
Jan 30, 2026
Collaborator
leondz
left a comment
There was a problem hiding this comment.
Thanks. Good luck w/ win.
6b96d0a to
44e9a86
Compare
jmartin-tech
commented
Jan 30, 2026
Comment on lines
+43
to
+47
| if sys.platform == "win32" and klassname == "buffs.paraphrase.Fast": | ||
| # special case buff not currently supported on Windows | ||
| with pytest.raises(GarakException) as exc_info: | ||
| list(b.transform(a)) # process yield to see raise | ||
| assert "failed" in str(exc_info.value) |
Collaborator
Author
There was a problem hiding this comment.
Note this test should start to fail if/when Windows reaches a working state for this plugin.
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
huggingface_hub version 1.0 changes the entry point from `huggingface_cli` to `hf` Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
Currently the custom generator used fails to load in windows, allow exception to be raised Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
44e9a86 to
b593ba3
Compare
leondz
reviewed
Feb 3, 2026
Collaborator
leondz
left a comment
There was a problem hiding this comment.
main q - where/how is custom_generate consumed?
Comment on lines
+43
to
+47
| if sys.platform == "win32" and klassname == "buffs.paraphrase.Fast": | ||
| # special case buff not currently supported on Windows | ||
| with pytest.raises(GarakException) as exc_info: | ||
| list(b.transform(a)) # process yield to see raise | ||
| assert "failed" in str(exc_info.value) |
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
migrate `_load_model` to `_load_unsafe` Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
4a7e63a to
eb67619
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update for transformers major version release.
Verification
List the steps needed to make sure this thing works