Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Transformers 4.48 #5004

Open
cgpeltier opened this issue Jan 27, 2025 · 1 comment
Open

Add support for Transformers 4.48 #5004

cgpeltier opened this issue Jan 27, 2025 · 1 comment
Assignees

Comments

@cgpeltier
Copy link

Describe the feature you'd like
Add support for Transformers >=4.48.0 (which includes ModernBERT) to be used with the HuggingFaceModel class: https://github.com/huggingface/transformers/releases/tag/v4.48.0

How would this feature be used? Please describe.
To be used with the HuggingFaceModel class

Describe alternatives you've considered
Alternatively, newer transformers versions can be used with the regular PyTorch estimator.

@benieric
Copy link
Contributor

benieric commented Feb 1, 2025

Hi @cgpeltier , we recently released support for 4.46.1 - https://github.com/aws/sagemaker-python-sdk/blob/master/src/sagemaker/image_uri_config/huggingface.json#L17

Not sure if this would help unblock you, but alternatively, you can keep an eye on releases of the Deep Learning Containers - https://github.com/aws/deep-learning-containers/blob/master/available_images.md

And directly use the image uris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants