Skip to content

Conversation

@jmartin-tech
Copy link
Collaborator

Update for transformers major version release.

Verification

List the steps needed to make sure this thing works

  • sanity test

Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
@jmartin-tech jmartin-tech force-pushed the task/transformers-5-support branch from de2ea96 to 7cc3c4e Compare January 29, 2026 17:46
huggingface_hub version 1.0 changes the entry point from `huggingface_cli` to `hf`

Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
Copy link
Collaborator

@erickgalinkin erickgalinkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me -- support merging once all tests pass.

Copy link
Collaborator

@leondz leondz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Good luck w/ win.

@jmartin-tech jmartin-tech force-pushed the task/transformers-5-support branch from cafaddf to 6b96d0a Compare January 30, 2026 20:06
Currently the custom generator used fails to load in windows, allow exception to be raised

Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
@jmartin-tech jmartin-tech force-pushed the task/transformers-5-support branch from 6b96d0a to 44e9a86 Compare January 30, 2026 20:08
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)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this test should start to fail if/when Windows reaches a working state for this plugin.

Copy link
Collaborator

@erickgalinkin erickgalinkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants